Skip to content
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

Add LegendT2dm to renv.lock #7

Open
schuemie opened this issue Nov 12, 2021 · 3 comments
Open

Add LegendT2dm to renv.lock #7

schuemie opened this issue Nov 12, 2021 · 3 comments
Assignees

Comments

@schuemie
Copy link
Contributor

The current instructions assume the user has git installed, and knows how to clone a project. Worse still, the instructions don't mention that that is what the user is expected to do, causing confusion.

I recommend adding LegendT2dm to the renv lock file, and instruct users to download the lock file and initialize renv like this

@msuchard
Copy link
Member

Point well taken! There's difficulties with the direct renv.lock download approach as well. Am working on this.

@schuemie
Copy link
Contributor Author

Could you let me know what those difficulties are? I'm currently recommending the direct renv.lock download approach on the HADES site

@rbcavanaugh
Copy link

rbcavanaugh commented Aug 18, 2023

Not sure if it's helpful for an update here, but just in case this is useful for others. I'm helping install on a new AWS/windows workspace and the only way I can get it to install somewhat cleanly is to run the following in order. nloptr is problematic at the current version where there are no longer binaries. And without updating renv, I get constant installation errors at the restore() step and the build and install step. VM image includes R 4.1.2 by default and I haven't touched that - updating to 4.3.x seems to cause issues for MASS and a few other packages.

install.packages("renv")
renv::activate()
renv::record("nloptr@2.0.3")
install.packages("nloptr")
renv::restore()
renv::upgrade()
renv::record("renv@1.0.2")
# use GUI to install & build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants