-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathmakeR.dev.R
37 lines (30 loc) · 886 Bytes
/
makeR.dev.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
install.packages(c('devtools', 'roxygen2'), repos=c('http://cran.r-project.org'))
install_github('knitr', 'yihui')
require(devtools)
#require(roxygen2)
#require(knitr)
################################################################################
#Package building
setwd("C:/Dropbox/My Dropbox/Projects") #Windows
setwd("~/Dropbox/Projects") #Mac
document("makeR")
check_doc("makeR")
build("makeR", binary=FALSE)
build("makeR", binary=TRUE)
install("makeR")
check("makeR")
library(makeR)
ls('package:makeR')
?Project
setwd("~/Dropbox/Projects"); detach('package:makeR'); document('makeR'); install('makeR'); library(makeR)
################################################################################
isAutoSave()
setAutoSave(FALSE)
isAutoOpen()
setAutoOpen(FALSE)
getDefaultBuilder()
demo('rbloggers')
demo('stocks')
demo('makeR-knitr')
browseVignettes()
vignette('makeR')