ghdc/script/PreInstall.R
2024-10-23 16:30:58 +08:00

21 lines
560 B
R

#' ===============================================================
#' Lele Shu <shulele@lzb.ac.cn>
#' Date: 2022.10.03
#' Function: the required packages installation before the autoshud code.
#' ===============================================================
#' Install rSHUD package with source Code.
#' R CMD INSTALL rSHUD.
#' Install GDAL before rGDAL
install.packages('rgdal')
#' Whitetoolbox support.
install.packages('whitebox')
whitebox::install_whitebox()
#' Install NETCDF out of R before the R package installation.
install.packages('ncdf4')