Rscripts/update_packages.R

#!/usr/bin/env Rscript
#
#
# FIRST:  run ./update_old_packages.Rd
#
# PURPOSE:   updates R packages
# USAGE:    ./update_packages.R  at COMMAND LIME
# This is how yihui suggests updating packages.
#
print("update.packages()")
Sys.time()

{
begin  <- Sys.time()
    update.packages(ask = FALSE , instLib = .libPaths()[[1]], checkBuild=TRUE)
    end  <- Sys.time()
    diff  <- end - begin
    diff
}
jimrothstein/jimTools documentation built on Jan. 19, 2025, 3:23 p.m.