R/update_fryeR.R

Defines functions update_fryeR

Documented in update_fryeR

#' Update this package from source
#' 
#' @export
update_fryeR <- function() {
  rm(list = ls())
  library("devtools")
  unload(pkgload::inst("fryeR"))
  wd.orig <- getwd()
  (wd <- path.expand("~"))
  wd
  setwd(wd)
  setwd("./R/Packages/fryeR")
  document()
  setwd("..")
  install("fryeR")
  library("fryeR")
  setwd(wd.orig)
}
johnfrye/fryeR documentation built on Dec. 28, 2021, 6:20 p.m.