forked from neurodata/SPORF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.#build_win.ps1
18 lines (13 loc) · 878 Bytes
/
.#build_win.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Rscript.exe -e "install.packages('Rcpp', repos = 'http://cran.us.r-project.org')"
Rscript.exe -e "Rcpp::compileAttributes()"
# Rscript.exe -e "install.packages('devtools', repos = 'http://cran.us.r-project.org')"
# Rscript.exe -e "install.packages('roxygen2', repos = 'http://cran.us.r-project.org')"
## RUN styler on directory
# Rscript.exe -e "styler:::style_pkg(style=tidyverse_style)"
Rscript.exe -e "devtools::document('R')"
R.exe CMD build --resave-data .
# Rscript.exe -e "install.packages('dummies', repos = 'http://cran.us.r-project.org')"
# Rscript.exe -e "install.packages('RcppArmadillo', repos = 'http://cran.us.r-project.org')"
# Rscript.exe -e "install.packages('RcppZiggurat', repos = 'http://cran.us.r-project.org')"
# Rscript.exe -e "install.packages('testthat', repos = 'http://cran.us.r-project.org')"
R.exe CMD check --as-cran --no-manual rerf*.tar.gz