Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation failed #3

Open
kadiRgoceR opened this issue Oct 10, 2017 · 3 comments
Open

Installation failed #3

kadiRgoceR opened this issue Oct 10, 2017 · 3 comments

Comments

@kadiRgoceR
Copy link

After running this command: devtools::install_github("hrbrmstr/msgxtractr")
I become this failure msg:
Installation failed: Could not find build tools necessary to build msgxtractr

Rtools are installed and setted at path:
C:\RBuildTools\3.4\bin\make.exe
c:\Rtools\bin\make.exe

SessionInfo:

R version 3.4.1 (2017-06-30)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default
attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] httr_1.3.1 compiler_3.4.1 R6_2.2.2 tools_3.4.1 withr_2.0.0 curl_2.8.1 yaml_2.1.14 memoise_1.1.0
[9] git2r_0.19.0 digest_0.6.12 devtools_1.13.3

What can the problem be? I have tried it with remotes::github:install and githubinstall("msgxtractr") but none of them worked

Thank you for your help!

@hrbrmstr
Copy link
Owner

Do other C[++]-backed packages install from source? Installation failed: Could not find build tools necessary to build msgxtractr is definitely something being generated by "R"-proper and not as a result of the pkg (if it were the pkg the appveyor — https://ci.appveyor.com/project/hrbrmstr/msgxtractr — build wld fail). I shld have my local Windows VM environment back later this week (requires a VMware upgrade) and can see if there's a particular way the R tools need to be setup (I don't use Windows on a regular basis).

@kadiRgoceR
Copy link
Author

Ok, I understand the problem. I am going to try it with my linux machine tomorrow.
Thanks and have a nice day.

@ghost
Copy link

ghost commented Jan 3, 2018

I had the same issue solved by a proper Rtools re-installation in the standard directory (C:\Rtools) instead of the default directory of the Rtools' installer. On the "destination" screen, change the installation directory to "C:\Rtools" and then check if the Paths are correct. For my part, on Win7 64bits, it solved this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants