r - Install package "rio" because of feather -
i try in r install cran-packages "rio" receive following error:
install.packages("rio", dependencies = true) installing package ‘c:/software/rpackages’ (as ‘lib’ unspecified) installing dependency ‘feather’ there binary version available source version later: binary source needs_compilation rio 0.4.0 0.4.8 false package available in source form, , may need compilation of c/c++/fortran: ‘feather’ these not installed installing source package ‘rio’ trying url 'https://cran.rstudio.com/src/contrib/rio_0.4.8.tar.gz' content type 'application/x-gzip' length 40366 bytes (39 kb) downloaded 39 kb error: dependency 'feather' not available package 'rio' * removing 'c:/software/rpackages/rio' warning in install.packages : running command '"c:/progra~1/r/r-32~1.4re/bin/x64/r" cmd install -l "c:\software\rpackages" c:\users\bjrnau~1\appdata\local\temp\rtmp6rf71b/downloaded_packages/rio_0.4.8.tar.gz' had status 1 warning in install.packages : installation of package ‘rio’ had non-zero exit status downloaded source packages in ‘c:\users\bjørnaugust\appdata\local\temp\rtmp6rf71b\downloaded_packages’
can me install packages?
this unintended consequence of importing feather in latest release of rio. correctly in next release of rio cran (v0.4.11), should available 10 august 2016. in meantime, have couple of options.
1) install development version github using like:
devtools::install_github("leeper/rio") # or ghit::install_github("leeper/rio")
this version (v0.4.11) makes feather optional, installable on older windows versions.
2) install older version of rio:
packageurl <- "https://cran.r-project.org/src/contrib/archive/rio/rio_0.4.6.tar.gz" install.packages(packageurl, repos=null, type="source")
but note potentially require manual install of package dependencies.
3) upgrade latest version of r (v3.3.1) can install feather (and rio).
Comments
Post a Comment