Problem with Rtools

so i'm new to Rstudio
using R3.6.2 with Rtools 3.5 I have manually installed the .exe for Rtools
the problem I have is when i try to run this in Rstudio. install.packages("jsonlite", type = "source"). I get the following error

* installing *source* package 'jsonlite' ...
** package 'jsonlite' successfully unpacked and MD5 sums checked
** using staged installation
** libs

*** arch - i386
Warning in system(cmd) :
  'CreateProcess' failed to run 'C:\Rtools\bin\make.exe -f "Makevars" -f "C:/PROGRA~1/R/R-36~1.2/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-36~1.2/share/make/" SHLIB="jsonlite.dll" OBJECTS="base64.o collapse_array.o collapse_object.o collapse_pretty.o escape_chars.o integer64_to_na.o is_datelist.o is_recordlist.o is_scalarlist.o modp_numtoa.o null_to_na.o num_to_char.o parse.o prettify.o push_parser.o r-base64.o register.o row_collapse.o transpose_list.o validate.o"'
ERROR: compilation failed for package 'jsonlite'
* removing 'C:/Users/******/Documents/R/win-library/3.6/jsonlite'
* restoring previous 'C:/Users/******/Documents/R/win-library/3.6/jsonlite'
Warning in install.packages :
  installation of package ‘jsonlite’ had non-zero exit status

be grateful if someone could point me in the right direction

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.