Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Issues Encountered During Installation of Packages from Both GitHub and Local Sources" #126

Open
DaXuanGarden opened this issue Jul 28, 2023 · 2 comments

Comments

@DaXuanGarden
Copy link

"I am encountering issues with the installation of packages. Whether it's from GitHub or local installation, I am unable to install them."

library(remotes)
library(devtools)
Loading required package: usethis

Attaching package: ‘usethis’

The following object is masked from ‘package:remotes’:

git_credentials

Error in FUN(X[[i]], ...) :
lazy-load database '/home/data/t050446/R/x86_64-pc-linux-gnu-library/4.2/devtools/R/devtools.rdb' is corrupt

install_github("YosefLab/VISION")
Downloading GitHub repo YosefLab/VISION@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet, :
download from 'https://api.github.com/repos/YosefLab/VISION/tarball/HEAD' failed


install_local("/home/data/t050446/VISION-3.0.1.tar.gz")
Error: Failed to install 'VISION-3.0.1.tar.gz' from local:
error reading from connection
install_local("/home/data/t050446/VISION-3.0.0.tar.gz")
Error: Failed to install 'VISION-3.0.0.tar.gz' from local:
error reading from connection

@deto
Copy link
Member

deto commented Jul 28, 2023 via email

@DaXuanGarden
Copy link
Author

From the error message it looks like you actually might have an issue with your devtools package. Can you try uninstalling and reinstalling that package? David

On Fri, Jul 28, 2023, 4:04 PM DaXuan @.> wrote: "I am encountering issues with the installation of packages. Whether it's from GitHub or local installation, I am unable to install them." library(remotes) library(devtools) Loading required package: usethis Attaching package: ‘usethis’ The following object is masked from ‘package:remotes’: git_credentials Error in FUN(X[[i]], ...) : lazy-load database '/home/data/t050446/R/x86_64-pc-linux-gnu-library/4.2/devtools/R/devtools.rdb' is corrupt install_github("YosefLab/VISION") Downloading GitHub repo @. Error in utils::download.file(url, path, method = method, quiet = quiet, : download from 'https://api.github.com/repos/YosefLab/VISION/tarball/HEAD' failed ------------------------------ install_local("/home/data/t050446/VISION-3.0.1.tar.gz") Error: Failed to install 'VISION-3.0.1.tar.gz' from local: error reading from connection install_local("/home/data/t050446/VISION-3.0.0.tar.gz") Error: Failed to install 'VISION-3.0.0.tar.gz' from local: error reading from connection — Reply to this email directly, view it on GitHub <#126>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEGXR6XNLNERV5QBFS3HTDXSRAPHANCNFSM6AAAAAA24CHZZY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

"Thank you very much. I have successfully restarted R after reinstalling devtools."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants