Closed olivroy closed 1 year ago
Can you install packages with pak from GitHub without RTools installed?
You cannot currently, because pkgbuild checks for RTools, even if the package does not need compilation.
Because
remotes::install_github("r-lib/usethis")
worked.
Because that probably does not use pkgbuild.
duplicate of #165. I didn't realise I was using an older version of pkgbuild
Closing as duplicate of #165 thanks!
You cannot currently, because pkgbuild checks for RTools, even if the package does not need compilation.
If it is planned that pak uses pkgbuild
unconditionally for this, it may be worth adding some doc to pak to warn about this, as tidyverse advertises pak
more in README pages.
Fortunately, with pkgbuild 1.4.2 the instructions are more clear :)
Edit: I just saw that you may want to change this in r-lib/pak#225
I have 2 versions of R installed on Windows.
R 4.2.3 + RTools42 R 4.3.0 (No RTools)
When running with R 4.3.0 an installation
Maybe I am mistaken and this is an intended behaviour.
Can you install packages with
pak
from GitHub without RTools installed? Becauseremotes::install_github("r-lib/usethis")
worked.Details of the error message