- using R Under development (unstable) (2026-07-13 r90246)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2)
GNU Fortran (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2)
- running under: Fedora Linux 44 (Server Edition)
- using session charset: UTF-8
* current time: 2026-07-14 06:05:25 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘envnames/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘envnames’ version ‘0.4.1’
- 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 ‘envnames’ can be installed ... OK
See the install log for details.
- used C compiler: ‘gcc (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2)’
- 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 code 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 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 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 ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [20s/21s] ERROR
Running ‘testthat.R’ [20s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(envnames)
>
> test_check("envnames")
Environments involved:
Current environment: <environment: R_GlobalEnv>
Parent environment of env1: <environment: R_GlobalEnv>
Parent environment of env2: <environment: R_GlobalEnv>
Parent environment of env11: <environment: 0x101810f0>
R_GlobalEnv env_of_envs envir
"env2" "env2" "env2"
correct memory address: <0x18233728>
observed result: TRUE
Saving _problems/test-get_env_names-25.R
Saving _problems/test-get_env_names-158.R
Now inside function g
Environment name of calling function (using environmentName() function): ""
Environment name of calling function as returned by get_fun_calling(): env1$f
Now inside function g
Environment name of calling function (using environmentName() function): ""
Environment name of calling function as returned by get_fun_calling(): testenv$f
Now inside function g
Environment name of calling function (using environmentName() function): ""
Environment name of calling function as returned by get_fun_calling(): f
[ FAIL 2 | WARN 10 | SKIP 8 | PASS 308 ]
══ Skipped tests (8) ═══════════════════════════════════════════════════════════
• 2018/10/10: This test works fine if run OUTSIDE the test_that() call, (1):
'test-environment_name.r:211:3'
• On CRAN (1): 'test-obj_find.r:364:3'
• This gives 'node stack overflow' error in 32-bit platform... apparently
meaning that there is a recursive call that does not end... (1):
'test-environment_name.r:167:3'
• This test fails on CRAN (1): 'test-get_obj_address.r:214:3'
• This test gives different results when running in TEST mode and when running
in CHECK mode, and it fails when testing the package in
https://win-builder.r-project.org/ which is the real test before package
submission to CRAN. (1): 'test-get_obj_address.r:59:3'
• no longer true: we now return always NULL for strings (1):
'test-get_obj_address.r:267:3'
• the is_memory_address() function was changed to accept any number of digits
between 8 and 16, (1): 'test-functions.r:148:3'
• this cannot be tested because the call is inside function test_that()! (1):
'test-get_fun_calling_chain.r:58:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-get_env_names.r:25:3'): T0a) the table returned only contains system/package environments AND the empty environment
when no user environments are defined, except for the user environments defined in the envnames package ──
Expected `observed` to equal `expected`.
Differences:
Lengths differ: 22 is not 21
── Failure ('test-get_env_names.r:158:5'): T1) the default behaviour is the expected one, i.e. all environments (user and packages)
in the whole workspace are retrieved.
User-defined environments are found in both the global environment and packages.
The search is recursive on all user-defined environments found.
This is the default behaviour and should be obtained when envir=NULL.
Note that we do NOT compare the info about function execution environments
because the expected value for is too complicated to write. ──
Expected `observed` to equal `expected_check`.
Differences:
Attributes: < Component "row.names": Numeric: lengths (29, 28) differ >
Component "type": Lengths (29, 28) differ (string compare on first 28)
Component "type": 3 string mismatches
Component "location": Lengths (29, 28) differ (string compare on first 28)
Component "location": 'is.NA' value mismatch: 21 in current 20 in target
Component "locationaddress": Lengths (29, 28) differ (string compare on first 28)
Component "locationaddress": 'is.NA' value mismatch: 21 in current 20 in target
Component "address": Lengths (29, 28) differ (string compare on first 28)
Component "address": 21 string mismatches
...
[ FAIL 2 | WARN 10 | SKIP 8 | PASS 308 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [14s/14s] OK
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR