CRAN Package Check Results for Package compstatr

Last updated on 2021-10-31 05:49:31 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 10.03 94.73 104.76 OK
r-devel-linux-x86_64-debian-gcc 0.2.1 7.79 71.64 79.43 OK
r-devel-linux-x86_64-fedora-clang 0.2.1 136.93 OK
r-devel-linux-x86_64-fedora-gcc 0.2.1 124.32 OK
r-devel-windows-x86_64 0.2.1 17.00 121.00 138.00 ERROR
r-devel-windows-x86_64-gcc10-UCRT 0.2.1 ERROR
r-patched-linux-x86_64 0.2.1 11.29 90.12 101.41 OK
r-patched-solaris-x86 0.2.1 184.70 OK
r-release-linux-x86_64 0.2.1 10.54 90.35 100.89 OK
r-release-macos-arm64 0.2.1 OK
r-release-macos-x86_64 0.2.1 OK
r-release-windows-ix86+x86_64 0.2.1 19.00 90.00 109.00 ERROR
r-oldrel-macos-x86_64 0.2.1 OK
r-oldrel-windows-ix86+x86_64 0.2.1 15.00 89.00 104.00 ERROR

Additional issues

donttest

Check Details

Version: 0.2.1
Check: examples
Result: ERROR
    Running examples in 'compstatr-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: cs_load_year
    > ### Title: Create Year List Object
    > ### Aliases: cs_load_year
    >
    > ### ** Examples
    >
    > # create temporary directory
    > tmpdir <- tempdir()
    > fs::dir_create(paste0(tmpdir,"/data/"))
    >
    > # load sample files into temporary directory
    > cs_example(path = paste0(tmpdir,"/data/"))
    >
    > # prep sample files
    > cs_prep_year(path = paste0(tmpdir,"/data/"))
    >
    > # load sample files
    > yearList17 <- cs_load_year(path = paste0(tmpdir,"/data/"))
    >
    > # delete data
    > fs::dir_delete(paste0(tmpdir,"/data/"))
    Error: [EBUSY] Failed to remove 'D:/temp/RtmpsbRgO0/data/april2017.csv': resource busy or locked
    Execution halted
Flavor: r-devel-windows-x86_64

Version: 0.2.1
Check: tests
Result: ERROR
     Running 'testthat.R' [13s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(compstatr)
     >
     > test_check("compstatr")
     == Skipped tests ===============================================================
     * On CRAN (3)
    
     == Failed tests ================================================================
     -- Error (test_load_year.R:55:1): (code run outside of `test_that()`) ----------
     <EBUSY/fs_error/error/condition>
     Error: [EBUSY] Failed to remove 'D:/temp/Rtmpc1T1SW/data/december2017.csv': resource busy or locked
     Backtrace:
     x
     1. \-fs::file_delete(paste0(tmpdir, "/data/december2017.csv")) test_load_year.R:55:0
     -- Failure (test_prep_year.R:21:3): correctly specified functions execute without error --
     `cs_prep_year(path = paste0(tmpdir, "/data/"))` threw an error.
     Message: There are too many files in the specified folder. Edit crime files in yearly batches of 12 monthly files.
     Class: simpleError/error/condition
     Backtrace:
     x
     1. +-testthat::expect_error(...) test_prep_year.R:21:2
     2. | \-testthat:::quasi_capture(...)
     3. | +-testthat:::.capture(...)
     4. | | \-base::withCallingHandlers(...)
     5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. \-compstatr::cs_prep_year(path = paste0(tmpdir, "/data/"))
     -- Failure (test_prep_year.R:35:3): correctly specified functions execute without error --
     `cs_prep_year(path = paste0(tmpdir, "/data/"))` threw an error.
     Message: There are too many files in the specified folder. Edit crime files in yearly batches of 12 monthly files.
     Class: simpleError/error/condition
     Backtrace:
     x
     1. +-testthat::expect_error(...) test_prep_year.R:35:2
     2. | \-testthat:::quasi_capture(...)
     3. | +-testthat:::.capture(...)
     4. | | \-base::withCallingHandlers(...)
     5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. \-compstatr::cs_prep_year(path = paste0(tmpdir, "/data/"))
     -- Error (test_prep_year.R:54:1): (code run outside of `test_that()`) ----------
     Error in `cs_prep_year(path = paste0(tmpdir, "/data/"), verbose = TRUE)`: There are too many files in the specified folder. Edit crime files in yearly batches of 12 monthly files.
     Backtrace:
     x
     1. \-compstatr::cs_prep_year(path = paste0(tmpdir, "/data/"), verbose = TRUE) test_prep_year.R:54:0
    
     [ FAIL 4 | WARN 1 | SKIP 3 | PASS 219 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64

Version: 0.2.1
Check: examples
Result: ERROR
    Running examples in 'compstatr-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: cs_load_year
    > ### Title: Create Year List Object
    > ### Aliases: cs_load_year
    >
    > ### ** Examples
    >
    > # create temporary directory
    > tmpdir <- tempdir()
    > fs::dir_create(paste0(tmpdir,"/data/"))
    >
    > # load sample files into temporary directory
    > cs_example(path = paste0(tmpdir,"/data/"))
    >
    > # prep sample files
    > cs_prep_year(path = paste0(tmpdir,"/data/"))
    >
    > # load sample files
    > yearList17 <- cs_load_year(path = paste0(tmpdir,"/data/"))
    >
    > # delete data
    > fs::dir_delete(paste0(tmpdir,"/data/"))
    Error: [EBUSY] Failed to remove 'C:/r_packages/pkgcheck/CRAN/compstatr/tmp/RtmpoxsKfR/data/april2017.csv': resource busy or locked
    Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 0.2.1
Check: tests
Result: ERROR
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(compstatr)
     >
     > test_check("compstatr")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (3)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test_load_year.R:55:1): (code run outside of `test_that()`) ──────────
     <EBUSY/fs_error/error/condition>
     Error: [EBUSY] Failed to remove 'C:/r_packages/pkgcheck/CRAN/compstatr/tmp/RtmpATj8TK/data/december2017.csv': resource busy or locked
     Backtrace:
     █
     1. └─fs::file_delete(paste0(tmpdir, "/data/december2017.csv")) test_load_year.R:55:0
    
     [ FAIL 1 | WARN 1 | SKIP 3 | PASS 225 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 0.2.1
Check: examples
Result: ERROR
    Running examples in 'compstatr-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: cs_load_year
    > ### Title: Create Year List Object
    > ### Aliases: cs_load_year
    >
    > ### ** Examples
    >
    > # create temporary directory
    > tmpdir <- tempdir()
    > fs::dir_create(paste0(tmpdir,"/data/"))
    >
    > # load sample files into temporary directory
    > cs_example(path = paste0(tmpdir,"/data/"))
    >
    > # prep sample files
    > cs_prep_year(path = paste0(tmpdir,"/data/"))
    >
    > # load sample files
    > yearList17 <- cs_load_year(path = paste0(tmpdir,"/data/"))
    >
    > # delete data
    > fs::dir_delete(paste0(tmpdir,"/data/"))
    Error: [EBUSY] Failed to remove 'D:/temp/RtmpaWOPzf/data/april2017.csv': resource busy or locked
    Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.2.1
Check: tests
Result: ERROR
     Running 'testthat.R' [11s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(compstatr)
     >
     > test_check("compstatr")
     == Skipped tests ===============================================================
     * On CRAN (3)
    
     == Failed tests ================================================================
     -- Error (test_load_year.R:55:1): (code run outside of `test_that()`) ----------
     <EBUSY/fs_error/error/condition>
     Error: [EBUSY] Failed to remove 'D:/temp/RtmpCi4tXm/data/december2017.csv': resource busy or locked
     Backtrace:
     x
     1. \-fs::file_delete(paste0(tmpdir, "/data/december2017.csv")) test_load_year.R:55:0
     -- Failure (test_prep_year.R:21:3): correctly specified functions execute without error --
     `cs_prep_year(path = paste0(tmpdir, "/data/"))` threw an error.
     Message: There are too many files in the specified folder. Edit crime files in yearly batches of 12 monthly files.
     Class: simpleError/error/condition
     Backtrace:
     x
     1. +-testthat::expect_error(...) test_prep_year.R:21:2
     2. | \-testthat:::quasi_capture(...)
     3. | +-testthat:::.capture(...)
     4. | | \-base::withCallingHandlers(...)
     5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. \-compstatr::cs_prep_year(path = paste0(tmpdir, "/data/"))
     -- Failure (test_prep_year.R:35:3): correctly specified functions execute without error --
     `cs_prep_year(path = paste0(tmpdir, "/data/"))` threw an error.
     Message: There are too many files in the specified folder. Edit crime files in yearly batches of 12 monthly files.
     Class: simpleError/error/condition
     Backtrace:
     x
     1. +-testthat::expect_error(...) test_prep_year.R:35:2
     2. | \-testthat:::quasi_capture(...)
     3. | +-testthat:::.capture(...)
     4. | | \-base::withCallingHandlers(...)
     5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. \-compstatr::cs_prep_year(path = paste0(tmpdir, "/data/"))
     -- Error (test_prep_year.R:54:1): (code run outside of `test_that()`) ----------
     Error in `cs_prep_year(path = paste0(tmpdir, "/data/"), verbose = TRUE)`: There are too many files in the specified folder. Edit crime files in yearly batches of 12 monthly files.
     Backtrace:
     x
     1. \-compstatr::cs_prep_year(path = paste0(tmpdir, "/data/"), verbose = TRUE) test_prep_year.R:54:0
    
     [ FAIL 4 | WARN 1 | SKIP 3 | PASS 219 ]
     Error: Test failures
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.2.1
Check: examples
Result: ERROR
    Running examples in 'compstatr-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: cs_load_year
    > ### Title: Create Year List Object
    > ### Aliases: cs_load_year
    >
    > ### ** Examples
    >
    > # create temporary directory
    > tmpdir <- tempdir()
    > fs::dir_create(paste0(tmpdir,"/data/"))
    >
    > # load sample files into temporary directory
    > cs_example(path = paste0(tmpdir,"/data/"))
    >
    > # prep sample files
    > cs_prep_year(path = paste0(tmpdir,"/data/"))
    >
    > # load sample files
    > yearList17 <- cs_load_year(path = paste0(tmpdir,"/data/"))
    >
    > # delete data
    > fs::dir_delete(paste0(tmpdir,"/data/"))
    Error: [EBUSY] Failed to remove 'D:/temp/RtmpsVq0sK/data/april2017.csv': resource busy or locked
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.2.1
Check: tests
Result: ERROR
     Running 'testthat.R' [10s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(compstatr)
     >
     > test_check("compstatr")
     == Skipped tests ===============================================================
     * On CRAN (3)
    
     == Failed tests ================================================================
     -- Error (test_load_year.R:55:1): (code run outside of `test_that()`) ----------
     <EBUSY/fs_error/error/condition>
     Error: [EBUSY] Failed to remove 'D:/temp/RtmpyiyXET/data/december2017.csv': resource busy or locked
     Backtrace:
     x
     1. \-fs::file_delete(paste0(tmpdir, "/data/december2017.csv")) test_load_year.R:55:0
     -- Failure (test_prep_year.R:21:3): correctly specified functions execute without error --
     `cs_prep_year(path = paste0(tmpdir, "/data/"))` threw an error.
     Message: There are too many files in the specified folder. Edit crime files in yearly batches of 12 monthly files.
     Class: simpleError/error/condition
     Backtrace:
     x
     1. +-testthat::expect_error(...) test_prep_year.R:21:2
     2. | \-testthat:::quasi_capture(...)
     3. | +-testthat:::.capture(...)
     4. | | \-base::withCallingHandlers(...)
     5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. \-compstatr::cs_prep_year(path = paste0(tmpdir, "/data/"))
     -- Failure (test_prep_year.R:35:3): correctly specified functions execute without error --
     `cs_prep_year(path = paste0(tmpdir, "/data/"))` threw an error.
     Message: There are too many files in the specified folder. Edit crime files in yearly batches of 12 monthly files.
     Class: simpleError/error/condition
     Backtrace:
     x
     1. +-testthat::expect_error(...) test_prep_year.R:35:2
     2. | \-testthat:::quasi_capture(...)
     3. | +-testthat:::.capture(...)
     4. | | \-base::withCallingHandlers(...)
     5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. \-compstatr::cs_prep_year(path = paste0(tmpdir, "/data/"))
     -- Error (test_prep_year.R:54:1): (code run outside of `test_that()`) ----------
     Error in `cs_prep_year(path = paste0(tmpdir, "/data/"), verbose = TRUE)`: There are too many files in the specified folder. Edit crime files in yearly batches of 12 monthly files.
     Backtrace:
     x
     1. \-compstatr::cs_prep_year(path = paste0(tmpdir, "/data/"), verbose = TRUE) test_prep_year.R:54:0
    
     [ FAIL 4 | WARN 1 | SKIP 3 | PASS 219 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64