[R] Help installing the finalfit package

Bill Poling Bill@Poling @ending from zeli@@com
Tue Jun 12 14:00:34 CEST 2018


Good morning. Over the weekend I worked through this tutorial on bloggers.com at home where I am on 3.5.5:

#Elegant regression results tables and plots in R: the finalfit package

https://www.r-bloggers.com/elegant-regression-results-tables-and-plots-in-r-the-finalfit-package/

Here at my office I am on "R version 3.4.4 (2018-03-15)" and wish to use some of what I learned.

The tutorial ran splendidly at home but here at office, not so much, big smile.

> devtools::install_github("ewenharrison/finalfit")
Downloading GitHub repo ewenharrison/finalfit using master
from URL https://api.github.com/repos/ewenharrison/finalfit/zipball/master
Installing finalfit
Installing 1 package: mice
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/mice_3.0.0.zip'
Content type 'application/zip' length 1490726 bytes (1.4 MB)
downloaded 1.4 MB

package 'mice' successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package 'mice'

The downloaded binary packages are in
        C:\Users\bpoling\AppData\Local\Temp\RtmpWYkyVd\downloaded_packages
"C:/Users/bpoling/DOCUME~1/R/R-34~1.4/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL  \
  "C:/Users/bpoling/AppData/Local/Temp/RtmpWYkyVd/devtools1b0436122944/ewenharrison-finalfit-9438bc2" --library="C:/Users/bpoling/Documents/R/R-3.4.4/library" --install-tests

ERROR: dependency 'mice' is not available for package 'finalfit'
* removing 'C:/Users/bpoling/Documents/R/R-3.4.4/library/finalfit'
In R CMD INSTALL
Installation failed: Command failed (1)

I believe I had a similar problem last week and was advised to install the package library(Matrix) which was evidently necessary for sessionInfo() and for lazy load DB -- *source* package 'psycho'  etc... which I now load at the beginning of every session.

So my hunch is that maybe I need 3.5.5 for all this to work?

Also I have this error with the mice package:


> install.packages("mice")

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/mice_3.0.0.zip'

Content type 'application/zip' length 1490726 bytes (1.4 MB)

downloaded 1.4 MB



package 'mice' successfully unpacked and MD5 sums checked

Warning in install.packages :

  cannot remove prior installation of package 'mice'



The downloaded binary packages are in

        C:\Users\bpoling\AppData\Local\Temp\RtmpWYkyVd\downloaded_packages

> library(mice)

Error in library(mice) : there is no package called 'mice'


I would appreciate any suggestion please.

Thank you

WHP

Confidentiality Notice This message is sent from Zelis. ...{{dropped:15}}



More information about the R-help mailing list