CRAN Package Check Results for Package opensensmapr

Last updated on 2018-12-24 10:52:51 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.0 1.96 28.88 30.84 ERROR
r-devel-linux-x86_64-debian-gcc 0.5.0 1.54 23.67 25.21 ERROR
r-devel-linux-x86_64-fedora-clang 0.5.0 36.07 ERROR
r-devel-linux-x86_64-fedora-gcc 0.5.0 34.20 ERROR
r-devel-windows-ix86+x86_64 0.5.0 4.00 70.00 74.00 ERROR
r-patched-linux-x86_64 0.5.0 1.79 27.28 29.07 ERROR
r-patched-solaris-x86 0.5.0 53.10 ERROR
r-release-linux-x86_64 0.5.0 1.80 27.66 29.46 ERROR
r-release-windows-ix86+x86_64 0.5.0 7.00 72.00 79.00 ERROR
r-release-osx-x86_64 0.5.0 OK
r-oldrel-windows-ix86+x86_64 0.5.0 4.00 65.00 69.00 ERROR
r-oldrel-osx-x86_64 0.5.0 OK

Check Details

Version: 0.5.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [3s/13s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library('testthat')
     > library('opensensmapr')
     >
     > test_check('opensensmapr')
     Error : $ operator is invalid for atomic vectors
     ── 1. Error: osem_box_to_archive_name works for one box (@test_archive.R#23) ──
     object of type 'closure' is not subsettable
     1: opensensmapr:::osem_box_to_archivename(box) at testthat/test_archive.R:23
     2: gsub("[^A-Za-z0-9._-]", "_", box$name)
    
     ── 2. Error: osem_box_to_archive_name works for multiple boxes (@test_archive.R#
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", base::quote(eval(code, test_env))) at testthat/test_archive.R:29
     2: eval(code, test_env)
    
     ── 3. Error: osem_measurements_archive works for one box (@test_archive.R#41) ─
     not implemented for class function
     1: osem_measurements_archive(box, as.POSIXlt("2018-08-08")) at testthat/test_archive.R:41
     2: osem_measurements_archive.default(box, as.POSIXlt("2018-08-08"))
     3: stop(paste("not implemented for class", toString(class(x))))
    
     ── 4. Error: osem_measurements_archive fails for multiple boxes (@test_archive.R
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", base::quote(eval(code, test_env))) at testthat/test_archive.R:47
     2: eval(code, test_env)
    
     Error : $ operator is invalid for atomic vectors
     ── 5. Error: summary.sensebox outputs all metrics for a single box (@test_box.R#
     object of type 'closure' is not subsettable
     1: capture.output({
     summary(box)
     }) at testthat/test_box.R:42
     2: evalVis(expr)
     3: withVisible(eval(expr, pf))
     4: eval(expr, pf)
     5: eval(expr, pf)
     6: summary(box)
     7: summary.default(box)
    
     Error : $ operator is invalid for atomic vectors
     ── 6. Failure: data.frame can be converted to measurements data.frame (@test_mea
     class(df) not equal to class(m).
     Lengths differ: 4 is not 5
    
     Error : $ operator is invalid for atomic vectors
     ── 7. Error: phenomena from a not sensebox data.frame returns error (@test_pheno
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", base::quote(eval(code, test_env))) at testthat/test_phenomena.R:30
     2: eval(code, test_env)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 9 SKIPPED: 35 FAILED: 7
     1. Error: osem_box_to_archive_name works for one box (@test_archive.R#23)
     2. Error: osem_box_to_archive_name works for multiple boxes (@test_archive.R#29)
     3. Error: osem_measurements_archive works for one box (@test_archive.R#41)
     4. Error: osem_measurements_archive fails for multiple boxes (@test_archive.R#47)
     5. Error: summary.sensebox outputs all metrics for a single box (@test_box.R#42)
     6. Failure: data.frame can be converted to measurements data.frame (@test_measurements.R#128)
     7. Error: phenomena from a not sensebox data.frame returns error (@test_phenomena.R#30)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.5.0
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    
    Attaching package: 'lubridate'
    
    The following object is masked from 'package:base':
    
     date
    
    
    Attaching package: 'zoo'
    
    The following objects are masked from 'package:base':
    
     as.Date, as.Date.numeric
    
    Quitting from lines 44-47 (osem-history.Rmd)
    Error: processing vignette ‘osem-history.Rmd’ failed with diagnostics:
    $ operator is invalid for atomic vectors
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.5.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/14s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library('testthat')
     > library('opensensmapr')
     >
     > test_check('opensensmapr')
     Error : $ operator is invalid for atomic vectors
     ── 1. Error: osem_box_to_archive_name works for one box (@test_archive.R#23) ──
     object of type 'closure' is not subsettable
     1: opensensmapr:::osem_box_to_archivename(box) at testthat/test_archive.R:23
     2: gsub("[^A-Za-z0-9._-]", "_", box$name)
    
     ── 2. Error: osem_box_to_archive_name works for multiple boxes (@test_archive.R#
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", base::quote(eval(code, test_env))) at testthat/test_archive.R:29
     2: eval(code, test_env)
    
     ── 3. Error: osem_measurements_archive works for one box (@test_archive.R#41) ─
     not implemented for class function
     1: osem_measurements_archive(box, as.POSIXlt("2018-08-08")) at testthat/test_archive.R:41
     2: osem_measurements_archive.default(box, as.POSIXlt("2018-08-08"))
     3: stop(paste("not implemented for class", toString(class(x))))
    
     ── 4. Error: osem_measurements_archive fails for multiple boxes (@test_archive.R
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", base::quote(eval(code, test_env))) at testthat/test_archive.R:47
     2: eval(code, test_env)
    
     Error : $ operator is invalid for atomic vectors
     ── 5. Error: summary.sensebox outputs all metrics for a single box (@test_box.R#
     object of type 'closure' is not subsettable
     1: capture.output({
     summary(box)
     }) at testthat/test_box.R:42
     2: evalVis(expr)
     3: withVisible(eval(expr, pf))
     4: eval(expr, pf)
     5: eval(expr, pf)
     6: summary(box)
     7: summary.default(box)
    
     Error : $ operator is invalid for atomic vectors
     ── 6. Failure: data.frame can be converted to measurements data.frame (@test_mea
     class(df) not equal to class(m).
     Lengths differ: 4 is not 5
    
     Error : $ operator is invalid for atomic vectors
     ── 7. Error: phenomena from a not sensebox data.frame returns error (@test_pheno
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", base::quote(eval(code, test_env))) at testthat/test_phenomena.R:30
     2: eval(code, test_env)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 9 SKIPPED: 35 FAILED: 7
     1. Error: osem_box_to_archive_name works for one box (@test_archive.R#23)
     2. Error: osem_box_to_archive_name works for multiple boxes (@test_archive.R#29)
     3. Error: osem_measurements_archive works for one box (@test_archive.R#41)
     4. Error: osem_measurements_archive fails for multiple boxes (@test_archive.R#47)
     5. Error: summary.sensebox outputs all metrics for a single box (@test_box.R#42)
     6. Failure: data.frame can be converted to measurements data.frame (@test_measurements.R#128)
     7. Error: phenomena from a not sensebox data.frame returns error (@test_phenomena.R#30)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.5.0
Check: tests
Result: ERROR
     Running 'testthat.R' [16s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library('testthat')
     > library('opensensmapr')
     >
     > test_check('opensensmapr')
     Error : $ operator is invalid for atomic vectors
     -- 1. Error: osem_box_to_archive_name works for one box (@test_archive.R#23) --
     object of type 'closure' is not subsettable
     1: opensensmapr:::osem_box_to_archivename(box) at testthat/test_archive.R:23
     2: gsub("[^A-Za-z0-9._-]", "_", box$name)
    
     -- 2. Error: osem_box_to_archive_name works for multiple boxes (@test_archive.R#
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", base::quote(eval(code, test_env))) at testthat/test_archive.R:29
     2: eval(code, test_env)
    
     -- 3. Error: osem_measurements_archive works for one box (@test_archive.R#41) -
     not implemented for class function
     1: osem_measurements_archive(box, as.POSIXlt("2018-08-08")) at testthat/test_archive.R:41
     2: osem_measurements_archive.default(box, as.POSIXlt("2018-08-08"))
     3: stop(paste("not implemented for class", toString(class(x))))
    
     -- 4. Error: osem_measurements_archive fails for multiple boxes (@test_archive.R
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", base::quote(eval(code, test_env))) at testthat/test_archive.R:47
     2: eval(code, test_env)
    
     Error : $ operator is invalid for atomic vectors
     -- 5. Error: summary.sensebox outputs all metrics for a single box (@test_box.R#
     object of type 'closure' is not subsettable
     1: capture.output({
     summary(box)
     }) at testthat/test_box.R:42
     2: evalVis(expr)
     3: withVisible(eval(expr, pf))
     4: eval(expr, pf)
     5: eval(expr, pf)
     6: summary(box)
     7: summary.default(box)
    
     Error : $ operator is invalid for atomic vectors
     -- 6. Failure: data.frame can be converted to measurements data.frame (@test_mea
     class(df) not equal to class(m).
     Lengths differ: 4 is not 5
    
     Error : $ operator is invalid for atomic vectors
     -- 7. Error: phenomena from a not sensebox data.frame returns error (@test_pheno
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", base::quote(eval(code, test_env))) at testthat/test_phenomena.R:30
     2: eval(code, test_env)
    
     == testthat results ===========================================================
     OK: 9 SKIPPED: 35 FAILED: 7
     1. Error: osem_box_to_archive_name works for one box (@test_archive.R#23)
     2. Error: osem_box_to_archive_name works for multiple boxes (@test_archive.R#29)
     3. Error: osem_measurements_archive works for one box (@test_archive.R#41)
     4. Error: osem_measurements_archive fails for multiple boxes (@test_archive.R#47)
     5. Error: summary.sensebox outputs all metrics for a single box (@test_box.R#42)
     6. Failure: data.frame can be converted to measurements data.frame (@test_measurements.R#128)
     7. Error: phenomena from a not sensebox data.frame returns error (@test_phenomena.R#30)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.5.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [3s/15s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library('testthat')
     > library('opensensmapr')
     >
     > test_check('opensensmapr')
     Error : $ operator is invalid for atomic vectors
     ── 1. Error: osem_box_to_archive_name works for one box (@test_archive.R#23) ──
     object of type 'closure' is not subsettable
     1: opensensmapr:::osem_box_to_archivename(box) at testthat/test_archive.R:23
     2: gsub("[^A-Za-z0-9._-]", "_", box$name)
    
     ── 2. Error: osem_box_to_archive_name works for multiple boxes (@test_archive.R#
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", quote(eval(code, test_env))) at testthat/test_archive.R:29
     2: eval(code, test_env)
    
     ── 3. Error: osem_measurements_archive works for one box (@test_archive.R#41) ─
     not implemented for class function
     1: osem_measurements_archive(box, as.POSIXlt("2018-08-08")) at testthat/test_archive.R:41
     2: osem_measurements_archive.default(box, as.POSIXlt("2018-08-08"))
     3: stop(paste("not implemented for class", toString(class(x))))
    
     ── 4. Error: osem_measurements_archive fails for multiple boxes (@test_archive.R
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", quote(eval(code, test_env))) at testthat/test_archive.R:47
     2: eval(code, test_env)
    
     Error : $ operator is invalid for atomic vectors
     ── 5. Error: summary.sensebox outputs all metrics for a single box (@test_box.R#
     object of type 'closure' is not subsettable
     1: capture.output({
     summary(box)
     }) at testthat/test_box.R:42
     2: evalVis(expr)
     3: withVisible(eval(expr, pf))
     4: eval(expr, pf)
     5: eval(expr, pf)
     6: summary(box)
     7: summary.default(box)
    
     Error : $ operator is invalid for atomic vectors
     ── 6. Failure: data.frame can be converted to measurements data.frame (@test_mea
     class(df) not equal to class(m).
     Lengths differ: 4 is not 5
    
     Error : $ operator is invalid for atomic vectors
     ── 7. Error: phenomena from a not sensebox data.frame returns error (@test_pheno
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", quote(eval(code, test_env))) at testthat/test_phenomena.R:30
     2: eval(code, test_env)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 9 SKIPPED: 35 FAILED: 7
     1. Error: osem_box_to_archive_name works for one box (@test_archive.R#23)
     2. Error: osem_box_to_archive_name works for multiple boxes (@test_archive.R#29)
     3. Error: osem_measurements_archive works for one box (@test_archive.R#41)
     4. Error: osem_measurements_archive fails for multiple boxes (@test_archive.R#47)
     5. Error: summary.sensebox outputs all metrics for a single box (@test_box.R#42)
     6. Failure: data.frame can be converted to measurements data.frame (@test_measurements.R#128)
     7. Error: phenomena from a not sensebox data.frame returns error (@test_phenomena.R#30)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.5.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [5s/21s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library('testthat')
     > library('opensensmapr')
     >
     > test_check('opensensmapr')
     Error : $ operator is invalid for atomic vectors
     ── 1. Error: osem_box_to_archive_name works for one box (@test_archive.R#23) ──
     object of type 'closure' is not subsettable
     1: opensensmapr:::osem_box_to_archivename(box) at testthat/test_archive.R:23
     2: gsub("[^A-Za-z0-9._-]", "_", box$name)
    
     ── 2. Error: osem_box_to_archive_name works for multiple boxes (@test_archive.R#
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", quote(eval(code, test_env))) at testthat/test_archive.R:29
     2: eval(code, test_env)
    
     ── 3. Error: osem_measurements_archive works for one box (@test_archive.R#41) ─
     not implemented for class function
     1: osem_measurements_archive(box, as.POSIXlt("2018-08-08")) at testthat/test_archive.R:41
     2: osem_measurements_archive.default(box, as.POSIXlt("2018-08-08"))
     3: stop(paste("not implemented for class", toString(class(x))))
    
     ── 4. Error: osem_measurements_archive fails for multiple boxes (@test_archive.R
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", quote(eval(code, test_env))) at testthat/test_archive.R:47
     2: eval(code, test_env)
    
     Error : $ operator is invalid for atomic vectors
     ── 5. Error: summary.sensebox outputs all metrics for a single box (@test_box.R#
     object of type 'closure' is not subsettable
     1: capture.output({
     summary(box)
     }) at testthat/test_box.R:42
     2: evalVis(expr)
     3: withVisible(eval(expr, pf))
     4: eval(expr, pf)
     5: eval(expr, pf)
     6: summary(box)
     7: summary.default(box)
    
     Error : $ operator is invalid for atomic vectors
     ── 6. Failure: data.frame can be converted to measurements data.frame (@test_mea
     class(df) not equal to class(m).
     Lengths differ: 4 is not 5
    
     Error : $ operator is invalid for atomic vectors
     ── 7. Error: phenomena from a not sensebox data.frame returns error (@test_pheno
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", quote(eval(code, test_env))) at testthat/test_phenomena.R:30
     2: eval(code, test_env)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 9 SKIPPED: 35 FAILED: 7
     1. Error: osem_box_to_archive_name works for one box (@test_archive.R#23)
     2. Error: osem_box_to_archive_name works for multiple boxes (@test_archive.R#29)
     3. Error: osem_measurements_archive works for one box (@test_archive.R#41)
     4. Error: osem_measurements_archive fails for multiple boxes (@test_archive.R#47)
     5. Error: summary.sensebox outputs all metrics for a single box (@test_box.R#42)
     6. Failure: data.frame can be converted to measurements data.frame (@test_measurements.R#128)
     7. Error: phenomena from a not sensebox data.frame returns error (@test_phenomena.R#30)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.5.0
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    
    Attaching package: 'lubridate'
    
    The following object is masked from 'package:base':
    
     date
    
    
    Attaching package: 'zoo'
    
    The following objects are masked from 'package:base':
    
     as.Date, as.Date.numeric
    
    Quitting from lines 44-47 (osem-history.Rmd)
    Error: processing vignette 'osem-history.Rmd' failed with diagnostics:
    $ operator is invalid for atomic vectors
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.5.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [3s/13s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library('testthat')
     > library('opensensmapr')
     >
     > test_check('opensensmapr')
     Error : $ operator is invalid for atomic vectors
     ── 1. Error: osem_box_to_archive_name works for one box (@test_archive.R#23) ──
     object of type 'closure' is not subsettable
     1: opensensmapr:::osem_box_to_archivename(box) at testthat/test_archive.R:23
     2: gsub("[^A-Za-z0-9._-]", "_", box$name)
    
     ── 2. Error: osem_box_to_archive_name works for multiple boxes (@test_archive.R#
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", quote(eval(code, test_env))) at testthat/test_archive.R:29
     2: eval(code, test_env)
    
     ── 3. Error: osem_measurements_archive works for one box (@test_archive.R#41) ─
     not implemented for class function
     1: osem_measurements_archive(box, as.POSIXlt("2018-08-08")) at testthat/test_archive.R:41
     2: osem_measurements_archive.default(box, as.POSIXlt("2018-08-08"))
     3: stop(paste("not implemented for class", toString(class(x))))
    
     ── 4. Error: osem_measurements_archive fails for multiple boxes (@test_archive.R
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", quote(eval(code, test_env))) at testthat/test_archive.R:47
     2: eval(code, test_env)
    
     Error : $ operator is invalid for atomic vectors
     ── 5. Error: summary.sensebox outputs all metrics for a single box (@test_box.R#
     object of type 'closure' is not subsettable
     1: capture.output({
     summary(box)
     }) at testthat/test_box.R:42
     2: evalVis(expr)
     3: withVisible(eval(expr, pf))
     4: eval(expr, pf)
     5: eval(expr, pf)
     6: summary(box)
     7: summary.default(box)
    
     Error : $ operator is invalid for atomic vectors
     ── 6. Failure: data.frame can be converted to measurements data.frame (@test_mea
     class(df) not equal to class(m).
     Lengths differ: 4 is not 5
    
     Error : $ operator is invalid for atomic vectors
     ── 7. Error: phenomena from a not sensebox data.frame returns error (@test_pheno
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", quote(eval(code, test_env))) at testthat/test_phenomena.R:30
     2: eval(code, test_env)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 9 SKIPPED: 35 FAILED: 7
     1. Error: osem_box_to_archive_name works for one box (@test_archive.R#23)
     2. Error: osem_box_to_archive_name works for multiple boxes (@test_archive.R#29)
     3. Error: osem_measurements_archive works for one box (@test_archive.R#41)
     4. Error: osem_measurements_archive fails for multiple boxes (@test_archive.R#47)
     5. Error: summary.sensebox outputs all metrics for a single box (@test_box.R#42)
     6. Failure: data.frame can be converted to measurements data.frame (@test_measurements.R#128)
     7. Error: phenomena from a not sensebox data.frame returns error (@test_phenomena.R#30)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64

Version: 0.5.0
Check: tests
Result: ERROR
     Running 'testthat.R' [15s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library('testthat')
     > library('opensensmapr')
     >
     > test_check('opensensmapr')
     Error : $ operator is invalid for atomic vectors
     -- 1. Error: osem_box_to_archive_name works for one box (@test_archive.R#23) --
     object of type 'closure' is not subsettable
     1: opensensmapr:::osem_box_to_archivename(box) at testthat/test_archive.R:23
     2: gsub("[^A-Za-z0-9._-]", "_", box$name)
    
     -- 2. Error: osem_box_to_archive_name works for multiple boxes (@test_archive.R#
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", quote(eval(code, test_env))) at testthat/test_archive.R:29
     2: eval(code, test_env)
    
     -- 3. Error: osem_measurements_archive works for one box (@test_archive.R#41) -
     not implemented for class function
     1: osem_measurements_archive(box, as.POSIXlt("2018-08-08")) at testthat/test_archive.R:41
     2: osem_measurements_archive.default(box, as.POSIXlt("2018-08-08"))
     3: stop(paste("not implemented for class", toString(class(x))))
    
     -- 4. Error: osem_measurements_archive fails for multiple boxes (@test_archive.R
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", quote(eval(code, test_env))) at testthat/test_archive.R:47
     2: eval(code, test_env)
    
     Error : $ operator is invalid for atomic vectors
     -- 5. Error: summary.sensebox outputs all metrics for a single box (@test_box.R#
     object of type 'closure' is not subsettable
     1: capture.output({
     summary(box)
     }) at testthat/test_box.R:42
     2: evalVis(expr)
     3: withVisible(eval(expr, pf))
     4: eval(expr, pf)
     5: eval(expr, pf)
     6: summary(box)
     7: summary.default(box)
    
     Error : $ operator is invalid for atomic vectors
     -- 6. Failure: data.frame can be converted to measurements data.frame (@test_mea
     class(df) not equal to class(m).
     Lengths differ: 4 is not 5
    
     Error : $ operator is invalid for atomic vectors
     -- 7. Error: phenomena from a not sensebox data.frame returns error (@test_pheno
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", quote(eval(code, test_env))) at testthat/test_phenomena.R:30
     2: eval(code, test_env)
    
     == testthat results ===========================================================
     OK: 9 SKIPPED: 35 FAILED: 7
     1. Error: osem_box_to_archive_name works for one box (@test_archive.R#23)
     2. Error: osem_box_to_archive_name works for multiple boxes (@test_archive.R#29)
     3. Error: osem_measurements_archive works for one box (@test_archive.R#41)
     4. Error: osem_measurements_archive fails for multiple boxes (@test_archive.R#47)
     5. Error: summary.sensebox outputs all metrics for a single box (@test_box.R#42)
     6. Failure: data.frame can be converted to measurements data.frame (@test_measurements.R#128)
     7. Error: phenomena from a not sensebox data.frame returns error (@test_phenomena.R#30)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.5.0
Check: tests
Result: ERROR
     Running 'testthat.R' [16s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library('testthat')
     > library('opensensmapr')
     >
     > test_check('opensensmapr')
     Error in s$lastMeasurement$createdAt :
     $ operator is invalid for atomic vectors
     -- 1. Error: osem_box_to_archive_name works for one box (@test_archive.R#23) --
     object of type 'closure' is not subsettable
     1: opensensmapr:::osem_box_to_archivename(box) at testthat/test_archive.R:23
     2: gsub("[^A-Za-z0-9._-]", "_", box$name)
    
     -- 2. Error: osem_box_to_archive_name works for multiple boxes (@test_archive.R#
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", quote(eval(code, test_env))) at testthat/test_archive.R:29
     2: eval(code, test_env)
    
     -- 3. Error: osem_measurements_archive works for one box (@test_archive.R#41) -
     not implemented for class function
     1: osem_measurements_archive(box, as.POSIXlt("2018-08-08")) at testthat/test_archive.R:41
     2: osem_measurements_archive.default(box, as.POSIXlt("2018-08-08"))
     3: stop(paste("not implemented for class", toString(class(x))))
    
     -- 4. Error: osem_measurements_archive fails for multiple boxes (@test_archive.R
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", quote(eval(code, test_env))) at testthat/test_archive.R:47
     2: eval(code, test_env)
    
     Error : $ operator is invalid for atomic vectors
     -- 5. Error: summary.sensebox outputs all metrics for a single box (@test_box.R#
     object of type 'closure' is not subsettable
     1: capture.output({
     summary(box)
     }) at testthat/test_box.R:42
     2: evalVis(expr)
     3: withVisible(eval(expr, pf))
     4: eval(expr, pf)
     5: eval(expr, pf)
     6: summary(box)
     7: summary.default(box)
    
     Error : $ operator is invalid for atomic vectors
     -- 6. Failure: data.frame can be converted to measurements data.frame (@test_mea
     class(df) not equal to class(m).
     Lengths differ: 4 is not 5
    
     Error : $ operator is invalid for atomic vectors
     -- 7. Error: phenomena from a not sensebox data.frame returns error (@test_pheno
     object 'boxes' not found
     1: .handleSimpleError(function (e)
     {
     handled <<- TRUE
     test_error <<- e
     options(expressions = expressions_opt_new)
     on.exit(options(expressions = expressions_opt), add = TRUE)
     e$expectation_calls <- frame_calls(11, 2)
     test_error <<- e
     register_expectation(e)
     e$handled <- TRUE
     test_error <<- e
     }, "object 'boxes' not found", quote(eval(code, test_env))) at testthat/test_phenomena.R:30
     2: eval(code, test_env)
    
     == testthat results ===========================================================
     OK: 9 SKIPPED: 35 FAILED: 7
     1. Error: osem_box_to_archive_name works for one box (@test_archive.R#23)
     2. Error: osem_box_to_archive_name works for multiple boxes (@test_archive.R#29)
     3. Error: osem_measurements_archive works for one box (@test_archive.R#41)
     4. Error: osem_measurements_archive fails for multiple boxes (@test_archive.R#47)
     5. Error: summary.sensebox outputs all metrics for a single box (@test_box.R#42)
     6. Failure: data.frame can be converted to measurements data.frame (@test_measurements.R#128)
     7. Error: phenomena from a not sensebox data.frame returns error (@test_phenomena.R#30)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64