You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> renv::install("ruochenj/mbImpute/mbImpute R package")
Error: failed to resolve remote 'ruochenj/mbImpute/mbImpute R package' -- failed to retrieve 'https://api.github.com/repos/ruochenj/mbImpute/contents/mbImpute R package/DESCRIPTION?ref=53d52bdc546fc4d0742ed9ecafcbc3f9268803a1' [error code 22]
In addition: Warning message:
curl: (22) The requested URL returned error: 400
Traceback (most recent calls last):
14: renv::install("ruochenj/mbImpute/mbImpute R package")
13: lapply(remotes, renv_remotes_resolve)
12: FUN(X[[i]], ...)
11: withCallingHandlers(renv_remotes_resolve_impl(entry, latest),
error = error)
10: renv_remotes_resolve_impl(entry, latest)
9: renv_remotes_resolve_github(parsed)
8: renv_remotes_resolve_github_description(host, user, repo, subdir,
sha)
7: download(url, destfile = jsonfile, type = "github", quiet = TRUE)
6: renv_download_error(url, "error code %i", status)
5: stopf("failed to retrieve '%s' [%s]", url, msg, call. = FALSE)
4: stop(sprintf(fmt, ...), call. = call.)
3: .handleSimpleError(function (e)
{
...
}, "failed to retrieve 'https://api.github.com/repos/ruochenj/mbImpute/contents/mbImpute R package/DESCRIPTION?ref=53d52bdc546fc4d0742ed9ecafcbc3f9268803a1' [error code 22]",
base::quote(NULL))
2: h(simpleError(msg, call))
1: stop(simpleError(message = message, call = e$call))
However, devtools::install_github() works fine:
> devtools::install_github("ruochenj/mbImpute/mbImpute R package")
Downloading GitHub repo ruochenj/mbImpute@HEAD
Installing 1 packages: doParallel
trying URL 'https://cloud.r-project.org/src/contrib/doParallel_1.0.16.tar.gz'
Content type 'application/x-gzip' length 37121 bytes (36 KB)
==================================================
downloaded 36 KB
* installing *source* package ‘doParallel’ ...
** package ‘doParallel’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** demo
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** 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 (doParallel)
The downloaded source packages are in
‘/tmp/RtmphBGn0w/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
✔ checking for file ‘/tmp/RtmphBGn0w/remotes32fc71fa95aa/ruochenj-mbImpute-53d52bd/mbImpute R package/DESCRIPTION’ (354ms)
─ preparing ‘mbImpute’:
✔ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
NB: this package now depends on R (>= 3.5.0)
WARNING: Added dependency on R >= 3.5.0 because serialized objects in serialize/load version 3 cannot be read in older versions of R. File(s) containing such objects: ‘mbImpute/vignettes/dat_sim_add_filter_coef.rds’ WARNING: Added dependency on R >= 3.5.0 because serialized objects in serialize/load version 3 cannot be read in older versions of R. File(s) containing such objects: ‘mbImpute/vignettes/imputed_mat_condition_as_covariate.rds’
─ building ‘mbImpute_0.1.0.tar.gz’
* installing *source* package ‘mbImpute’ ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** 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 (mbImpute)
However,
devtools::install_github()
works fine:sessionInfo:
The text was updated successfully, but these errors were encountered: