-
Notifications
You must be signed in to change notification settings - Fork 0
/
.Rhistory
12 lines (12 loc) · 1004 Bytes
/
.Rhistory
1
2
3
4
5
6
7
8
9
10
11
12
source("C:/GitCode/JuicedGeneralNewPackageCreationTest/makepackagehere.R")
source("C:/GitCode/JuicedGeneralNewPackageCreationTest/makepackagehere.R")
install.packages(c("cachem", "curl", "digest", "fs", "haven", "httpuv", "jsonlite", "later", "processx", "profvis", "Rcpp", "readxl", "rlang", "sass", "sys", "testthat", "tzdb", "vctrs", "vroom", "xml2"))
install.packages(c("boot", "class", "cluster", "codetools", "foreign", "KernSmooth", "lattice", "MASS", "Matrix", "mgcv", "nlme", "nnet", "rpart", "spatial", "survival"), lib="C:/Program Files/R/R-4.1.1/library")
source("C:/GitCode/JuicedGeneralNewPackageCreationTest/makepackagehere.R")
source("C:/GitCode/JuicedGeneralNewPackageCreationTest/makepackagehere.R")
message(paste0("Creating documentation pdf for package ",packagename,"..."))
if (file.exists(paste0(packagename,".pdf"))) {
file.remove(paste0(packagename,".pdf"))
}
path <- find.package(packagename)
system(paste(shQuote(file.path(R.home("bin"), "R")), "CMD", "Rd2pdf", shQuote(path)))