Is your feature request related to a problem?
To conveniently add additions and tests for R/utils.R the tests associated with this file should pass non-interactively (which they do) and interactively (which they don't).
The latter is useful for dev-work which sometimes has repeated devtools::test_active_file() calls for that file.
Currently, devtools::test_active_file() fails for tests/testthat/test-utils.R
Eventually, it might also be useful to have a higher test coverage for R/utils.R for which refactoring that file might be useful too.
Describe the solution you'd like
change tests/testthat/test-utils.R so that devtools::test_active_file() passes without error
Additional context
surprisingly, library(golem) and devtools::test_active_file() work inside RStudio but not inside vscode (from which the above screenshot is)
Is your feature request related to a problem? To conveniently add additions and tests for
R/utils.R
the tests associated with this file should passnon-interactively
(which they do) andinteractively
(which they don't).The latter is useful for dev-work which sometimes has repeated
devtools::test_active_file()
calls for that file.Currently,
devtools::test_active_file()
fails fortests/testthat/test-utils.R
Eventually, it might also be useful to have a higher test coverage for
R/utils.R
for which refactoring that file might be useful too.Describe the solution you'd like
tests/testthat/test-utils.R
so thatdevtools::test_active_file()
passes without errorAdditional context
library(golem)
anddevtools::test_active_file()
work inside RStudio but not inside vscode (from which the above screenshot is)