-
Notifications
You must be signed in to change notification settings - Fork 48
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
load_all() errors when some packages need to be installed. #261
Comments
Do you get the same error if you run |
I am pretty sure it would be an issue with pak then. because the prompt is very handy when you do maybe it happens only when you don't have the package forked already installed, this happens. If you look at the session info, it says "Package removed from disk" |
@lionel- , I figured it out. deps <- pak::pkg_deps(path, upgrade = FALSE)
pkgload (or devtools?) normalizes the path. So even if I call I think it could be replaced by Otherwise, would require |
It happened a couple times. It happened when I forked https://github.com/ProjectMOSAIC/mosaic
with
usethis::create_from_github("ProjectMOSAIC/mosaic")
and thenusethis::pr_init("branch")
+load_all()
.I have
library(devtools)
loaded if that helps. and had to usesetwd()
as the package had some weird .Rproj file. But it is unrelated. It happened to me before. Related to #184I don't really know what may be causing this.
Session Info
The text was updated successfully, but these errors were encountered: