-
Notifications
You must be signed in to change notification settings - Fork 153
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
Pak has trouble finding r-universe packages through renv? #2060
Comments
It seems like part of the solution is to manually tell pak to install things by running pak::pak(pkg = 'cmdstanr=url::https://stan-dev.r-universe.dev/src/contrib/cmdstanr_0.8.1.tar.gz') However, if I do Here's the updated renv.lock filerenv.lock2.txt I end up getting this error message
|
It'd be nice if there was a way to update/install specific dependencies on our own and to let |
Apparently pak is putting the following fields in the DESCRIPTION file: RemoteUrl: https://github.com/stan-dev/cmdstanr
RemoteRef: v0.8.1
RemoteSha: 02259ef7aa2a8b1c8de2fa3fc42a9feafd789288
RemotePkgRef: cmdstanr=url::https://stan-dev.r-universe.dev/src/contrib/cmdstanr_0.8.1.tar.gz
RemoteType: url
RemoteEtag: 6b0a172a497ddd0c
RemotePackaged: TRUE The |
Also, these issues will be much easier to diagnose if you can provide a reproducible example, or at least the full output logs of the code you're running and the output + errors you're seeing. |
Sorry, I was away for a while. So I'm trying to understand what's happening--it seems like the Also, I saw your note regarding r-universe having updated something and I tried to do a The
Here is my .Rprofile options(renv.config.pak.enabled = TRUE)
options(renv.config.cache.symlinks = FALSE)
options(renv.settings.ignored.packages = "hBayesDM")
source("renv/activate.R") And I'm attaching my renv.lock Is there something I might be able to do to help? Please let me know, it'd be a huge help to be able to use |
Hello,
For some reason, pak seems to be having trouble restoring cmdstanr using pak through renv.
This is when my .Rprofile has the following lines
And attached is my lockfile. renv.lock.txt
The text was updated successfully, but these errors were encountered: