Skip to content

Help provider not working with renv projects without required packages #1091

@renkun-ken

Description

@renkun-ken

In renv projects, it is often a good practice only to include necessary packages. However, vscode-R help provider (e.g. getAliases.R) requires jsonlite to write the info. If the package is not installed in the renv project, then it won't work.

#1071 implements a vscode setting r.lsp.libPaths to support extra .libPaths() for the language server to start with. Maybe we should do similar in getAliases.R or eliminate the dependency on jsonlite?

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