CRAN Package Check Results for Package batchr

Last updated on 2021-10-05 21:51:09 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.1 3.59 52.69 56.28 NOTE
r-devel-linux-x86_64-debian-gcc 0.0.2 3.07 41.61 44.68 OK
r-devel-linux-x86_64-fedora-clang 0.0.2 77.46 OK
r-devel-linux-x86_64-fedora-gcc 0.0.2 65.25 OK
r-devel-windows-x86_64 0.0.1 8.00 62.00 70.00 NOTE
r-devel-windows-x86_64-gcc10-UCRT 0.0.1 NOTE
r-patched-linux-x86_64 0.0.2 3.96 51.20 55.16 OK
r-patched-solaris-x86 0.0.2 95.90 OK
r-release-linux-x86_64 0.0.1 3.74 50.53 54.27 NOTE
r-release-macos-arm64 0.0.1 NOTE
r-release-macos-x86_64 0.0.2 ERROR
r-release-windows-ix86+x86_64 0.0.2 9.00 85.00 94.00 OK
r-oldrel-macos-x86_64 0.0.2 ERROR
r-oldrel-windows-ix86+x86_64 0.0.2 9.00 84.00 93.00 OK

Check Details

Version: 0.0.1
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-windows-x86_64, r-devel-windows-x86_64-gcc10-UCRT, r-release-linux-x86_64, r-release-macos-arm64

Version: 0.0.2
Check: examples
Result: ERROR
    Running examples in ‘batchr-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: batch_completed
    > ### Title: Batch Completed?
    > ### Aliases: batch_completed
    >
    > ### ** Examples
    >
    > path <- tempdir()
    > write.csv(mtcars, file.path(path, "file1.csv"))
    > batch_config(function(x) TRUE, path, regexp = "[.]csv$")
    Error: Directory '/Volumes/Temp/tmp/RtmpTO8ydy' already contains a '.batchr.rds' file.
    Backtrace:
     █
     1. └─batchr::batch_config(function(x) TRUE, path, regexp = "[.]csv$")
     2. └─chk::err("Directory '", path, "' already contains a '.batchr.rds' file.")
     3. └─rlang::exec(abort, msg, .subclass = .subclass, !!!args[named])
    Execution halted
Flavor: r-release-macos-x86_64

Version: 0.0.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [6s/12s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     names for target but not for current
     Lengths (1, 0) differ (comparison on first 0 components)
     ── Failure (test-status.R:22:3): batch_file_status all processed successfully ──
     status[c("type", "file", "message")] not identical to tibble::tibble(type = "SUCCESS", file = "file1.csv", message = NA_character_).
     Attributes: < Component "row.names": Numeric: lengths (2, 1) differ >
     Component "type": Lengths (2, 1) differ (string compare on first 1)
     Component "file": Lengths (2, 1) differ (string compare on first 1)
     Component "message": Lengths (2, 1) differ (string compare on first 1)
     ── Failure (test-status.R:25:3): batch_file_status all processed successfully ──
     round(as.numeric(status$time)) not identical to 0.
     Lengths differ: 2 is not 1
    
     [ FAIL 31 | WARN 14 | SKIP 1 | PASS 301 ]
     Error: Test failures
     Execution halted
Flavor: r-release-macos-x86_64

Version: 0.0.2
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘batchr.Rmd’ using rmarkdown
    Pandoc is required to build R Markdown vignettes but not available. Please make sure it is installed.
    Quitting from lines 76-77 (batchr.Rmd)
    Error: processing vignette 'batchr.Rmd' failed with diagnostics:
    `x` must be a scalar.
    --- failed re-building ‘batchr.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘batchr.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.0.2
Check: examples
Result: ERROR
    Running examples in ‘batchr-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: batch_completed
    > ### Title: Batch Completed?
    > ### Aliases: batch_completed
    >
    > ### ** Examples
    >
    > path <- tempdir()
    > write.csv(mtcars, file.path(path, "file1.csv"))
    > batch_config(function(x) TRUE, path, regexp = "[.]csv$")
    Error: Directory '/Volumes/Temp/tmp/RtmpXMVzHS' already contains a '.batchr.rds' file.
    Backtrace:
     █
     1. └─batchr::batch_config(function(x) TRUE, path, regexp = "[.]csv$")
     2. └─chk::err("Directory '", path, "' already contains a '.batchr.rds' file.")
     3. └─rlang::exec(abort, msg, .subclass = .subclass, !!!args[named])
    Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 0.0.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [6s/13s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     11. └─hmstimer::tmr_is_started(x)
     12. └─hmstimer:::chk_x(x)
     13. └─hmstimer:::err("`x` must be a scalar.")
     ── Failure (test-run.R:14:3): batch_run ────────────────────────────────────────
     batch_run(path, ask = FALSE) not identical to structure(logical(0), .Names = character(0)).
     names for target but not for current
     Lengths (1, 0) differ (comparison on first 0 components)
     ── Failure (test-run.R:49:3): batch_run returns non-flag ───────────────────────
     batch_run(path, ask = FALSE) not identical to structure(logical(0), .Names = character(0)).
     names for target but not for current
     Lengths (1, 0) differ (comparison on first 0 components)
    
     [ FAIL 29 | WARN 14 | SKIP 1 | PASS 303 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-x86_64