Last updated on 2026-08-02 00:50:12 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.62 | 57.74 | 60.36 | 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 |
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’ [21s/25s]
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: 0x55581e8c8258>
R_GlobalEnv env_of_envs envir
"env2" "env2" "env2"
correct memory address: <0x555820eac3d8>
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/Rtmp0E1FrV’ ‘~/tmp/scratch/Rtmp0ogJAU’
‘~/tmp/scratch/Rtmp0vCT0f’ ‘~/tmp/scratch/Rtmp2Xvry7’
‘~/tmp/scratch/Rtmp3s0GWm’ ‘~/tmp/scratch/Rtmp4OlMbf’
‘~/tmp/scratch/Rtmp4hYstA’ ‘~/tmp/scratch/Rtmp4iJMbp’
‘~/tmp/scratch/Rtmp5HE7pE’ ‘~/tmp/scratch/Rtmp6mZbaO’
‘~/tmp/scratch/Rtmp75gDJ6’ ‘~/tmp/scratch/Rtmp7MsUkG’
‘~/tmp/scratch/Rtmp8RHmxy’ ‘~/tmp/scratch/Rtmp8sbwmW’
‘~/tmp/scratch/RtmpA2z6G6’ ‘~/tmp/scratch/RtmpBTSt4H’
‘~/tmp/scratch/RtmpBt3woJ’ ‘~/tmp/scratch/RtmpCBkDmR’
‘~/tmp/scratch/RtmpCMNi4v’ ‘~/tmp/scratch/RtmpCeqAjS’
‘~/tmp/scratch/RtmpDRWduS’ ‘~/tmp/scratch/RtmpEnfM6g’
‘~/tmp/scratch/RtmpF4ODZ9’ ‘~/tmp/scratch/RtmpFNDozE’
‘~/tmp/scratch/RtmpFcCSC0’ ‘~/tmp/scratch/RtmpG0yhKP’
‘~/tmp/scratch/RtmpH22CyF’ ‘~/tmp/scratch/RtmpHE3SzP’
‘~/tmp/scratch/RtmpJWnqTT’ ‘~/tmp/scratch/RtmpKE3F2K’
‘~/tmp/scratch/RtmpKjFxKc’ ‘~/tmp/scratch/RtmpL13sgb’
‘~/tmp/scratch/RtmpMRHBte’ ‘~/tmp/scratch/RtmpMSkRV1’
‘~/tmp/scratch/RtmpNHhbIY’ ‘~/tmp/scratch/RtmpNM6DeP’
‘~/tmp/scratch/RtmpNq5LRa’ ‘~/tmp/scratch/RtmpNw6ngA’
‘~/tmp/scratch/RtmpOa3LVi’ ‘~/tmp/scratch/RtmpOcM6BQ’
‘~/tmp/scratch/RtmpOkOmdN’ ‘~/tmp/scratch/RtmpOtSUL6’
‘~/tmp/scratch/RtmpP2xJ5r’ ‘~/tmp/scratch/RtmpPEBJZv’
‘~/tmp/scratch/RtmpPQTCvP’ ‘~/tmp/scratch/RtmpPiZkR0’
‘~/tmp/scratch/RtmpQ3qPAg’ ‘~/tmp/scratch/RtmpQ66R8E’
‘~/tmp/scratch/RtmpQIbxh1’ ‘~/tmp/scratch/RtmpR74Xnd’
‘~/tmp/scratch/RtmpSzyoBA’ ‘~/tmp/scratch/RtmpU6V1cN’
‘~/tmp/scratch/RtmpUaKVKk’ ‘~/tmp/scratch/RtmpV87oza’
‘~/tmp/scratch/RtmpV88icl’ ‘~/tmp/scratch/RtmpVO87H9’
‘~/tmp/scratch/RtmpVdJGe7’ ‘~/tmp/scratch/RtmpVjHsRb’
‘~/tmp/scratch/RtmpVmXCsS’ ‘~/tmp/scratch/RtmpVoKwaF’
‘~/tmp/scratch/RtmpWIoaf1’ ‘~/tmp/scratch/RtmpWTK6Vm’
‘~/tmp/scratch/RtmpWWlGRk’ ‘~/tmp/scratch/RtmpXi2Qzb’
‘~/tmp/scratch/RtmpXuRtSP’ ‘~/tmp/scratch/RtmpYFtqxI’
‘~/tmp/scratch/RtmpYvyk1Y’ ‘~/tmp/scratch/RtmpZD7asa’
‘~/tmp/scratch/Rtmpa43QEs’ ‘~/tmp/scratch/Rtmpa7c7yk’
‘~/tmp/scratch/RtmpaIUSH8’ ‘~/tmp/scratch/RtmpaQ1jXD’
‘~/tmp/scratch/RtmpbNIDak’ ‘~/tmp/scratch/RtmpcIP2vR’
‘~/tmp/scratch/RtmpcNWpnW’ ‘~/tmp/scratch/RtmpcsIrdt’
‘~/tmp/scratch/Rtmpd3Ybfx’ ‘~/tmp/scratch/RtmpdHdjFx’
‘~/tmp/scratch/RtmpdbeJa4’ ‘~/tmp/scratch/RtmpdpIU1E’
‘~/tmp/scratch/RtmpdxKmuC’ ‘~/tmp/scratch/Rtmpe0xz8a’
‘~/tmp/scratch/Rtmpe1pA5s’ ‘~/tmp/scratch/RtmpeHV1cT’
‘~/tmp/scratch/RtmpeOe1D1’ ‘~/tmp/scratch/Rtmpf2L0hw’
‘~/tmp/scratch/Rtmpf4OIpA’ ‘~/tmp/scratch/RtmpfBbffr’
‘~/tmp/scratch/RtmpgEjrYT’ ‘~/tmp/scratch/RtmpgFsEsI’
‘~/tmp/scratch/RtmpgGpnGp’ ‘~/tmp/scratch/Rtmpgdu0ix’
‘~/tmp/scratch/Rtmpgue4qH’ ‘~/tmp/scratch/RtmpgvY5dV’
‘~/tmp/scratch/Rtmph4SckB’ ‘~/tmp/scratch/RtmphYxhEE’
‘~/tmp/scratch/RtmphyiKIA’ ‘~/tmp/scratch/Rtmpi0344M’
‘~/tmp/scratch/RtmpiAL3Fl’ ‘~/tmp/scratch/RtmpiCk4Hq’
‘~/tmp/scratch/RtmpiGeT28’ ‘~/tmp/scratch/RtmpiKQMMq’
‘~/tmp/scratch/RtmpiykCBa’ ‘~/tmp/scratch/Rtmpja2lzG’
‘~/tmp/scratch/RtmpklA29z’ ‘~/tmp/scratch/Rtmpl8shx9’
‘~/tmp/scratch/RtmplBvhxd’ ‘~/tmp/scratch/Rtmplah67F’
‘~/tmp/scratch/RtmpltRO5r’ ‘~/tmp/scratch/RtmplwtQs1’
‘~/tmp/scratch/RtmpmLexma’ ‘~/tmp/scratch/RtmpmNLke2’
‘~/tmp/scratch/RtmpmRb53n’ ‘~/tmp/scratch/Rtmpmqt53B’
‘~/tmp/scratch/RtmpntwI9l’ ‘~/tmp/scratch/RtmpooR2Ee’
‘~/tmp/scratch/Rtmpp51iu5’ ‘~/tmp/scratch/RtmpqHxWz2’
‘~/tmp/scratch/RtmpqdVvfa’ ‘~/tmp/scratch/Rtmpr8dyk9’
‘~/tmp/scratch/RtmprA8Vhp’ ‘~/tmp/scratch/RtmprEBHeV’
‘~/tmp/scratch/RtmprMicC4’ ‘~/tmp/scratch/Rtmpro6DLa’
‘~/tmp/scratch/RtmpsDXGpM’ ‘~/tmp/scratch/RtmpsWpVMB’
‘~/tmp/scratch/RtmpsXgHPH’ ‘~/tmp/scratch/RtmpswK9g8’
‘~/tmp/scratch/Rtmpu9zlel’ ‘~/tmp/scratch/RtmpuMKFxX’
‘~/tmp/scratch/Rtmpv9Vxfd’ ‘~/tmp/scratch/RtmpvBIQ1v’
‘~/tmp/scratch/Rtmpw2E09p’ ‘~/tmp/scratch/Rtmpw5btz0’
‘~/tmp/scratch/RtmpwKqirP’ ‘~/tmp/scratch/Rtmpy2R0sK’
‘~/tmp/scratch/RtmpysbDig’ ‘~/tmp/scratch/Rtmpytlh4I’
‘~/tmp/scratch/RtmpzLFJFp’ ‘~/tmp/scratch/RtmpzaHGNZ’
‘~/tmp/scratch/RtmpzdouC1’ ‘~/tmp/scratch/RtmpzyuHEN’
‘~/tmp/scratch/xvfb-run.0qxfDi’ ‘~/tmp/scratch/xvfb-run.3zh3aZ’
‘~/tmp/scratch/xvfb-run.4DyIMN’ ‘~/tmp/scratch/xvfb-run.4w0dOs’
‘~/tmp/scratch/xvfb-run.92SM3J’ ‘~/tmp/scratch/xvfb-run.A5BIWK’
‘~/tmp/scratch/xvfb-run.AXckoJ’ ‘~/tmp/scratch/xvfb-run.BoCqAd’
‘~/tmp/scratch/xvfb-run.DryF9f’ ‘~/tmp/scratch/xvfb-run.E5lswl’
‘~/tmp/scratch/xvfb-run.EqHtr4’ ‘~/tmp/scratch/xvfb-run.Fu7WjP’
‘~/tmp/scratch/xvfb-run.GrGFwL’ ‘~/tmp/scratch/xvfb-run.HqbHck’
‘~/tmp/scratch/xvfb-run.JWOujN’ ‘~/tmp/scratch/xvfb-run.JZ9FDE’
‘~/tmp/scratch/xvfb-run.KVOlHd’ ‘~/tmp/scratch/xvfb-run.LRiCXA’
‘~/tmp/scratch/xvfb-run.NDUQuA’ ‘~/tmp/scratch/xvfb-run.NRvUfL’
‘~/tmp/scratch/xvfb-run.OsUz5V’ ‘~/tmp/scratch/xvfb-run.P35Hmj’
‘~/tmp/scratch/xvfb-run.P4R6CQ’ ‘~/tmp/scratch/xvfb-run.ROS5xK’
‘~/tmp/scratch/xvfb-run.VhWovc’ ‘~/tmp/scratch/xvfb-run.W8grRD’
‘~/tmp/scratch/xvfb-run.XglqvT’ ‘~/tmp/scratch/xvfb-run.Ytq9C5’
‘~/tmp/scratch/xvfb-run.ZZbVQi’ ‘~/tmp/scratch/xvfb-run.fIMT5n’
‘~/tmp/scratch/xvfb-run.fR6hhc’ ‘~/tmp/scratch/xvfb-run.frL8UT’
‘~/tmp/scratch/xvfb-run.gjct19’ ‘~/tmp/scratch/xvfb-run.gxDFSZ’
‘~/tmp/scratch/xvfb-run.hhVeBd’ ‘~/tmp/scratch/xvfb-run.hnopwc’
‘~/tmp/scratch/xvfb-run.i61gSs’ ‘~/tmp/scratch/xvfb-run.itiotv’
‘~/tmp/scratch/xvfb-run.ivAtzv’ ‘~/tmp/scratch/xvfb-run.ju3lbL’
‘~/tmp/scratch/xvfb-run.k7XzgU’ ‘~/tmp/scratch/xvfb-run.kQ5MPP’
‘~/tmp/scratch/xvfb-run.kTRCjy’ ‘~/tmp/scratch/xvfb-run.nAwI39’
‘~/tmp/scratch/xvfb-run.pqAZhQ’ ‘~/tmp/scratch/xvfb-run.qOuXIS’
‘~/tmp/scratch/xvfb-run.qpZ1Kr’ ‘~/tmp/scratch/xvfb-run.qymNIu’
‘~/tmp/scratch/xvfb-run.sWrMfC’ ‘~/tmp/scratch/xvfb-run.sYLAsv’
‘~/tmp/scratch/xvfb-run.sZNHNw’ ‘~/tmp/scratch/xvfb-run.stpABY’
‘~/tmp/scratch/xvfb-run.uN22Ji’ ‘~/tmp/scratch/xvfb-run.wETdPV’
‘~/tmp/scratch/xvfb-run.xLnGl5’
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