[R] Help with "ERROR: lazy loading failed for package 'psycho'"

Bill Poling B|||@Po||ng @end|ng |rom ze||@@com
Wed Jun 6 13:53:59 CEST 2018

Yep, terrific, that’s got it, thank you Eric!


From: Eric Berger [mailto:ericjberger using gmail.com]
Sent: Wednesday, June 06, 2018 7:50 AM
To: Bill Poling <Bill.Poling using zelis.com>
Cc: r-help (r-help using r-project.org) <r-help using r-project.org>
Subject: Re: [R] Help with "ERROR: lazy loading failed for package 'psycho'"

> install.packages("Matrix")

On Wed, Jun 6, 2018 at 2:24 PM, Bill Poling <Bill.Poling using zelis.com<mailto:Bill.Poling using zelis.com>> wrote:
Good morning. In my continuing pursuit of self-taught R programming I am interested in following the tutorial provided by Bloggers.com<http://Bloggers.com> "Beautiful and Powerful Correlation Tables in R"

https://www.r-bloggers.com/beautiful-and-powerful-correlation-tables-in-r-2/<https://www.r-bloggers.com/beautiful-and-powerful-correlation-tables-in-r-2/> 3/

Although, I have hit a snag in the first step?

devtools::install_github("neuropsychology/psycho.R") # Install the newest version

I have installed both psycho & tidyverse pkgs, however, when I go to run the devtools::install_github("neuropsychology/psycho.R") piece I get this warning.

Downloading GitHub repo neuropsychology/psycho.R using master<mailto:neuropsychology/psycho.R using master>
from URL https://api.github.com/repos/neuropsychology/psycho.R/zipball/master<https://api.github.com/repos/neuropsychology/psycho.R/zipball/master>
Installing psycho
"C:/Users/bp/DOCUME~1/R/R-34~1.4/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL  \
  "C:/Users/bp/AppData/Local/Temp/RtmpCkkmhB/devtools25601693478c/neuropsychology-psycho.R-b62e316" --library="C:/Users/bp/Documents/R/R-3.4.4/library" --install-tests

* installing *source* package 'psycho' ...
** R
** data
*** moving datasets to lazyload DB
** inst
** tests
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
  there is no package called 'Matrix'
ERROR: lazy loading failed for package 'psycho'
* removing 'C:/Users/bp/Documents/R/R-3.4.4/library/psycho'
* restoring previous 'C:/Users/bp/Documents/R/R-3.4.4/library/psycho'
Installation failed: Command failed (1)
> install.packages("psycho")
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/psycho_0.2.3.zip<https://cran.rstudio.com/bin/windows/contrib/3.4/psycho_0.2.3.zip>'
Content type 'application/zip' length 1650628 bytes (1.6 MB)
downloaded 1.6 MB

Just a guess, but does this have to do with presetting my work directory?

setwd("C:/WHP/R/PracticeScripts and Testing Ideas")

Here is my session info:

> sessionInfo() #R version 3.4.4 (2018-03-15)

R version 3.4.4 (2018-03-15)

Platform: x86_64-w64-mingw32/x64 (64-bit)

Running under: Windows 7 x64 (build 7601) Service Pack 1

.libPaths() #"C:/Users/bp/Documents/R/R-3.4.4/library"

[1] "C:/Users/bp/Documents/R/R-3.4.4/library"

Thank you for any advice.


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

R-help using r-project.org<mailto:R-help using r-project.org> mailing list -- To UNSUBSCRIBE and more, see
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html<http://www.R-project.org/posting-guide.html>
and provide commented, minimal, self-contained, reproducible code.

Confidentiality Notice This message is sent from Zelis. This transmission may contain information which is privileged and confidential and is intended for the personal and confidential use of the named recipient only. Such information may be protected by applicable State and Federal laws from this disclosure or unauthorized use. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any disclosure, review, discussion, copying, or taking any action in reliance on the contents of this transmission is strictly prohibited. If you have received this transmission in error, please contact the sender immediately. Zelis, 2018.

	[[alternative HTML version deleted]]

More information about the R-help mailing list