Change qenv
as environment
"type" -- adds names(qenv/qenv.error)
, get()
and $
S3 methods
#188
GitHub Actions / Unit Tests Summary
failed
Nov 5, 2024 in 0s
1 errors, 1 fail, 2 skipped, 117 pass in 1s
1 files 10 suites 1s ⏱️
121 tests 117 ✅ 2 💤 1 ❌ 1 🔥
216 runs 212 ✅ 2 💤 1 ❌ 1 🔥
Results for commit 7ea19e3.
Annotations
Check failure on line 0 in qenv_constructor
github-actions / Unit Tests Summary
names_shows_nothing_on_empty_environment (qenv_constructor) with error
teal.code.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `names(qenv(), all.names = TRUE)`: 2 arguments passed to 'names' which requires 1 ('test-qenv_constructor.R:7:5')
Error in `names(qenv(), all.names = TRUE)`: 2 arguments passed to 'names' which requires 1
Backtrace:
▆
1. └─testthat::expect_identical(names(qenv(), all.names = TRUE), character(0)) at test-qenv_constructor.R:7:5
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
Check warning on line 0 in qenv_constructor
github-actions / Unit Tests Summary
names_does_not_show_hidden_objects (qenv_constructor) failed
teal.code.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
names(q) (`actual`) and "iris" (`expected`) don't have the same values. ('test-qenv_constructor.R:20:5')
names(q) (`actual`) and "iris" (`expected`) don't have the same values.
* Only in `expected`: ".hidden"
Loading