- using R Under development (unstable) (2025-02-25 r87824)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-16) 14.2.0
GNU Fortran (Debian 14.2.0-16) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘jsonlite/DESCRIPTION’ ... OK
- this is package ‘jsonlite’ version ‘1.9.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 ‘jsonlite’ can be installed ... OK
See the install log for details.
- used C compiler: ‘gcc-14 (Debian 14.2.0-16) 14.2.0’
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [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 ... [5s/7s] 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 line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [7s/9s] ERROR
Running ‘testthat.R’ [7s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> #This file runs all unit tests on every R CMD check.
> #Comment this out to disable.
>
> library(testthat)
>
> #filter is to disable tests that rely on external servers
> test_check("jsonlite", filter="toJSON|fromJSON|libjson|serializeJSON")
Loading required package: jsonlite
Failed with error: 'there is no package called 'nopackage''
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 1534 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-fromJSON-datasets.R:15:5'): fromJSON datasets ────────────────
names(object) not identical to names(newobject).
3/17 mismatches
x[15]: "Delta 15 N (o/oo)"
y[15]: "Comments"
x[16]: "Delta 13 C (o/oo)"
y[16]: "Delta 15 N (o/oo)"
x[17]: "Comments"
y[17]: "Delta 13 C (o/oo)"
Backtrace:
▆
1. └─base::lapply(...) at test-fromJSON-datasets.R:12:3
2. └─jsonlite (local) FUN(X[[i]], ...)
3. └─testthat::expect_identical(names(object), names(newobject)) at test-fromJSON-datasets.R:15:5
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 1534 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [4s/7s] OK
- 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: 1 ERROR