Have been trying to run a few packages with dependency on the survey package (e.g. twang) and have run into trouble that I am not sure how to resolve. Any help would be appreciated, the code (and error messages) are below:
--- R log begins --- > install.packages("survey") Installing package into �D:/Users/Al Nerdi/Documents/R/win-library/3.5� (as �lib� is unspecified) There is a binary version available but the source version is later: binary source needs_compilation survey 3.33-2 3.34 FALSE installing the source package �survey� trying URL 'https://cran.rstudio.com/src/contrib/survey_3.34.tar.gz' Content type 'application/x-gzip' length 1476949 bytes (1.4 MB) downloaded 1.4 MB Warning: invalid package 'D:\Users\Al' Warning: invalid package 'Nerdi\AppData\Local\Temp\RtmpU3AmrY/downloaded_packages/survey_3.34.tar.gz' Error: ERROR: no packages specified In R CMD INSTALL Warning in install.packages : installation of package �survey� had non-zero exit status The downloaded source packages are in �D:\Users\Al Nerdi\AppData\Local\Temp\RtmpU3AmrY\downloaded_packages� > install.packages("twang") Installing package into �D:/Users/Al Nerdi/Documents/R/win-library/3.5� (as �lib� is unspecified) also installing the dependencies �gbm�, �survey� There is a binary version available but the source version is later: binary source needs_compilation survey 3.33-2 3.34 FALSE trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/gbm_2.1.4.zip' Content type 'application/zip' length 1094087 bytes (1.0 MB) downloaded 1.0 MB trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/twang_1.5.zip' Content type 'application/zip' length 1516991 bytes (1.4 MB) downloaded 1.4 MB package �gbm� successfully unpacked and MD5 sums checked package �twang� successfully unpacked and MD5 sums checked The downloaded binary packages are in D:\Users\Al Nerdi\AppData\Local\Temp\RtmpU3AmrY\downloaded_packages installing the source package �survey� trying URL 'https://cran.rstudio.com/src/contrib/survey_3.34.tar.gz' Content type 'application/x-gzip' length 1476949 bytes (1.4 MB) downloaded 1.4 MB Warning: invalid package 'D:\Users\Al' Warning: invalid package 'Nerdi\AppData\Local\Temp\RtmpU3AmrY/downloaded_packages/survey_3.34.tar.gz' Error: ERROR: no packages specified In R CMD INSTALL Warning in install.packages : installation of package �survey� had non-zero exit status The downloaded source packages are in �D:\Users\Al Nerdi\AppData\Local\Temp\RtmpU3AmrY\downloaded_packages� > library(twang) Loading required package: gbm Loaded gbm 2.1.4 Error: package �survey� required by �twang� could not be found > R.Version() $`platform` [1] "x86_64-w64-mingw32" $arch [1] "x86_64" $os [1] "mingw32" $system [1] "x86_64, mingw32" $status [1] "" $major [1] "3" $minor [1] "5.1" $year [1] "2018" $month [1] "07" $day [1] "02" $`svn rev` [1] "74947" $language [1] "R" $version.string [1] "R version 3.5.1 (2018-07-02)" $nickname [1] "Feather Spray" --- R log ends --- I am not sure how to address this. Any suggestions will be great! Grazie, Al Nerdi [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.