简体   繁体   中英

Is Rtools incompatible with R version 3.5.1?

I have tried install.packages("Rtools") , but this provides an error that states

package 'Rtools' is not available (for R version 3.5.1)

Given that the latest version of R is just a week old, should I wait for the R developers to catch up, or is this a bug I should report?

No, I think it's related to devtools . You can check that devtools:::version_info is lacking 3.5 . You could use this as a workaround:

library(devtools)
assignInNamespace("version_info", c(devtools:::version_info, list("3.5" = list(version_min = "3.3.0", version_max = "99.99.99", path = "bin"))), "devtools")

Now your install commands for any package that needs compilation will work again, assuming you have version 3.5 of it installed from https://cran.r-project.org/bin/windows/Rtools/ .

See here for reference: https://github.com/r-lib/devtools/issues/1772

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM