Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

R 4.0 Path to rtools in Windows #99

Closed
dmenne opened this issue Apr 17, 2020 · 2 comments
Closed

R 4.0 Path to rtools in Windows #99

dmenne opened this issue Apr 17, 2020 · 2 comments

Comments

@dmenne
Copy link

dmenne commented Apr 17, 2020

  • Uninstalled old R-Tools, removed all PATH related to rtools

  • Uninstalled R 3.5

  • Installed R 4.0 RC, updated libraries all ok when no rebuild required.

  • Installed rtools in default directors rtools40 with windows installer.

  • Added path to C:\rtools40\mingw64\bin. c++ and g++ can be called from command line

  • https://cloud.r-project.org/bin/windows/testing/rtools40.html: No path set in .Renviron

  • Rtools from R not found. Tried dozens of paths variants

> pkgbuild::with_build_tools()
Fehler: Could not find tools necessary to compile a package
Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
> devtools::find_rtools()
WARNING: Rtools is required to build R packages, but the version of Rtools previously installed in C:/rtools40 has been deleted.
Please download and install Rtools custom from https://cran.r-project.org/bin/windows/Rtools/.
@jeroen
Copy link
Member

jeroen commented Apr 17, 2020

We are still migrating the windows infrastructure. Please try again after the weekend...

@jeroen
Copy link
Member

jeroen commented Apr 28, 2020

This should be fixed now in the latest rtools/pkgbuild.

@jeroen jeroen closed this as completed Apr 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants