Installation of 6 private KWB-R packages fails
Opened this issue · 0 comments
mrustl commented
Installation for private KWB-R packages as described in https://kwb-r.github.io/kwb.pkgbuild/articles/install.html#kwb-r-packages currently fails for 5 repos.
###############################################################################
### Define Function for Installing KWB-R GitHub Packages
###############################################################################
install_kwb_github_packages <- function(pkgs_kwb,
dependencies = TRUE,
...) {
pkgs_kwb_github <- sprintf("KWB-R/%s", pkgs_kwb)
sapply(
pkgs_kwb_github,
FUN = function(gh_repo) {
try(remotes::install_github(repo = gh_repo,
dependencies = dependencies,
...))
}
)
}
###############################################################################
### Use the Install Function For KWB-R Packages for Project BaSaR
###############################################################################
pkgs <- pkgmeta::get_github_packages()
install_kwb_github_packages(pkgs_kwb = pkgs$name, upgrade = "always")
"Error : Failed to install 'kwb.context' from GitHub:\n (converted from warning) installation of package ‘C:/Users/mrustl.KWB/AppData/Local/Temp/Rtmpof8Wpw/file2ee47967418/kwb.context_0.1.tar.gz’ had non-zero exit status\n"
"Error : Failed to install 'kwb.furain' from GitHub:\n (converted from warning) packages ‘kwb.gocr’, ‘kwb.iview’, ‘magickx’ are not available (for R version 3.6.1)\n"
"Error : Failed to install 'kwb.kuras' from GitHub:\n (converted from warning) installation of package ‘C:/Users/mrustl.KWB/AppData/Local/Temp/Rtmpof8Wpw/file2ee44fe226b5/kwb.kuras_0.0.99.tar.gz’ had non-zero exit status\n"
Adding of pkg dependencies in field "Remotes" required:
-
KWB-R/kwb.context -
KWB-R/kwb.kuras -
KWB-R/kwb.miacso -
KWB-R/kwb.ucode
Additional changes required:
-
KWB-R/kwb.furain -
KWB-R/kwb.rsprotox