CRAN Package Check Results for Package vprr

Last updated on 2021-07-27 09:53:44 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 16.36 112.24 128.60 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 14.16 85.93 100.09 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 165.22 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.0 151.54 NOTE
r-devel-windows-x86_64 0.1.0 28.00 128.00 156.00 ERROR
r-devel-windows-x86_64-gcc10-UCRT 0.1.0 NOTE
r-patched-linux-x86_64 0.1.0 22.23 107.24 129.47 OK
r-patched-solaris-x86 0.1.0 223.40 NOTE
r-release-linux-x86_64 0.1.0 15.18 107.37 122.55 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 36.00 109.00 145.00 ERROR
r-oldrel-macos-x86_64 0.1.0 NOTE
r-oldrel-windows-ix86+x86_64 0.1.0 42.00 134.00 176.00 NOTE

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, 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-gcc10-UCRT, 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: 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: 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-devel-windows-x86_64

Version: 0.1.0
Check: examples
Result: ERROR
    Running examples in 'vprr-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: vpr_autoid_read
    > ### Title: Read VPR aid files
    > ### Aliases: vpr_autoid_read
    >
    > ### ** Examples
    >
    >
    > station_of_interest <- 'test'
    > dayhour <- c('d222.h03', 'd222.h04')
    >
    > #' #VPR OPTICAL SETTING (S0, S1, S2 OR S3)
    > opticalSetting <- "S2"
    > imageVolume <- 83663 #mm^3
    >
    > auto_id_folder <- system.file('extdata/COR2019002/autoid/', package = 'vprr', mustWork = TRUE)
    > auto_id_path <- list.files(paste0(auto_id_folder, "/"), full.names = TRUE)
    >
    > #' # Path to aid for each taxa
    > aid_path <- paste0(auto_id_path, '/aid/')
    > # Path to mea for each taxa
    > aidmea_path <- paste0(auto_id_path, '/aidmea/')
    >
    > # AUTO ID FILES
    > aid_file_list <- list()
    > aidmea_file_list <- list()
    > for (i in 1:length(dayhour)) {
    + aid_file_list[[i]] <-
    + list.files(aid_path, pattern = dayhour[[i]], full.names = TRUE)
    + # SIZE DATA FILES
    + aidmea_file_list[[i]] <-
    + list.files(aidmea_path, pattern = dayhour[[i]], full.names = TRUE)
    + }
    >
    > aid_file_list_all <- unlist(aid_file_list)
    > aidmea_file_list_all <- unlist(aidmea_file_list)
    >
    > # ROIs
    > roi_dat_combine <-
    + vpr_autoid_read(
    + file_list_aid = aid_file_list_all,
    + file_list_aidmeas = aidmea_file_list_all,
    + export = 'aid',
    + station_of_interest = station_of_interest,
    + opticalSetting = opticalSetting,
    + warn = FALSE
    + )
    Error in `$<-.data.frame`(`*tmp*`, "day_hour", value = c("d879.h03", "d222.h03" :
     replacement has 2 rows, data has 517
    Calls: vpr_autoid_read -> $<- -> $<-.data.frame
    Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [6s]
    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: 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: 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-release-windows-ix86+x86_64