R/hrmUpdate.R

Defines functions hrmUpdate

Documented in hrmUpdate

#' Update hrm packages
#' @description  Update hrm packages.
#' @importFrom dplyr bind_rows
#' @importFrom tibble tibble
#' @importFrom BiocManager install
#' @export

hrmUpdate <- function() {
    suppressMessages(install(ask = FALSE))
    lapply(hrmPackages(),function(.x){
        package <- packages[packages$Package == .x,]
        
        if (package$Repository == 'github') {
            installGithub(package$Profile,package$Package)
        }
    })
    invisible()
}
jasenfinch/hrm documentation built on Oct. 24, 2021, 10:48 a.m.