code chunks in .Rmd file appear to use computer directory for libraries and not renv project folder
Describe the bug Hello, sorry if I do not provide any reprex but I am not sure how to do so for my specific problem.
I was wondering why running code chunks in my .Rmd file results in errors telling that x package is not installed, when I have it installed in the .renv folder of my main project folder. Is there a way to specify the path somewhere so that any code chunks in the .Rmd file look for packages in .renv and not in my computer folders?
When I installed the package outside of my folder, running the code chunk worked, so I believe that it is looking for libraries outside of the project folder
Environment:
- OS: Windows 11 Pro
- VSCode Version: 1.78.2
- R Version: 4.1.3
- vscode-R version: 2.8.0
This issue is stale because it has been open for 365 days with no activity.