Skip to content

Load jsonlite and rlang from custom lib.loc so session watcher can start from renv project #584

@adamaltmejd

Description

@adamaltmejd

Right now when running R from a renv project where the packages are not installed the session watcher does not work but throws:

VSCode R Session Watcher requires jsonlite, rlang. Please install manually in order to use VSCode-R.

I can of course install the packages in the project but don't want my projects to include unnecessary dependencies. Would it be possible to set a custom library location for requireNamespace() somehow?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions