CRAN Package Check Results for Package envnames

Last updated on 2026-08-01 18:50:05 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.73 57.53 60.26 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.29 75.45 78.74 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/27s] 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: 0x555f19846300> R_GlobalEnv env_of_envs envir "env2" "env2" "env2" correct memory address: <0x555f20f93848> 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/Rtmp0FBspI’ ‘~/tmp/scratch/Rtmp0W89At’ ‘~/tmp/scratch/Rtmp0WjCCF’ ‘~/tmp/scratch/Rtmp16lIE3’ ‘~/tmp/scratch/Rtmp248Xtw’ ‘~/tmp/scratch/Rtmp2731HY’ ‘~/tmp/scratch/Rtmp29Frww’ ‘~/tmp/scratch/Rtmp37Anib’ ‘~/tmp/scratch/Rtmp3FViaD’ ‘~/tmp/scratch/Rtmp3fjERy’ ‘~/tmp/scratch/Rtmp3oVZEp’ ‘~/tmp/scratch/Rtmp5AZfXR’ ‘~/tmp/scratch/Rtmp6uCGFZ’ ‘~/tmp/scratch/Rtmp75qw7W’ ‘~/tmp/scratch/Rtmp88KDQz’ ‘~/tmp/scratch/Rtmp8gyXOb’ ‘~/tmp/scratch/Rtmp8zq5M9’ ‘~/tmp/scratch/Rtmp9Oc58x’ ‘~/tmp/scratch/Rtmp9mAMzR’ ‘~/tmp/scratch/Rtmp9v6V9Q’ ‘~/tmp/scratch/RtmpA17cNs’ ‘~/tmp/scratch/RtmpA4amwA’ ‘~/tmp/scratch/RtmpAU4IOl’ ‘~/tmp/scratch/RtmpAqjBXx’ ‘~/tmp/scratch/RtmpBVeAWI’ ‘~/tmp/scratch/RtmpBWNoto’ ‘~/tmp/scratch/RtmpBnd7Nb’ ‘~/tmp/scratch/RtmpCF1Y6I’ ‘~/tmp/scratch/RtmpDNP0n6’ ‘~/tmp/scratch/RtmpDYDYyu’ ‘~/tmp/scratch/RtmpDaN3Mi’ ‘~/tmp/scratch/RtmpE91PTL’ ‘~/tmp/scratch/RtmpEA9Rsm’ ‘~/tmp/scratch/RtmpECoLiX’ ‘~/tmp/scratch/RtmpETrIh9’ ‘~/tmp/scratch/RtmpEoyt4c’ ‘~/tmp/scratch/RtmpFBzkpB’ ‘~/tmp/scratch/RtmpFV35Kk’ ‘~/tmp/scratch/RtmpFftsTh’ ‘~/tmp/scratch/RtmpGMOSID’ ‘~/tmp/scratch/RtmpGlLHl5’ ‘~/tmp/scratch/RtmpGpTxn2’ ‘~/tmp/scratch/RtmpH56I8O’ ‘~/tmp/scratch/RtmpHHQQnk’ ‘~/tmp/scratch/RtmpHi8GA2’ ‘~/tmp/scratch/RtmpHksX00’ ‘~/tmp/scratch/RtmpHp6V6t’ ‘~/tmp/scratch/RtmpHsSLHC’ ‘~/tmp/scratch/RtmpJO6nR7’ ‘~/tmp/scratch/RtmpKVSF9c’ ‘~/tmp/scratch/RtmpKk15CX’ ‘~/tmp/scratch/RtmpLbL1CP’ ‘~/tmp/scratch/RtmpLcat7f’ ‘~/tmp/scratch/RtmpLz8Y8y’ ‘~/tmp/scratch/RtmpM1eOEP’ ‘~/tmp/scratch/RtmpNK7Y7c’ ‘~/tmp/scratch/RtmpNR8auv’ ‘~/tmp/scratch/RtmpNbPL6I’ ‘~/tmp/scratch/RtmpNpCsjn’ ‘~/tmp/scratch/RtmpNrityr’ ‘~/tmp/scratch/RtmpOLNh4W’ ‘~/tmp/scratch/RtmpPNkD9c’ ‘~/tmp/scratch/RtmpQ6ZCFf’ ‘~/tmp/scratch/RtmpQmshjY’ ‘~/tmp/scratch/RtmpQtmFWt’ ‘~/tmp/scratch/RtmpS8xxyF’ ‘~/tmp/scratch/RtmpSB4CkO’ ‘~/tmp/scratch/RtmpSRMOEW’ ‘~/tmp/scratch/RtmpSTTSJB’ ‘~/tmp/scratch/RtmpT2ZLtE’ ‘~/tmp/scratch/RtmpTKfVfJ’ ‘~/tmp/scratch/RtmpTrd6Kk’ ‘~/tmp/scratch/RtmpU6jCGa’ ‘~/tmp/scratch/RtmpUqnTtn’ ‘~/tmp/scratch/RtmpV8Qsd0’ ‘~/tmp/scratch/RtmpVBmLIg’ ‘~/tmp/scratch/RtmpVfgeeT’ ‘~/tmp/scratch/RtmpViCjfn’ ‘~/tmp/scratch/RtmpVwQnx0’ ‘~/tmp/scratch/RtmpWBoJuY’ ‘~/tmp/scratch/RtmpXmXosi’ ‘~/tmp/scratch/RtmpYavg8v’ ‘~/tmp/scratch/RtmpZSA9Nd’ ‘~/tmp/scratch/RtmpZgrSCc’ ‘~/tmp/scratch/RtmpZkN1en’ ‘~/tmp/scratch/RtmpZuxRsk’ ‘~/tmp/scratch/RtmpZxN1MN’ ‘~/tmp/scratch/Rtmpa0hMu6’ ‘~/tmp/scratch/RtmpaousRP’ ‘~/tmp/scratch/RtmpbTqfHZ’ ‘~/tmp/scratch/RtmpbyZBKH’ ‘~/tmp/scratch/RtmpcE46QZ’ ‘~/tmp/scratch/RtmpcT4Db4’ ‘~/tmp/scratch/Rtmpcmti5W’ ‘~/tmp/scratch/RtmpdoqpQU’ ‘~/tmp/scratch/Rtmpe9OT4E’ ‘~/tmp/scratch/RtmpeIzhXb’ ‘~/tmp/scratch/RtmpeQL5HG’ ‘~/tmp/scratch/Rtmpel5Wp9’ ‘~/tmp/scratch/Rtmpf5OI5P’ ‘~/tmp/scratch/Rtmpg1VIU9’ ‘~/tmp/scratch/Rtmpgq8bBf’ ‘~/tmp/scratch/RtmpiLYQuO’ ‘~/tmp/scratch/Rtmpk7qG9F’ ‘~/tmp/scratch/RtmpkIPpgj’ ‘~/tmp/scratch/Rtmpl3xRPL’ ‘~/tmp/scratch/RtmplCOSfK’ ‘~/tmp/scratch/RtmplDLYEF’ ‘~/tmp/scratch/RtmplOMvct’ ‘~/tmp/scratch/RtmpliYoYj’ ‘~/tmp/scratch/RtmpmJbKHd’ ‘~/tmp/scratch/RtmpmV07jH’ ‘~/tmp/scratch/RtmpnQXyPW’ ‘~/tmp/scratch/RtmpoEan1f’ ‘~/tmp/scratch/RtmpoHN0zU’ ‘~/tmp/scratch/RtmpoPRbnb’ ‘~/tmp/scratch/Rtmpp99vVl’ ‘~/tmp/scratch/RtmppKmgGR’ ‘~/tmp/scratch/RtmppMwEQw’ ‘~/tmp/scratch/RtmppZNQvI’ ‘~/tmp/scratch/RtmpphklZw’ ‘~/tmp/scratch/Rtmpprf3Un’ ‘~/tmp/scratch/RtmpqDEXNO’ ‘~/tmp/scratch/RtmpqLeRzB’ ‘~/tmp/scratch/RtmprJGWG6’ ‘~/tmp/scratch/RtmprU65lP’ ‘~/tmp/scratch/RtmprcSvnU’ ‘~/tmp/scratch/RtmpsOzJzZ’ ‘~/tmp/scratch/RtmpsppJ2D’ ‘~/tmp/scratch/RtmptMC0YA’ ‘~/tmp/scratch/RtmpthW8RJ’ ‘~/tmp/scratch/RtmpthojlP’ ‘~/tmp/scratch/RtmpttZQO4’ ‘~/tmp/scratch/Rtmptw7EWo’ ‘~/tmp/scratch/RtmptxguB8’ ‘~/tmp/scratch/RtmpuDpYNZ’ ‘~/tmp/scratch/RtmpuQ3AN1’ ‘~/tmp/scratch/RtmpuaQlqb’ ‘~/tmp/scratch/RtmpuqGMM0’ ‘~/tmp/scratch/Rtmpv7tqOB’ ‘~/tmp/scratch/RtmpvNQtTq’ ‘~/tmp/scratch/RtmpvXxl5Z’ ‘~/tmp/scratch/Rtmpvfm0R4’ ‘~/tmp/scratch/RtmpwOHtqr’ ‘~/tmp/scratch/RtmpyCWw5h’ ‘~/tmp/scratch/RtmpySDdGT’ ‘~/tmp/scratch/Rtmpyx10An’ ‘~/tmp/scratch/RtmpzLIrLv’ ‘~/tmp/scratch/Rtmpzhq0Lv’ ‘~/tmp/scratch/RtmpzrdXGW’ ‘~/tmp/scratch/xvfb-run.0ECTQ8’ ‘~/tmp/scratch/xvfb-run.0hnWPh’ ‘~/tmp/scratch/xvfb-run.2Suxkr’ ‘~/tmp/scratch/xvfb-run.4sxAuM’ ‘~/tmp/scratch/xvfb-run.75p4MZ’ ‘~/tmp/scratch/xvfb-run.7gYyQ0’ ‘~/tmp/scratch/xvfb-run.8eHmNX’ ‘~/tmp/scratch/xvfb-run.90lTZ4’ ‘~/tmp/scratch/xvfb-run.CYxnvk’ ‘~/tmp/scratch/xvfb-run.Cq4zXS’ ‘~/tmp/scratch/xvfb-run.DD05GI’ ‘~/tmp/scratch/xvfb-run.EiMoaN’ ‘~/tmp/scratch/xvfb-run.FL5gkR’ ‘~/tmp/scratch/xvfb-run.GP0JdT’ ‘~/tmp/scratch/xvfb-run.GjjfP2’ ‘~/tmp/scratch/xvfb-run.I4IQ4n’ ‘~/tmp/scratch/xvfb-run.I9582C’ ‘~/tmp/scratch/xvfb-run.K5bN9v’ ‘~/tmp/scratch/xvfb-run.Kku8Vb’ ‘~/tmp/scratch/xvfb-run.LXSoTm’ ‘~/tmp/scratch/xvfb-run.MDaa0I’ ‘~/tmp/scratch/xvfb-run.N4LRUl’ ‘~/tmp/scratch/xvfb-run.Nc0Gx6’ ‘~/tmp/scratch/xvfb-run.Nc2I0I’ ‘~/tmp/scratch/xvfb-run.NkLp5B’ ‘~/tmp/scratch/xvfb-run.PZoCum’ ‘~/tmp/scratch/xvfb-run.RKDJwS’ ‘~/tmp/scratch/xvfb-run.SxgeeK’ ‘~/tmp/scratch/xvfb-run.Toei7N’ ‘~/tmp/scratch/xvfb-run.U73Eoi’ ‘~/tmp/scratch/xvfb-run.Unf6dc’ ‘~/tmp/scratch/xvfb-run.UwLEf3’ ‘~/tmp/scratch/xvfb-run.VScLZJ’ ‘~/tmp/scratch/xvfb-run.WYuzbp’ ‘~/tmp/scratch/xvfb-run.WxLB7N’ ‘~/tmp/scratch/xvfb-run.ZKGZgN’ ‘~/tmp/scratch/xvfb-run.a1I6Q9’ ‘~/tmp/scratch/xvfb-run.b7bhnt’ ‘~/tmp/scratch/xvfb-run.cRsMFp’ ‘~/tmp/scratch/xvfb-run.cjKTUd’ ‘~/tmp/scratch/xvfb-run.dJh5EB’ ‘~/tmp/scratch/xvfb-run.dRxSsB’ ‘~/tmp/scratch/xvfb-run.dmyWTZ’ ‘~/tmp/scratch/xvfb-run.edbfww’ ‘~/tmp/scratch/xvfb-run.fG1AqA’ ‘~/tmp/scratch/xvfb-run.g0LS2w’ ‘~/tmp/scratch/xvfb-run.h1XuMv’ ‘~/tmp/scratch/xvfb-run.mJuBrb’ ‘~/tmp/scratch/xvfb-run.nzj56v’ ‘~/tmp/scratch/xvfb-run.oHiM7k’ ‘~/tmp/scratch/xvfb-run.oNSk1D’ ‘~/tmp/scratch/xvfb-run.okI9lp’ ‘~/tmp/scratch/xvfb-run.pUDE2s’ ‘~/tmp/scratch/xvfb-run.sDPHh2’ ‘~/tmp/scratch/xvfb-run.tQUFUR’ ‘~/tmp/scratch/xvfb-run.ugnLbI’ ‘~/tmp/scratch/xvfb-run.umO0gA’ ‘~/tmp/scratch/xvfb-run.wUl8pr’ ‘~/tmp/scratch/xvfb-run.yY95ui’ ‘~/tmp/scratch/xvfb-run.zF5yUh’ 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