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?