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