I have an R package that has 3 R package dependencies: JSONLite, R6 and httr.
I want to make sure these packages are installed on clients PC and if not try to install them.
At present we show:
Loading required package: R6
Loading required package: jsonlite
Loading required package: httr
I am not sure if we can ask user to install each but would like to. If a package was missing we could ask
The required package "httr' is not installed. Install now (y/n)?
Examples that may help:
[login to view URL]%F0%9F%93%A6-managing-dependencies-in-packages/
[login to view URL]
5 freelancers are bidding on average $24 for this job
Hi Your project is simple You need a code that checks for the packages availability install them if not present and then call them and if installed just call them Waiting to hear from you Regards