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

Installation of 6 private KWB-R packages fails #2

Open
mrustl opened this issue Sep 18, 2019 · 0 comments
Open

Installation of 6 private KWB-R packages fails #2

mrustl opened this issue Sep 18, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mrustl
Copy link
Member

mrustl commented Sep 18, 2019

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

@mrustl mrustl added the enhancement New feature or request label Sep 18, 2019
@mrustl mrustl self-assigned this Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant