dev/update_suggest.R

library(devtools)

# add a package to suggests
if (.Platform$OS.type == "windows") {
  setwd("C:/Academia/Cornell/Research/Conditional Mean Independence")
} else {
  setwd("~")
}

args <- commandArgs(TRUE)
devtools::use_package(args[1], type = "Suggests", pkg = "CMDMeasure")
zejin/CMDMeasure documentation built on May 28, 2019, 4:42 p.m.