* using log directory ‘/Users/ripley/R/packages/tests-devel/lpjmlkit.Rcheck’ * using R Under development (unstable) (2023-03-29 r84124) * using platform: aarch64-apple-darwin22.4.0 (64-bit) * R was compiled by Apple clang version 14.0.3 (clang-1403.0.22.14.1) GNU Fortran (GCC) 12.2.0 * running under: macOS Ventura 13.3 * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘lpjmlkit/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘lpjmlkit’ version ‘1.0.11’ * 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 whether package ‘lpjmlkit’ 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... OK * checking Rd files ... 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 ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(lpjmlkit) Attaching package: 'lpjmlkit' The following object is masked from 'package:base': transform > > test_check("lpjmlkit") [ FAIL 2 | WARN 107 | SKIP 0 | PASS 462 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-write_config.R:292:3'): write correct config with common list syntax ── Error: parse error: premature EOF (right here) ------^ Backtrace: ▆ 1. ├─lpjmlkit:::write_single_config(...) at test-write_config.R:292:2 2. │ ├─... %>% ... 3. │ └─lpjmlkit:::parse_config(...) 4. │ └─... %>% jsonlite::parse_json(simplify = FALSE) 5. ├─lpjmlkit:::mutate_config_param(...) 6. ├─lpjmlkit:::mutate_config_output(...) 7. └─jsonlite::parse_json(., simplify = FALSE) 8. └─jsonlite:::parse_and_simplify(...) 9. └─jsonlite:::parseJSON(txt, bigint_as_char) 10. └─jsonlite:::parse_string(txt, bigint_as_char) ── Error ('test-write_config.R:323:3'): include non output defined outputvars ── Error: parse error: premature EOF (right here) ------^ Backtrace: ▆ 1. ├─lpjmlkit:::write_single_config(...) at test-write_config.R:323:2 2. │ ├─... %>% ... 3. │ └─lpjmlkit:::parse_config(...) 4. │ └─... %>% jsonlite::parse_json(simplify = FALSE) 5. ├─lpjmlkit:::mutate_config_param(...) 6. ├─lpjmlkit:::mutate_config_output(...) 7. └─jsonlite::parse_json(., simplify = FALSE) 8. └─jsonlite:::parse_and_simplify(...) 9. └─jsonlite:::parseJSON(txt, bigint_as_char) 10. └─jsonlite:::parse_string(txt, bigint_as_char) [ FAIL 2 | WARN 107 | SKIP 0 | PASS 462 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/lpjmlkit.Rcheck/00check.log’ for details. 30.13 real 23.85 user 4.80 sys