Error in R: (Package Which Is Only Available in Source Form, and May Need Compilation of C/C++/Fortran)

Install packages requiring C/C++/Fortran with CRAN/Check_rhub

I had similar issues recently.
This resolved it, using the rhub package :

  rhub::check(
platform="windows-x86_64-devel",
env_vars=c(R_COMPILE_AND_INSTALL_PACKAGES = "always")
)

I think you should be able to pass that env_vars argument to devtools::check_rhub() function as well.

R keeps asking about installing from sources that need compilation

For packages where it says
needs compilation : TRUE
you would need RTools if you hit "n" on the dialog box.

RTools usually are installed in the C: Drive on Windows.

This question is similar to yours.

How do I install an R package from source?



Related Topics



Leave a reply



Submit