- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我一直在与包作者联系,了解我在 HLMdiag
包中遇到的错误。他建议我安装开发版 [ https://github.com/aloy/HLMdiag] .所以,我正在尝试从 GitHub 和他发给我的本地版本安装开发版本。我的工作计算机和个人计算机都遇到了错误。我希望用户社区中对此类事情有更多了解的人可以帮助解决这个问题。
我最初的想法是我的工作机器上可能有一些安全协议(protocol)导致了问题,这就是我尝试在个人机器上安装的原因。我在不同的机器上收到不同的错误消息;但仍然无法安装。非常感谢任何帮助。
提前对帖子的长度表示抱歉。我想提供尽可能多的错误消息/日志。
机器 1 -- 个人
sessionInfo()
R version 3.1.2 (2014-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] devtools_1.6.1 tools_3.1.2
尝试 (A) - 直接来自 GitHub
devtools::install_github("aloy/HLMdiag")
Downloading github repo aloy/HLMdiag@master
Installing HLMdiag
"C:/PROGRA~1/R/R-31~1.2/bin/x64/R" --vanilla CMD INSTALL \
"C:\Users\crossfit_al1985\AppData\Local\Temp\Rtmp8o4p3s\devtools24b871ace19\aloy-HLMdiag-3f7977d" \
--library="C:/Users/crossfit_al1985/Documents/R/win-library/3.1" --install-tests
* installing *source* package 'HLMdiag' ...
** libs
*** arch - i386
C:\RBuildTools\3.1\gcc-4.6.3\bin\nm.exe: cooksd_obs.o: File format not recognized
C:\RBuildTools\3.1\gcc-4.6.3\bin\nm.exe: cooksd_subset.o: File format not recognized
C:\RBuildTools\3.1\gcc-4.6.3\bin\nm.exe: covratio.o: File format not recognized
C:\RBuildTools\3.1\gcc-4.6.3\bin\nm.exe: covtrace.o: File format not recognized
C:\RBuildTools\3.1\gcc-4.6.3\bin\nm.exe: linear_algebra_fnc.o: File format not recognized
C:\RBuildTools\3.1\gcc-4.6.3\bin\nm.exe: mdffits_subset.o: File format not recognized
g++ -m32 -shared -s -static-libgcc -o HLMdiag.dll tmp.def cooksd_obs.o cooksd_subset.o covratio.o covtrace.o linear_algebra_fnc.o mdffits_subset.o -LC:/PROGRA~1/R/R-31~1.2/bin/i386 -lRlapack -LC:/PROGRA~1/R/R-31~1.2/bin/i386 -lRblas -lgfortran -Ld:/RCompile/CRANpkg/extralibs64/local/lib/i386 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LC:/PROGRA~1/R/R-31~1.2/bin/i386 -lR
cooksd_obs.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'HLMdiag'
* removing 'C:/Users/crossfit_al1985/Documents/R/win-library/3.1/HLMdiag'
* restoring previous 'C:/Users/crossfit_al1985/Documents/R/win-library/3.1/HLMdiag'
Error: Command failed (1)
尝试 (B) - 通过本地的 install.packages()
setwd(...)
install.packages("./HLMdiag_0.3.0.tar.gz", repos = NULL, type = "source")
Installing package into ‘C:/Users/crossfit_al1985/Documents/R/win-library/3.1’
(as ‘lib’ is unspecified)
* installing *source* package 'HLMdiag' ...
** libs
*** arch - i386
cygwin warning:
MS-DOS style path detected: C:/PROGRA~1/R/R-31~1.2/etc/i386/Makeconf
Preferred POSIX equivalent is: /cygdrive/c/PROGRA~1/R/R-31~1.2/etc/i386/Makeconf
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c cooksd_obs.cpp -o cooksd_obs.o
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c cooksd_subset.cpp -o cooksd_subset.o
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c covratio.cpp -o covratio.o
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c covtrace.cpp -o covtrace.o
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c linear_algebra_fnc.cpp -o linear_algebra_fnc.o
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c mdffits_subset.cpp -o mdffits_subset.o
g++ -m32 -shared -s -static-libgcc -o HLMdiag.dll tmp.def cooksd_obs.o cooksd_subset.o covratio.o covtrace.o linear_algebra_fnc.o mdffits_subset.o -LC:/PROGRA~1/R/R-31~1.2/bin/i386 -lRlapack -LC:/PROGRA~1/R/R-31~1.2/bin/i386 -lRblas -lgfortran -Ld:/RCompile/CRANpkg/extralibs64/local/lib/i386 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LC:/PROGRA~1/R/R-31~1.2/bin/i386 -lR
installing to C:/Users/crossfit_al1985/Documents/R/win-library/3.1/HLMdiag/libs/i386
*** arch - x64
cygwin warning:
MS-DOS style path detected: C:/PROGRA~1/R/R-31~1.2/etc/x64/Makeconf
Preferred POSIX equivalent is: /cygdrive/c/PROGRA~1/R/R-31~1.2/etc/x64/Makeconf
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
g++ -m64 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c cooksd_obs.cpp -o cooksd_obs.o
g++ -m64 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c cooksd_subset.cpp -o cooksd_subset.o
g++ -m64 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c covratio.cpp -o covratio.o
g++ -m64 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c covtrace.cpp -o covtrace.o
g++ -m64 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c linear_algebra_fnc.cpp -o linear_algebra_fnc.o
g++ -m64 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c mdffits_subset.cpp -o mdffits_subset.o
g++ -m64 -shared -s -static-libgcc -o HLMdiag.dll tmp.def cooksd_obs.o cooksd_subset.o covratio.o covtrace.o linear_algebra_fnc.o mdffits_subset.o -LC:/PROGRA~1/R/R-31~1.2/bin/x64 -lRlapack -LC:/PROGRA~1/R/R-31~1.2/bin/x64 -lRblas -lgfortran -Ld:/RCompile/CRANpkg/extralibs64/local/lib/x64 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LC:/PROGRA~1/R/R-31~1.2/bin/x64 -lR
installing to C:/Users/crossfit_al1985/Documents/R/win-library/3.1/HLMdiag/libs/x64
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Creating a generic function from function 'adjust_lmList' in package 'HLMdiag'
Error in setMethod("lmList", signature(formula = "formula", data = "data.frame"), :
no existing definition for function 'lmList'
Error : unable to load R code in package 'HLMdiag'
ERROR: lazy loading failed for package 'HLMdiag'
* removing 'C:/Users/crossfit_al1985/Documents/R/win-library/3.1/HLMdiag'
* restoring previous 'C:/Users/crossfit_al1985/Documents/R/win-library/3.1/HLMdiag'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-31~1.2/bin/x64/R" CMD INSTALL -l "C:\Users\crossfit_al1985\Documents\R\win-library\3.1" "./HLMdiag_0.3.0.tar.gz"' had status 1
Warning in install.packages :
installation of package ‘./HLMdiag_0.3.0.tar.gz’ had non-zero exit status
尝试 (C) - 通过解压缩和 devtools::install()
setwd(...)
devtools::install("HLMdiag")
Installing HLMdiag
"C:/PROGRA~1/R/R-31~1.2/bin/x64/R" --vanilla CMD INSTALL \
"C:\Users\crossfit_al1985\Downloads\HLMdiag" \
--library="C:/Users/crossfit_al1985/Documents/R/win-library/3.1" --install-tests
* installing *source* package 'HLMdiag' ...
** libs
*** arch - i386
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c cooksd_obs.cpp -o cooksd_obs.o
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c cooksd_subset.cpp -o cooksd_subset.o
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c covratio.cpp -o covratio.o
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c covtrace.cpp -o covtrace.o
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c linear_algebra_fnc.cpp -o linear_algebra_fnc.o
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c mdffits_subset.cpp -o mdffits_subset.o
g++ -m32 -shared -s -static-libgcc -o HLMdiag.dll tmp.def cooksd_obs.o cooksd_subset.o covratio.o covtrace.o linear_algebra_fnc.o mdffits_subset.o -LC:/PROGRA~1/R/R-31~1.2/bin/i386 -lRlapack -LC:/PROGRA~1/R/R-31~1.2/bin/i386 -lRblas -lgfortran -Ld:/RCompile/CRANpkg/extralibs64/local/lib/i386 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LC:/PROGRA~1/R/R-31~1.2/bin/i386 -lR
installing to C:/Users/crossfit_al1985/Documents/R/win-library/3.1/HLMdiag/libs/i386
*** arch - x64
g++ -m64 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c cooksd_obs.cpp -o cooksd_obs.o
g++ -m64 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c cooksd_subset.cpp -o cooksd_subset.o
g++ -m64 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c covratio.cpp -o covratio.o
g++ -m64 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c covtrace.cpp -o covtrace.o
g++ -m64 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c linear_algebra_fnc.cpp -o linear_algebra_fnc.o
g++ -m64 -I"C:/PROGRA~1/R/R-31~1.2/include" -DNDEBUG -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/crossfit_al1985/Documents/R/win-library/3.1/RcppArmadillo/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c mdffits_subset.cpp -o mdffits_subset.o
g++ -m64 -shared -s -static-libgcc -o HLMdiag.dll tmp.def cooksd_obs.o cooksd_subset.o covratio.o covtrace.o linear_algebra_fnc.o mdffits_subset.o -LC:/PROGRA~1/R/R-31~1.2/bin/x64 -lRlapack -LC:/PROGRA~1/R/R-31~1.2/bin/x64 -lRblas -lgfortran -Ld:/RCompile/CRANpkg/extralibs64/local/lib/x64 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LC:/PROGRA~1/R/R-31~1.2/bin/x64 -lR
installing to C:/Users/crossfit_al1985/Documents/R/win-library/3.1/HLMdiag/libs/x64
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Creating a generic function from function 'adjust_lmList' in package 'HLMdiag'
Error in setMethod("lmList", signature(formula = "formula", data = "data.frame"), :
no existing definition for function 'lmList'
Error : unable to load R code in package 'HLMdiag'
ERROR: lazy loading failed for package 'HLMdiag'
* removing 'C:/Users/crossfit_al1985/Documents/R/win-library/3.1/HLMdiag'
* restoring previous 'C:/Users/crossfit_al1985/Documents/R/win-library/3.1/HLMdiag'
Error: Command failed (1)
机器 2 -- 工作
sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] devtools_1.5
loaded via a namespace (and not attached):
[1] digest_0.6.4 evaluate_0.5.5 formatR_0.10 htmltools_0.2.4 httr_0.6.1 knitr_1.6
[7] memoise_0.2.1 parallel_3.1.1 RCurl_1.95-4.1 rmarkdown_0.4.2 stringr_0.6.2 tools_3.1.1
[13] whisker_0.3-2
尝试(A)——直接来自github
devtools::install_github("aloy/HLMdiag")
Installing github repo HLMdiag/master from aloy
Downloading master.zip from https://github.com/aloy/HLMdiag/archive/master.zip
Installing package from C:\Users\alewit\AppData\Local\Temp\RtmpATVjSy/master.zip
Installing HLMdiag
"C:/PROGRA~1/R/R-31~1.1/bin/x64/R" --vanilla CMD INSTALL \
"C:\Users\alewit\AppData\Local\Temp\RtmpATVjSy\devtoolsc745bf04fbd\HLMdiag-master" \
--library="C:/Users/alewit/Documents/R/win-library/3.1" --install-tests
* installing *source* package 'HLMdiag' ...
** libs
*** arch - i386
Warning: running command 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-31~1.1/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-31~1.1/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="HLMdiag.dll" OBJECTS="cooksd_obs.o cooksd_subset.o covratio.o covtrace.o linear_algebra_fnc.o mdffits_subset.o"' had status 127
ERROR: compilation failed for package 'HLMdiag'
* removing 'C:/Users/alewit/Documents/R/win-library/3.1/HLMdiag'
* restoring previous 'C:/Users/alewit/Documents/R/win-library/3.1/HLMdiag'
Error: Command failed (1)
尝试 (B) -- 通过本地的 install.packages()
setwd(...)
install.packages("./HLMdiag_0.3.0.tar.gz", repos = NULL, type = "source")
Installing package into ‘C:/Users/alewit/Documents/R/win-library/3.1’
(as ‘lib’ is unspecified)
* installing *source* package 'HLMdiag' ...
** libs
*** arch - i386
Warning: running command 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-31~1.1/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-31~1.1/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="HLMdiag.dll" OBJECTS="cooksd_obs.o cooksd_subset.o covratio.o covtrace.o linear_algebra_fnc.o mdffits_subset.o"' had status 127
ERROR: compilation failed for package 'HLMdiag'
* removing 'C:/Users/alewit/Documents/R/win-library/3.1/HLMdiag'
* restoring previous 'C:/Users/alewit/Documents/R/win-library/3.1/HLMdiag'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-31~1.1/bin/x64/R" CMD INSTALL -l "C:\Users\alewit\Documents\R\win-library\3.1" "C:/Users/alewit/Downloads/HLMdiag_0.3.0.tar.gz"' had status 1
Warning in install.packages :
installation of package ‘C:/Users/alewit/Downloads/HLMdiag_0.3.0.tar.gz’ had non-zero exit status
尝试 (C) -- 通过 devtools::install()
setwd(...)
install("HLMdiag")
Installing HLMdiag
"C:/PROGRA~1/R/R-31~1.1/bin/x64/R" --vanilla CMD INSTALL "C:\Users\alewit\Downloads\HLMdiag" \
--library="C:/Users/alewit/Documents/R/win-library/3.1" --install-tests
* installing *source* package 'HLMdiag' ...
** libs
*** arch - i386
Warning: running command 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-31~1.1/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-31~1.1/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="HLMdiag.dll" OBJECTS="cooksd_obs.o cooksd_subset.o covratio.o covtrace.o linear_algebra_fnc.o mdffits_subset.o"' had status 127
ERROR: compilation failed for package 'HLMdiag'
* removing 'C:/Users/alewit/Documents/R/win-library/3.1/HLMdiag'
* restoring previous 'C:/Users/alewit/Documents/R/win-library/3.1/HLMdiag'
Error: Command failed (1)
最佳答案
src 目录中的 .o 文件把事情搞砸了。我提交了一个 pull request,希望 Adam 能尽快合并这些修复程序,你的问题应该就会消失。您可以使用
来测试这是否有效install_github("Dasonk/HLMdiag")
直到拉取请求被接受。
编辑:Adam 很快就合并了。再次测试从 github 安装 install_github("aloy/HLMdiag")
它应该适合你。
关于r - 从 GitHub 或本地安装开发包时出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28723882/
我听说最好不要从您系统的 Perl 版本所在的 CPAN 安装模块。我知道如何使用命令行安装模块,我只是想知道是否有办法将 CPAN 与系统核心 Perl 分开。 我应该: 下载源代码并专门为这些模块
我听说最好不要从系统的 Perl 版本所在的 CPAN 安装模块。我知道如何使用命令行安装模块,我只是想知道是否有办法将 CPAN 与系统的核心 Perl 分开。 我应该: 下载源代码并专门为这些模块
单独安装 electron 与通过 electron-builder 安装有什么区别?我正在使用 React 构建一个 Electron 应用程序,并且已经找到了一些教程。它们安装 Electron
两者安装有什么区别?我按照安装页面上的说明在全局范围内安装了 webpack,然后我转到了入门指南,据说在那里可以在本地安装 webpack-cli。 CLI = Command Line Inter
我在 OS X Yosemite 上用 PHP 安装了默认的 Apache 服务器,安装了 pear,用 brew 安装了 Solr (brew install solr),现在我正在尝试使用 PEC
我解压并编译了 Ruby 2.1 并安装了几个支持工具。 但是当我安装了 libssl-dev 时,OpenSSL 不会安装。 我在支持 openssl 时遇到这个错误: make: *** No r
我在 android studio 2.3.1 和 gradle 3.2 中设计了 2 到 3 个应用程序。当我从它运行应用程序到任何设备或模拟器时,一切都工作正常。但是当我从构建文件夹中获取该 ap
我注意到我正在读一本书提到通过 apt-get 安装 numpy 和 opencv apt-get install python-numpy python-opencv 但我可以通过以下方式在 pip
我正在尝试在 Windows 8.1 上安装 ansicon。我提取了文件并达到了我需要调用 ansicon -i 的级别。当我在 cmd 中输入此内容并运行 python 脚本时效果很好,但是当我通
我有 linux MINT 17.3 Kernel 4.4.0-81 所有更新可用。 (由于不同的原因,我无法迁移到更新版本的 ubuntu/mint) 我已经通过 PPA 安装了 FFMPEG(不是
尝试在本地运行我的应用程序时出现错误: 我只在 chrome 浏览器中收到此错误。我尝试过不同的东西,但我不确定为什么它是 Chrome 特定的。 最佳答案 我怀疑这不是 Firebase 问题,而是
这是我第一次开发 AngularJS 应用程序并使用脚手架工具 Yeoman ( http://yeoman.io/ )。我想对我的一些图标使用 fontawesome ( http://fortaw
我知道您通常“应该”$ pip install 如果包没有 brew ,但如果有一个你想安装的 python 包,你可以使用 $ pip install或 $ brew install为了?例如,通过
我正在尝试通过 RVM 安装 Ruby 1.9.3。然而,当谈到安装 RubyGems 时,我得到了这个: curl: (22) The requested URL returned error: 4
我是真正提出问题的新手,但你去吧。 我一直在尝试按照安装指南添加 dnsname: https://github.com/containers/dnsname https://github.com/c
Studio更新至0.4.0 建筑产量为“需要1.8版Gradle”;将设置设置为1.8 bin目录; 建立 “要求1.9级”;将设置设置为1.9 bin; 建立 “要求1.8级” 啊。不知道该怎么做
我刚刚注意到 kernel.org 因维护而停机。是否有使用不同镜子的不同公式?或者我可以向 Homebrew 软件添加不同的来源(如 bundler ?)? 谢谢你的帮助! 最佳答案 快速解决方法:
当我运行时: peardev install phpunit/PHPUnit 我得到以下信息: No releases available for package "pear.phpunit.de/P
服务器操作系统为Fedora 24. 64bit。 我想安装 Git 2.6.6。 所以下载源码并安装。 此服务器离线。所以我不使用“yum”。 ./configure --prefix=/usr/l
我正在尝试在我自己的服务器(操作系统:Linux Ubuntu Server 12.04)上安装 OpenEdX,但我遇到了同样的错误。谁能帮帮我? TASK: [ insights | insta
我是一名优秀的程序员,十分优秀!