Skip to content

Dependency persistence issue #1262

Open
@EricZnevergiveup

Description

@EricZnevergiveup

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions