Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Installation issue through devtools #5

Open
MikkoVihtakari opened this issue May 22, 2019 · 3 comments
Open

Installation issue through devtools #5

MikkoVihtakari opened this issue May 22, 2019 · 3 comments

Comments

@MikkoVihtakari
Copy link

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
Copy link
Author

This seems to be an unresolved issue with Rstudio: rstudio/rstudio#3563 (comment)

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

options(buildtools.check = NULL)
devtools::install_github("REDUS-IMR/RNMDAPI")

@iambaim
Copy link
Contributor

iambaim commented May 22, 2019

@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
Copy link
Author

@iambaim tested. Returns the same error.

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