New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have a test()
function, similar to devtools::test()
#1030
Comments
The primary advantage is that we could just call |
Hmmm, the only place we actually use it is: maybe_root_dir <- function(path) {
tryCatch(pkgload::pkg_path(path), error = function(...) path)
} But I think it still makes sense to add this function, since pkgload is a lightweight dependency, and this would be a useful feature. A few notes from reading
What would we call it? Maybe |
There is |
|
If we do this, might as well review all the uses of devtools and replace with pkgload. devtools is only suggested, but it requires a lot of compilation on the mac devel build machine. |
testthat already uses pkgload for package loading, so there is not much benefit using devtools.
The text was updated successfully, but these errors were encountered: