Error 404 installing R package from public github repro

ktm

I am trying to install the gaRdenbox package from github (https://github.com/KTMD-plant/gaRdenbox)

But when I run

install_github("KTMD-plant/gaRdenbox")

it returns

Error: Failed to install 'unknown package' from GitHub: HTTP error 404. Not Found Did you spell the repo owner (KTMD-plant) and repo name (gaRdenbox) correctly? -If spelling is correct, check that you have the required permissions to access the repo.

As far as I can see the repro is public. Do you have any idea what is the issue here?

Dirk Eddelbuettel

This is a bug in package gaRdenbox as the file DESCRIPTION is 'missing' given that there is only a file Description.

You can test that by forking the package and altering the file by renaming it -- which I did in this fork in my repo. Now we can install as expected:

edd@rob:/tmp$ installGithub.r eddelbuettel/gaRdenbox
Using github PAT from envvar GITHUB_PAT
Downloading GitHub repo eddelbuettel/gaRdenbox@HEAD

✔  checking for file ‘/tmp/remotes12841a2d0cc36c/eddelbuettel-gaRdenbox-fd41a57/DESCRIPTION’ ...
─  preparing ‘gaRdenbox’:
✔  checking DESCRIPTION meta-information
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘gaRdenbox_0.0.1.0.tar.gz’
   
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
* installing *source* package ‘gaRdenbox’ ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (gaRdenbox)
edd@rob:/tmp$ 

(where installGitHub.r is a simple wrapper for the command-line from my littler package). You can ignore the PAT message; I have one in my environment for other reasons.

I have filed a PR at the upstream repo.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

HTTP 404 error when installing R package from public repo on Github

R: Installing package from github/version?

Error installing a python package from github in canopy terminal

Installing nuget package from GitHub

Installing a package offline from GitHub

Installing R from CRAN Ubuntu repository: No Public Key Error

"package or namespace load failed" error in loading R package from GitHub

icudt error while installing stringi package from r in linux offline

error installing package on a branch with install_github

Error installing R package for Linux

Error in installing flowCore package R

Error in installing R package "AppliedPredictiveModeling"

Installing package from source R

Installing specific R package from specific branch from github repo on travis-ci

Installing python Github package error: package directory 'src' does not exist

Error installing R package Rmpfr - Error in rematchDefinition

Installing R Package from GitHub without Admin Privileges (e.g. locally)

Installing private package from Github Package registry fails with not found/not authorized

Installing a GitHub Package in CircleCI

Installing package on R gives compilation error

Error while installing R package in AWS

Error when installing TDA package on R

Error when installing "devtools" package for R in Ubuntu

Error while installing xts package on R

System Error after installing R package

seeing notifications of GitHub issues from a fork in original repro

Error while installing SparkR package using install_github

No such file or directory error when installing github package in anaconda

Installing an R package from local unzipped folder