Running 'testthat.R' [37s/40s]
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: 0x19d43c0>
  R_GlobalEnv env_of_envs       envir 
       "env2"      "env2"      "env2" 
  correct memory address: <0x780bd90> 
  observed result: TRUE 
  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
  -- 1. Failure: T10a) when obj_find() is called from within an environment using 
  `observed` not equal to `expected`.
  2/2 mismatches
  x[1]: "base$eval$env2"
  y[1]: "env_of_envs"
  
  x[2]: "env_of_envs"
  y[2]: "env_of_envs$env2"
  
  -- 2. Error: T21) specifying include_functions=TRUE returns ALL the function env
  The test did NOT pass in any of its forms.
  
  == testthat results  ===========================================================
  [ OK: 310 | SKIPPED: 7 | WARNINGS: 10 | FAILED: 2 ]
  1. Failure: T10a) when obj_find() is called from within an environment using the with() function,
            objects are searched and found in all sub-environments, as well as in packages and environments
            reachable through the search() path when envir=NULL (@test-obj_find.r#256) 
  2. Error: T21) specifying include_functions=TRUE returns ALL the function environments where the object is found (@test-obj_find.r#411) 
  
  Error: testthat unit tests failed
  Execution halted