1

I've followed the instructions here to a T

https://cran.r-project.org/bin/windows/Rtools/

When I run the test on the jsonlite package I still get

WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

and then

Error: ERROR: no permission to install to directory 'C:/Users/fl014036/Documents/R/R-3.6.2/library'
Warning in install.packages :
  installation of package ‘jsonlite’ had non-zero exit status
Phil
  • 7,287
  • 3
  • 36
  • 66
jarichardson
  • 165
  • 8
  • 2
    possible duplicate https://stackoverflow.com/q/47539125/5784831? – Christoph Nov 11 '20 at 17:14
  • @Christoph possibly....I saw some lines in there that seemed to help. The 2 Sys.setenv ones. It has eliminated my warning that rtools is not installed but I still have the permission error. That sounds like I need to run as admin. Will test that out. – jarichardson Nov 11 '20 at 17:37
  • 1
    What R version are you running (seems like 3.6.2)? What version of RTools did you install? – MrFlick Nov 11 '20 at 18:55

0 Answers0