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

Issue while installing devtools::install_github("r-lib/rlang") #16

Open
jaisri1991 opened this issue May 8, 2018 · 0 comments
Open

Comments

@jaisri1991
Copy link

Hi all,

I'm having trouble installing rland on windows 10. I am using R studio Version 1.1.442 – © 2009-2018 RStudio, Inc.

ERROR:

devtools::install_github("r-lib/rlang")
Downloading GitHub repo r-lib/rlang@master
from URL https://api.github.com/repos/r-lib/rlang/zipball/master
Installing rlang
"C:/PROGRA1/R/R-341.4/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL
"C:/Users/jaisri.s/AppData/Local/Temp/RtmpS6AzWp/devtools2a3861af857/r-lib-rlang-1da4a6a"
--library="C:/Users/jaisri.s/Documents/R/win-library/3.4" --install-tests

  • installing source package 'rlang' ...
    ** libs
    c:/Rtools/mingw_64/bin/gcc -I"C:/PROGRA1/R/R-341.4/include" -DNDEBUG -I./lib/ -O2 -Wall -std=gnu99 -mtune=generic -c capture.c -o capture.o
    c:/Rtools/mingw_64/bin/gcc -I"C:/PROGRA1/R/R-341.4/include" -DNDEBUG -I./lib/ -O2 -Wall -std=gnu99 -mtune=generic -c export.c -o export.o
    In file included from export.c:1:0:
    export/exported.c: In function 'rlang_cnd_type':
    export/exported.c:28:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    c:/Rtools/mingw_64/bin/gcc -I"C:/PROGRA1/R/R-341.4/include" -DNDEBUG -I./lib/ -O2 -Wall -std=gnu99 -mtune=generic -c internal.c -o internal.o
    c:/Rtools/mingw_64/bin/gcc -I"C:/PROGRA1/R/R-341.4/include" -DNDEBUG -I./lib/ -O2 -Wall -std=gnu99 -mtune=generic -c lib.c -o lib.o
    In file included from lib.c:8:0:
    lib/cnd.c:142:24: fatal error: Rinterface.h: No such file or directory
    #include <Rinterface.h>
    ^
    compilation terminated.
    make: *** [lib.o] Error 1
    Warning: running command 'make -f "Makevars" -f "C:/PROGRA1/R/R-341.4/etc/x64/Makeconf" -f "C:/PROGRA1/R/R-341.4/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="rlang.dll" WIN=64 TCLBIN=64 OBJECTS="capture.o export.o internal.o lib.o"' had status 2
    ERROR: compilation failed for package 'rlang'
  • removing 'C:/Users/jaisri.s/Documents/R/win-library/3.4/rlang'
  • restoring previous 'C:/Users/jaisri.s/Documents/R/win-library/3.4/rlang'
    In R CMD INSTALL
    Installation failed: Command failed (1)
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

1 participant