CRAN Package Check Results for Package vprr

Last updated on 2021-11-29 06:48:47 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 12.86 85.27 98.13 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 171.89 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.0 152.07 NOTE
r-devel-windows-x86_64-new-UL 0.1.0 41.00 156.00 197.00 NOTE
r-devel-windows-x86_64-new-TK 0.1.0 NOTE
r-devel-windows-x86_64-old 0.1.0 26.00 136.00 162.00 NOTE
r-patched-linux-x86_64 0.1.0 27.25 104.03 131.28 OK
r-patched-solaris-x86 0.1.0 223.10 NOTE
r-release-linux-x86_64 0.1.0 15.48 104.85 120.33 OK
r-release-macos-arm64 0.1.0 NOTE
r-release-macos-x86_64 0.1.0 NOTE
r-release-windows-ix86+x86_64 0.1.0 37.00 102.00 139.00 NOTE
r-oldrel-macos-x86_64 0.1.0 NOTE
r-oldrel-windows-ix86+x86_64 0.1.0 39.00 127.00 166.00 ERROR

Check Details

Version: 0.1.0
Check: installed package size
Result: NOTE
     installed size is 9.4Mb
     sub-directories of 1Mb or more:
     extdata 8.6Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64-new-UL, r-devel-windows-x86_64-old, r-patched-solaris-x86, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.1.0
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘usethis’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-new-TK, r-patched-solaris-x86, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [7s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(vprr)
     >
     > test_check("vprr")
     == Failed tests ================================================================
     -- Error (test_read_files.R:26:3): CTD files are read in accurately ------------
     Error in `data.frame(ctd_dat_tmp, day = day_id, hour = hour_id, station = station_id,
     stringsAsFactors = FALSE)`: arguments imply differing number of rows: 18351, 2, 1
     Backtrace:
     x
     1. +-testthat::expect_warning(...) test_read_files.R:26:2
     2. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings)
     3. | +-testthat:::.capture(...)
     4. | | \-base::withCallingHandlers(...)
     5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. \-vprr::vpr_ctd_read(ctd_files, station_of_interest)
     7. \-base::data.frame(...)
     -- Error (test_read_files.R:69:3): VPR autoid files are read in accurately -----
     Error in ``$<-.data.frame`(`*tmp*`, "day_hour", value = c("d720.h03", "d222.h03"
     ))`: replacement has 2 rows, data has 517
     Backtrace:
     x
     1. +-testthat::expect_silent(...) test_read_files.R:69:2
     2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
     3. | +-testthat:::.capture(...)
     4. | | +-withr::with_output_sink(...)
     5. | | | \-base::force(code)
     6. | | +-base::withCallingHandlers(...)
     7. | | \-base::withVisible(code)
     8. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     9. \-vprr::vpr_autoid_read(...)
     10. +-base::`$<-`(...)
     11. \-base::`$<-.data.frame`(...)
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 20 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64