- using R Under development (unstable) (2026-11-21 r90959)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 23.1.5 (2)
Debian flang version 23.1.5 (2)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-11-24 11:31:26 UTC
- checking for file ‘rapsimng.decide.nitrogen/DESCRIPTION’ ... OK
- this is package ‘rapsimng.decide.nitrogen’ version ‘0.1.2’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/3s] OK
- 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 whether package ‘rapsimng.decide.nitrogen’ 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 ... [2s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the package can be unloaded cleanly ... [2s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [2s/3s] 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 ... [12s/16s] OK
- checking Rd files ... [0s/0s] 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 examples ... NONE
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/5s] ERROR
Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rapsimng.decide.nitrogen)
>
> test_check("rapsimng.decide.nitrogen")
Saving _problems/test-document-13.R
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-document.R:9:5'): document builds and renders from example APSIM output ──
Error: unable to open database file
Backtrace:
▆
1. ├─dplyr::filter(...) at test-document.R:9:5
2. └─rapsimng.decide.core::read_output(...)
3. └─rapsimng::read_report(apsimx_file, report)
4. ├─RSQLite::dbListTables(con)
5. └─RSQLite::dbListTables(con)
6. └─RSQLite:::sqliteListTables(conn)
7. ├─DBI::dbSendQuery(conn, sql)
8. └─RSQLite::dbSendQuery(conn, sql)
9. └─RSQLite (local) .local(conn, statement, ...)
10. ├─methods::new(...)
11. │ ├─methods::initialize(value, ...)
12. │ └─methods::initialize(value, ...)
13. └─RSQLite:::result_create(conn@ptr, statement)
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR