-
Notifications
You must be signed in to change notification settings - Fork 143
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
check_installed()
doesn't recognize a load_all()
'd package as installed
#1413
Comments
Worth noting that an interactive call to |
Ah ok so I was surprised that So I think we'd need a pkgload release before the next rlang release for this to be compatible with previous behavior. # pak::pak(c("r-lib/pkgload", "r-lib/rlang"))
> rlang::is_installed("hardhat")
[1] TRUE
> devtools::load_all(".")
ℹ Loading hardhat
> rlang::is_installed("hardhat")
[1] TRUE |
oh yeah I forgot this was not on CRAN already :( |
I've started the release process of pkgload. |
This comes up in a test for hardhat. I have a
create_modeling_package()
function that is modeled after usethis, it creates a new package and callsuse_package("hardhat", type = "Imports")
to set up the description file of that package.use_package()
eventually callscheck_installed("hardhat")
and this is failing in my test forcreate_modeling_package()
now.The text was updated successfully, but these errors were encountered: