- using R Under development (unstable) (2026-06-15 r90156)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.1.0-1) 16.1.0
GNU Fortran (Debian 16.1.0-1) 16.1.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-06-16 15:34:03 UTC
- checking for file ‘listenv/DESCRIPTION’ ... OK
- this is package ‘listenv’ version ‘0.10.1’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/1s] 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 serialization versions ... OK
- checking whether package ‘listenv’ can be installed ... OK
See the install log for details.
- 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/6s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [0s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [7s/10s] ERROR
Running ‘test-aperm.R’ [1s/1s]
Running ‘test-as.listenv.R’ [0s/1s]
Running ‘test-as.vector.R’ [1s/1s]
Running ‘test-get_variable,dimensions.R’ [0s/1s]
Running ‘test-get_variable.R’ [0s/0s]
Running ‘test-lapply.R’ [0s/1s]
Running ‘test-listenv,dimensions.R’ [1s/1s]
Running ‘test-listenv.R’ [1s/1s]
Running ‘test-parse_env_subset,dimensions.R’ [1s/1s]
Running ‘test-parse_env_subset.R’ [1s/1s]
Running ‘test-undim.R’ [0s/1s]
Running ‘test-utils,conditions.R’ [0s/1s]
Running ‘test-utils.R’ [0s/0s]
Running the tests in ‘tests/test-lapply.R’ failed.
Complete output:
> #! /usr/bin/env Rscript
> ## This runs testme test script inst/testme/test-lapply.R
> ## Don't edit - it was autogenerated by inst/testme/deploy.R
> listenv:::testme("lapply")
Test 'lapply' ...
chr "none"
> library("listenv")
> message("*** lapply() ...")
*** lapply() ...
> x <- as.list(1:6)
> names(x) <- letters[seq_along(x)]
> y <- as.listenv(x)
> z0 <- lapply(x, FUN = function(x) x^2)
> z1 <- lapply(y, FUN = function(x) x^2)
> stopifnot(identical(z1, z0))
> message("*** lapply() ... DONE")
*** lapply() ... DONE
> message("*** apply() ...")
*** apply() ...
> x <- matrix(as.list(1:6), nrow = 2)
> rownames(x) <- letters[seq_len(nrow(x))]
> colnames(x) <- LETTERS[seq_len(ncol(x))]
> y <- as.listenv(x)
> z0 <- apply(x, MARGIN = 1, FUN = function(x) sum(unlist(x)))
> aperm.listenv <- function(a, ...) {
+ a <- as.list(a)
+ a <- aperm(a, ...)
+ as.listenv(a)
+ }
> z1 <- apply(y, MARGIN = 1, FUN = function(x) sum(unlist(x)))
Error in attributes(newX) <- list(dim = c(prod(d.call), d2)) :
invalid first argument, must be vector (list or atomic)
Calls: <Anonymous> ... testme_run_test -> source -> withVisible -> eval -> eval -> apply
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [1s/1s] OK
- checking PDF version of manual ... [3s/3s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR