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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Bill Poling
Good morning. In my continuing pursuit of self-taught R programming I am interested in following the tutorial provided by Bloggers.com "Beautiful and Powerful Correlation Tables in R"


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
library(psycho)
library(tidyverse)

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@master
from URL 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'
In R CMD INSTALL
Installation failed: Command failed (1)
> install.packages("psycho")
trying URL '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.

WHP

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

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: Help with "ERROR: lazy loading failed for package 'psycho'"

Eric Berger
> install.packages("Matrix")


On Wed, Jun 6, 2018 at 2:24 PM, Bill Poling <[hidden email]> wrote:

> Good morning. In my continuing pursuit of self-taught R programming I am
> interested in following the tutorial provided by Bloggers.com "Beautiful
> and Powerful Correlation Tables in R"
>
>
> 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
> library(psycho)
> library(tidyverse)
>
> 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@master
> from URL 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'
> In R CMD INSTALL
> Installation failed: Command failed (1)
> > install.packages("psycho")
> trying URL '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.
>
> WHP
>
> Confidentiality Notice This message is sent from Zelis. ...{{dropped:15}}
>
> ______________________________________________
> [hidden email] 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.
>

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: Help with "ERROR: lazy loading failed for package 'psycho'"

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

WHP


From: Eric Berger [mailto:[hidden email]]
Sent: Wednesday, June 06, 2018 7:50 AM
To: Bill Poling <[hidden email]>
Cc: r-help ([hidden email]) <[hidden email]>
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 <[hidden email]<mailto:[hidden email]>> 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
library(psycho)
library(tidyverse)

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@master<mailto:neuropsychology/psycho.R@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'
In R CMD INSTALL
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.

WHP

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

______________________________________________
[hidden email]<mailto:[hidden email]> mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
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]]

______________________________________________
[hidden email] 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.