- using R Under development (unstable) (2026-11-18 r90935)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.2.0-4) 16.2.0
GNU Fortran (Debian 16.2.0-4) 16.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-11-19 19:20:49 UTC
- checking for file ‘rapsimng.decide/DESCRIPTION’ ... OK
- this is package ‘rapsimng.decide’ version ‘0.1.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/2s] 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’ 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 ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] 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 ... [3s/4s] 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 ... [1s/2s] ERROR
Running examples in ‘rapsimng.decide-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: read_output
> ### Title: Read APSIMX output
> ### Aliases: read_output
>
> ### ** Examples
>
> apsimx_file <- system.file(
+ "example", "cultivar.apsimx",
+ package = "rapsimng.decide"
+ )
> output <- read_output(apsimx_file, years = 2010:2011)
Warning: Couldn't set synchronous mode: unable to open database file
Use `synchronous` = NULL to turn off this warning.
Error: unable to open database file
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [2s/3s] ERROR
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rapsimng.decide)
>
> test_check("rapsimng.decide")
Saving _problems/test-read_output-7.R
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 23 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-read_output.R:7:5'): read_output reads bundled APSIMX example ──
Error: unable to open database file
Backtrace:
▆
1. └─rapsimng.decide::read_output(apsimx_file) at test-read_output.R:7:5
2. └─rapsimng::read_report(apsimx_file, report)
3. ├─RSQLite::dbListTables(con)
4. └─RSQLite::dbListTables(con)
5. └─RSQLite:::sqliteListTables(conn)
6. ├─DBI::dbSendQuery(conn, sql)
7. └─RSQLite::dbSendQuery(conn, sql)
8. └─RSQLite (local) .local(conn, statement, ...)
9. ├─methods::new(...)
10. │ ├─methods::initialize(value, ...)
11. │ └─methods::initialize(value, ...)
12. └─RSQLite:::result_create(conn@ptr, statement)
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 23 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [4s/5s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs