Having problems installing the gt package

I'm trying to install gt from github and am having issues. Please see error below

remotes::install_github("rstudio/gt")

Downloading GitHub repo rstudio/sass@master
trying URL 'https://cran.rstudio.com/bin/windows/Rtools/Rtools35.exe'
Content type 'application/x-msdownload' length 108622512 bytes (103.6 MB)
downloaded 103.6 MB

Error: Could not find tools necessary to compile a package
In addition: Warning messages:
1: In untar2(tarfile, files, list, exdir) :
skipping pax global extended headers
2: In untar2(tarfile, files, list, exdir) :
skipping pax global extended headers
3: In untar2(tarfile, files, list, exdir) :
skipping pax global extended headers
4: In untar2(tarfile, files, list, exdir) :
skipping pax global extended headers

You have to install the necessary tools for compiling packages, the solution to this depends on your Operating System, which OS are you using?

2 Likes

OS Name Microsoft Windows 10 Enterprise

Then you have to download and install Rtools
https://cran.r-project.org/bin/windows/Rtools/

2 Likes

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.