R/install.pkg.source.R

Defines functions install.pkg.source

Documented in install.pkg.source

#' @title Package installer from source archive.
#'
#' @description Allows the installation of R packages using the source archive file.
#'
#' @param pkg.path String to define the path for the archive file to be installed.
#'
#' @return No returned value. The package required will be installed.
#'
#' @export install.pkg.source

install.pkg.source = function(pkg.path) {
  #-----------------------------#
  # Check if Rseb is up-to-date #
  Rseb::actualize(update = F, verbose = F)   #
  #-----------------------------#

  install.packages(pkg.path, repos = NULL, type="source")
}
sebastian-gregoricchio/Rseb documentation built on Sept. 4, 2024, 1:59 p.m.