dev/update_import.R

library(devtools)

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

args <- commandArgs(TRUE)
devtools::use_package(args[1], type = "Imports", pkg = "EDMeasure")
zejin/EDMeasure documentation built on May 7, 2019, 10:54 p.m.