* using log directory 'd:/Rcompile/CRANpkg/local/4.6/rnpn.Rcheck' * using R Under development (unstable) (2025-07-22 r88445 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'rnpn/DESCRIPTION' ... OK * this is package 'rnpn' version '1.4.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'rnpn' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [4s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [2s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [17s] ERROR Running 'testthat.R' [17s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(rnpn) > > test_check("rnpn") Downloading... Downloading... Downloading... Invalid input, function expects a numeric vector as input [ FAIL 3 | WARN 0 | SKIP 20 | PASS 99 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (19): 'test-npn-geoserver.R:4:3', 'test-npn-geoserver.R:16:3', 'test-npn-geoserver.R:41:3', 'test-npn-geoserver.R:81:3', 'test-npn-geoserver.R:105:3', 'test-npn-geoserver.R:127:3', 'test-npn-geoserver.R:146:3', 'test-npn-observations.R:8:3', 'test-npn-observations.R:183:3', 'test-npn-observations.R:224:3', 'test-npn-observations.R:268:3', 'test-npn-observations.R:333:3', 'test-npn-observations.R:401:3', 'test-npn-observations.R:470:3', 'test-npn-observations.R:539:3', 'test-npn-observations.R:593:3', 'test-npn-observations.R:645:3', 'test-npn-observations.R:731:3', 'test-npn-observations.R:840:3' • unclear if this last one is supposed to work or error (1): 'test-npn-phenophases.R:128:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-npn-observations.R:18:5'): npn_download_status_data() works ──── Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "npn_download_status_data_basic_1". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-npn-observations.R:17:3 2. │ └─base::withCallingHandlers(...) 3. └─rnpn::npn_download_status_data(...) at test-npn-observations.R:18:5 4. └─rnpn:::npn_get_data_by_year(...) 5. └─rnpn:::npn_get_data(...) 6. └─httr2::req_perform(req, path = path) 7. └─vcr (local) mock(req) 8. └─RequestHandlerHttr2$new(req)$handle() 9. └─cli::cli_abort(...) 10. └─rlang::abort(...) ── Error ('test-npn-observations.R:52:5'): phenometrics downloads work ───────── Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "npn_download_individual_phenometrics_basic_1". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-npn-observations.R:51:3 2. │ └─base::withCallingHandlers(...) 3. └─rnpn::npn_download_individual_phenometrics(...) at test-npn-observations.R:52:5 4. └─rnpn:::npn_get_data_by_year(...) 5. └─rnpn:::npn_get_data(...) 6. └─httr2::req_perform(req, path = path) 7. └─vcr (local) mock(req) 8. └─RequestHandlerHttr2$new(req)$handle() 9. └─cli::cli_abort(...) 10. └─rlang::abort(...) ── Error ('test-npn-observations.R:139:5'): custom period works ──────────────── Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "custom_period". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-npn-observations.R:138:3 2. │ └─base::withCallingHandlers(...) 3. └─rnpn::npn_download_individual_phenometrics(...) at test-npn-observations.R:139:5 4. └─rnpn:::npn_get_data_by_year(...) 5. └─rnpn:::npn_get_data(...) 6. └─httr2::req_perform(req, path = path) 7. └─vcr (local) mock(req) 8. └─RequestHandlerHttr2$new(req)$handle() 9. └─cli::cli_abort(...) 10. └─rlang::abort(...) [ FAIL 3 | WARN 0 | SKIP 20 | PASS 99 ] Error: Test failures In addition: Warning message: `check_cassette_names()` was deprecated in vcr 2.0.0. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [8s] OK * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... [7s] OK * DONE Status: 1 ERROR