REDUS-IMR / RNMDAPI

R library for reading IMR NMD data formats
GNU Lesser General Public License v3.0
1 stars 2 forks source link

Installation issue through devtools #5

Open MikkoVihtakari opened 5 years ago

MikkoVihtakari commented 5 years ago

Windows 10, Rstudio 1.2.1335 and R 3.6.0

Running devtools::install_github("REDUS-IMR/RNMDAPI") prompts a following pop-up:

Install Build Tools

Building R package from source requires installation of additional build tools.

Do you want to install the additional tools not?

Yes/No

and returns Error: Could not find tools necessary to compile a package no matter what user answers to the prompt (answering yes attempts to install Rtools, even though Rtools is already running and working on the computer).

Tested installing other packages on GitHub using install_github and their installation works.

MikkoVihtakari commented 5 years ago

This seems to be an unresolved issue with Rstudio: https://github.com/rstudio/rstudio/issues/3563#issuecomment-493661049

Deactivating the build tools check worked as suggested by @cderv.

options(buildtools.check = NULL)
devtools::install_github("REDUS-IMR/RNMDAPI")
iambaim commented 5 years ago

@MikkoVihtakari, Thank you for the report and also for the temporary solution!

I'm just wondering, do you get the same error if you run Rstudio as an Administrator?

MikkoVihtakari commented 5 years ago

@iambaim tested. Returns the same error.