.dependencies_r_pkg.R

# R dependencies specific to the R package
lib <- ".library"
installed <- installed.packages(lib = lib)
pkg <- c(
  "remotes",
  "numDeriv"
)
for (i in seq_along(pkg)) {
  if (!(pkg[i] %in% installed)) {
    install.packages(
      pkg[i],
      lib = lib
    )
  }
}
jeksterslab/gammaMatrix documentation built on Dec. 20, 2021, 10:10 p.m.