CRAN Package Check Results for Package envnames

Last updated on 2026-07-14 06:52:23 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.1 3.43 77.93 81.36 NOTE
r-devel-linux-x86_64-debian-gcc 0.4.1 2.79 57.55 60.34 ERROR
r-devel-linux-x86_64-fedora-clang 0.4.1 7.00 134.60 141.60 OK
r-devel-linux-x86_64-fedora-gcc 0.4.1 159.84 OK
r-devel-windows-x86_64 0.4.1 9.00 115.00 124.00 ERROR
r-patched-linux-x86_64 0.4.1 3.51 75.37 78.88 OK
r-release-linux-x86_64 0.4.1 3.34 74.84 78.18 OK
r-release-macos-arm64 0.4.1 1.00 27.00 28.00 OK
r-release-macos-x86_64 0.4.1 4.00 101.00 105.00 OK
r-release-windows-x86_64 0.4.1 7.00 118.00 125.00 OK
r-oldrel-macos-arm64 0.4.1 OK
r-oldrel-macos-x86_64 0.4.1 4.00 88.00 92.00 OK
r-oldrel-windows-x86_64 0.4.1 10.00 134.00 144.00 OK

Check Details

Version: 0.4.1
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Daniel Mastropietro <mastropi@uwalumni.com>’ No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: person(given = "Daniel", family = "Mastropietro", role = c("aut", "cre"), email = "mastropi@uwalumni.com") as necessary. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.4.1
Check: tests
Result: ERROR Running ‘testthat.R’ [20s/22s] 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: 0x557d1b212430> R_GlobalEnv env_of_envs envir "env2" "env2" "env2" correct memory address: <0x557d1e24a1d8> 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 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4.1
Check: tests
Result: ERROR Running 'testthat.R' [29s] 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: 0x00000295ce06a840> R_GlobalEnv env_of_envs envir "env2" "env2" "env2" correct memory address: <00000295DAAAEC18> 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 Flavor: r-devel-windows-x86_64