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

Dependency persistence issue #1262

Open
EricZnevergiveup opened this issue Mar 10, 2025 · 0 comments
Open

Dependency persistence issue #1262

EricZnevergiveup opened this issue Mar 10, 2025 · 0 comments

Comments

@EricZnevergiveup
Copy link

Dear maintainers,

I'm encountering a dependency persistence issue while using the gcamdata package. Here's the specific situation:

Following the official documentation (https://jgcri.github.io/gcamdata/articles/getting-started/getting-started.html), I installed the required dependencies for gcamdata using renv. After the initial installation, I was able to successfully run the example code from the video tutorial, and the driver_drake() function worked properly.

However, after closing the gcamdata Rproj and restarting my computer, when I reopened the gcamdata Rproj and activated renv using renv::activate(), the following issues occurred:

  1. RStudio indicated that one or more packages were not installed
  2. After installing these supposedly missing packages as prompted
  3. While I can start gcamdata using devtools::load_all()
  4. The drake package is still reported as missing

I would like to ask:

  1. Is this a known issue with the renv setup?
  2. Are there additional steps needed to ensure drake remains available between sessions?
  3. How should I properly maintain the project dependencies, particularly ensuring the persistence of the drake package?

Thank you for your help!

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

1 participant