How to manage dependencies for an R project manually?

Viewed 96

I'm aware of, and have been looking at, renv. The issue is that when using renv with renv::init() it will scrape through the repo for any .R files and add them to the renv.lock, which is a (often large) json file.

If I want to add a package manually (such as styler or docopt) this isn't straightforward.

I disagree with this being closed

Just editing to state that, I think this would be a useful question to have answered

Note - I've added this back in, I also disagree with the previous edit of:

not accepting the answer of community is bad idea.

0 Answers
Related