- using R Under development (unstable) (2024-04-29 r86495)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-13 (Debian 13.2.0-23) 13.2.0
GNU Fortran (Debian 13.2.0-23) 13.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘allometric/DESCRIPTION’ ... OK
- this is package ‘allometric’ version ‘2.3.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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘allometric’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/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 ... [10s/16s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [1s/1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [3s/5s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [6s/8s] ERROR
Running ‘testthat.R’ [5s/8s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
>
> test_check("allometric")
Loading required package: allometric
Attaching package: 'allometric'
The following object is masked from 'package:stats':
predict
[ FAIL 1 | WARN 1 | SKIP 2 | PASS 131 ]
══ Skipped tests (2) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-install.R:2:3'
• empty test (1): 'test-publication-processing.R:23:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-publication-processing.R:49:3'): ingest_models runs correctly with locally specified data ──
Error in `gzfile(file, mode)`: cannot open the connection
Backtrace:
▆
1. ├─allometric::ingest_models(FALSE, pub_path = pub_path, params_path = params_path) at test-publication-processing.R:49:3
2. │ ├─... %>% dplyr::arrange(.data$pub_id)
3. │ └─allometric::map_publications(...)
4. │ └─allometric::set_params_path(params_path)
5. │ └─base::saveRDS(params_path, rds_path)
6. │ └─base::gzfile(file, mode)
7. ├─dplyr::arrange(., .data$pub_id)
8. └─dplyr::bind_rows(.)
9. └─rlang::list2(...)
[ FAIL 1 | WARN 1 | SKIP 2 | PASS 131 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [6s/14s] OK
- checking HTML version of manual ... [2s/5s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR