CRAN Package Check Results for Package envnames

Last updated on 2026-08-03 04:49:19 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.1 3.48 79.02 82.50 ERROR
r-devel-linux-x86_64-debian-gcc 0.4.1 2.71 57.75 60.46 ERROR
r-devel-linux-x86_64-fedora-clang 0.4.1 129.20 ERROR
r-devel-linux-x86_64-fedora-gcc 0.4.1 60.15 ERROR
r-devel-windows-x86_64 0.4.1 8.00 112.00 120.00 ERROR
r-patched-linux-x86_64 0.4.1 3.62 74.31 77.93 OK
r-release-linux-x86_64 0.4.1 3.07 75.35 78.42 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 113.00 120.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 11.00 134.00 145.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’ [31s/39s] 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: 0x559abede90c8> R_GlobalEnv env_of_envs envir "env2" "env2" "env2" correct memory address: <0x559ac6994010> 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-clang

Version: 0.4.1
Check: tests
Result: ERROR Running ‘testthat.R’ [20s/23s] 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: 0x561202817538> R_GlobalEnv env_of_envs envir "env2" "env2" "env2" correct memory address: <0x561209f69060> 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: for new files in some other directories
Result: NOTE Found the following files/directories: ‘~/tmp/scratch/Rtmp0Ofw8Z’ ‘~/tmp/scratch/Rtmp0ZGfS7’ ‘~/tmp/scratch/Rtmp2FnKhz’ ‘~/tmp/scratch/Rtmp3BOCOe’ ‘~/tmp/scratch/Rtmp3Fn4a0’ ‘~/tmp/scratch/Rtmp3gWJmA’ ‘~/tmp/scratch/Rtmp3kJ7Gr’ ‘~/tmp/scratch/Rtmp46tfoN’ ‘~/tmp/scratch/Rtmp4IRO7b’ ‘~/tmp/scratch/Rtmp4SV4ZK’ ‘~/tmp/scratch/Rtmp5EN7U1’ ‘~/tmp/scratch/Rtmp5bnC3D’ ‘~/tmp/scratch/Rtmp65gOik’ ‘~/tmp/scratch/Rtmp7hxng5’ ‘~/tmp/scratch/Rtmp7jamnQ’ ‘~/tmp/scratch/Rtmp8nv8Ul’ ‘~/tmp/scratch/Rtmp9Q2gRV’ ‘~/tmp/scratch/Rtmp9rbBAT’ ‘~/tmp/scratch/RtmpA0glL6’ ‘~/tmp/scratch/RtmpB60SOC’ ‘~/tmp/scratch/RtmpBqS0HK’ ‘~/tmp/scratch/RtmpCToNmS’ ‘~/tmp/scratch/RtmpCVofAR’ ‘~/tmp/scratch/RtmpCz0qFn’ ‘~/tmp/scratch/RtmpD0ujA3’ ‘~/tmp/scratch/RtmpDaK6Pj’ ‘~/tmp/scratch/RtmpDiiHsf’ ‘~/tmp/scratch/RtmpDrNwaJ’ ‘~/tmp/scratch/RtmpEHo5t0’ ‘~/tmp/scratch/RtmpEtSQeI’ ‘~/tmp/scratch/RtmpF4Tmxz’ ‘~/tmp/scratch/RtmpFsQuUD’ ‘~/tmp/scratch/RtmpGtI6XB’ ‘~/tmp/scratch/RtmpH0cIHK’ ‘~/tmp/scratch/RtmpHcfnWo’ ‘~/tmp/scratch/RtmpICiSNy’ ‘~/tmp/scratch/RtmpJONeOC’ ‘~/tmp/scratch/RtmpJP4fdR’ ‘~/tmp/scratch/RtmpJd011e’ ‘~/tmp/scratch/RtmpJlfrYY’ ‘~/tmp/scratch/RtmpJqCbzl’ ‘~/tmp/scratch/RtmpKaHeS4’ ‘~/tmp/scratch/RtmpKuP0uW’ ‘~/tmp/scratch/RtmpLBQNdu’ ‘~/tmp/scratch/RtmpLbhTWR’ ‘~/tmp/scratch/RtmpM5hqGF’ ‘~/tmp/scratch/RtmpMFyStt’ ‘~/tmp/scratch/RtmpMJln2y’ ‘~/tmp/scratch/RtmpMeyGGL’ ‘~/tmp/scratch/RtmpMrVOFD’ ‘~/tmp/scratch/RtmpMzC6Yp’ ‘~/tmp/scratch/RtmpN0msRE’ ‘~/tmp/scratch/RtmpOKBQ29’ ‘~/tmp/scratch/RtmpQXUpaV’ ‘~/tmp/scratch/RtmpREMq1E’ ‘~/tmp/scratch/RtmpRN7O9b’ ‘~/tmp/scratch/RtmpRS6W3Q’ ‘~/tmp/scratch/RtmpRX9YUY’ ‘~/tmp/scratch/RtmpRsJIjM’ ‘~/tmp/scratch/RtmpSYgSPe’ ‘~/tmp/scratch/RtmpShxc4R’ ‘~/tmp/scratch/RtmpTDZmDW’ ‘~/tmp/scratch/RtmpTF3XPv’ ‘~/tmp/scratch/RtmpTVj3Ps’ ‘~/tmp/scratch/RtmpUjap4Y’ ‘~/tmp/scratch/RtmpUxyByZ’ ‘~/tmp/scratch/RtmpVsOUlc’ ‘~/tmp/scratch/RtmpVtl1U2’ ‘~/tmp/scratch/RtmpWPRDO1’ ‘~/tmp/scratch/RtmpWWOsF0’ ‘~/tmp/scratch/RtmpWpF2oN’ ‘~/tmp/scratch/RtmpXqyMPD’ ‘~/tmp/scratch/RtmpXvOZVV’ ‘~/tmp/scratch/RtmpYFc3ZG’ ‘~/tmp/scratch/RtmpYHFlwm’ ‘~/tmp/scratch/RtmpZjgjhV’ ‘~/tmp/scratch/RtmpZpzxX4’ ‘~/tmp/scratch/RtmpaJF3Fp’ ‘~/tmp/scratch/RtmpaRuLn0’ ‘~/tmp/scratch/RtmpaYmKYA’ ‘~/tmp/scratch/Rtmpan2ZR3’ ‘~/tmp/scratch/RtmpasWRwz’ ‘~/tmp/scratch/Rtmpbt6w38’ ‘~/tmp/scratch/RtmpcAxWNF’ ‘~/tmp/scratch/RtmpcNRVuX’ ‘~/tmp/scratch/RtmpdExM1o’ ‘~/tmp/scratch/RtmpdQJ8Vm’ ‘~/tmp/scratch/RtmpdZg7wE’ ‘~/tmp/scratch/RtmpeucS6X’ ‘~/tmp/scratch/RtmpfHb0Kd’ ‘~/tmp/scratch/RtmpfNUo6a’ ‘~/tmp/scratch/RtmpfsBJZq’ ‘~/tmp/scratch/RtmphZXRBr’ ‘~/tmp/scratch/RtmphyFGCq’ ‘~/tmp/scratch/Rtmpi4o5iY’ ‘~/tmp/scratch/Rtmpi96wy2’ ‘~/tmp/scratch/RtmpiHZtZ9’ ‘~/tmp/scratch/RtmpiKyRik’ ‘~/tmp/scratch/RtmpiLo4ET’ ‘~/tmp/scratch/RtmpibfCwy’ ‘~/tmp/scratch/RtmpjCVVeE’ ‘~/tmp/scratch/RtmpjLuKPR’ ‘~/tmp/scratch/RtmpjNIUHO’ ‘~/tmp/scratch/RtmpjSzQbi’ ‘~/tmp/scratch/RtmpjzgoUf’ ‘~/tmp/scratch/RtmpkH92bQ’ ‘~/tmp/scratch/RtmplKnqHS’ ‘~/tmp/scratch/RtmpnFW9f7’ ‘~/tmp/scratch/RtmpnjXY1o’ ‘~/tmp/scratch/RtmpnzPppO’ ‘~/tmp/scratch/Rtmpq3xN0o’ ‘~/tmp/scratch/Rtmpq86AG9’ ‘~/tmp/scratch/Rtmpq8ki2p’ ‘~/tmp/scratch/RtmprXy0Uw’ ‘~/tmp/scratch/RtmpsLjlJC’ ‘~/tmp/scratch/RtmpsN7gzn’ ‘~/tmp/scratch/RtmpsshwLN’ ‘~/tmp/scratch/RtmptHxYvl’ ‘~/tmp/scratch/RtmptT6I8R’ ‘~/tmp/scratch/RtmptZBub7’ ‘~/tmp/scratch/Rtmpth9ssf’ ‘~/tmp/scratch/RtmptnpGv4’ ‘~/tmp/scratch/Rtmptp7XyI’ ‘~/tmp/scratch/Rtmpu5Y29z’ ‘~/tmp/scratch/Rtmpu8aJ7s’ ‘~/tmp/scratch/RtmpuDziuM’ ‘~/tmp/scratch/RtmpuGPdjb’ ‘~/tmp/scratch/RtmpwqFpDl’ ‘~/tmp/scratch/RtmpwqvycV’ ‘~/tmp/scratch/RtmpxB3R0z’ ‘~/tmp/scratch/RtmpxCLhOi’ ‘~/tmp/scratch/RtmpxGb96T’ ‘~/tmp/scratch/RtmpxkH2xz’ ‘~/tmp/scratch/RtmpyzIcq5’ ‘~/tmp/scratch/RtmpziUbHg’ ‘~/tmp/scratch/RtmpzoJFzW’ ‘~/tmp/scratch/xvfb-run.2LmEGb’ ‘~/tmp/scratch/xvfb-run.4aHNDb’ ‘~/tmp/scratch/xvfb-run.5xS8gh’ ‘~/tmp/scratch/xvfb-run.6ARjo1’ ‘~/tmp/scratch/xvfb-run.6Jgd7U’ ‘~/tmp/scratch/xvfb-run.6jZ9zg’ ‘~/tmp/scratch/xvfb-run.7gFw0C’ ‘~/tmp/scratch/xvfb-run.9K7fLf’ ‘~/tmp/scratch/xvfb-run.A7efvQ’ ‘~/tmp/scratch/xvfb-run.BIZDX1’ ‘~/tmp/scratch/xvfb-run.C0Ob6c’ ‘~/tmp/scratch/xvfb-run.C7FzRh’ ‘~/tmp/scratch/xvfb-run.DZQc4S’ ‘~/tmp/scratch/xvfb-run.Kf0St1’ ‘~/tmp/scratch/xvfb-run.O0DzqY’ ‘~/tmp/scratch/xvfb-run.PAkWmO’ ‘~/tmp/scratch/xvfb-run.RIHCPo’ ‘~/tmp/scratch/xvfb-run.T9lrQD’ ‘~/tmp/scratch/xvfb-run.UP4GJE’ ‘~/tmp/scratch/xvfb-run.UlOhy8’ ‘~/tmp/scratch/xvfb-run.WNFuqD’ ‘~/tmp/scratch/xvfb-run.X70Zio’ ‘~/tmp/scratch/xvfb-run.ZiUUbL’ ‘~/tmp/scratch/xvfb-run.a9Oz2n’ ‘~/tmp/scratch/xvfb-run.aIJxXL’ ‘~/tmp/scratch/xvfb-run.aLyjNy’ ‘~/tmp/scratch/xvfb-run.acVw6X’ ‘~/tmp/scratch/xvfb-run.bjrvdP’ ‘~/tmp/scratch/xvfb-run.cAQwux’ ‘~/tmp/scratch/xvfb-run.e2AqXJ’ ‘~/tmp/scratch/xvfb-run.ewi2UC’ ‘~/tmp/scratch/xvfb-run.gJAHlz’ ‘~/tmp/scratch/xvfb-run.ggdaFN’ ‘~/tmp/scratch/xvfb-run.gi2DiS’ ‘~/tmp/scratch/xvfb-run.hpBsxy’ ‘~/tmp/scratch/xvfb-run.iDNyPY’ ‘~/tmp/scratch/xvfb-run.iPugF6’ ‘~/tmp/scratch/xvfb-run.j9Hzlw’ ‘~/tmp/scratch/xvfb-run.jKmhFj’ ‘~/tmp/scratch/xvfb-run.jPZl3D’ ‘~/tmp/scratch/xvfb-run.jkojBz’ ‘~/tmp/scratch/xvfb-run.lxP2cB’ ‘~/tmp/scratch/xvfb-run.p96rCJ’ ‘~/tmp/scratch/xvfb-run.pleLNz’ ‘~/tmp/scratch/xvfb-run.poPQqc’ ‘~/tmp/scratch/xvfb-run.rhMtzY’ ‘~/tmp/scratch/xvfb-run.uNzzBt’ ‘~/tmp/scratch/xvfb-run.uwnZGD’ ‘~/tmp/scratch/xvfb-run.wYgAa6’ ‘~/tmp/scratch/xvfb-run.wwIk4W’ ‘~/tmp/scratch/xvfb-run.xVGaCF’ ‘~/tmp/scratch/xvfb-run.y8fwH9’ ‘~/tmp/scratch/xvfb-run.z4jfbX’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4.1
Check: tests
Result: ERROR Running ‘testthat.R’ [49s/56s] 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: 0x55f16af8e8d8> R_GlobalEnv env_of_envs envir "env2" "env2" "env2" correct memory address: <0x55f171990818> 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-fedora-clang

Version: 0.4.1
Check: tests
Result: 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 Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.4.1
Check: tests
Result: ERROR Running 'testthat.R' [30s] 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: 0x00000201f6829808> R_GlobalEnv env_of_envs envir "env2" "env2" "env2" correct memory address: <0000020204674078> 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