forked from Kaggle/docker-rstats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_build.R
39 lines (34 loc) · 848 Bytes
/
test_build.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
38
39
# Loosely based on http://www.kdnuggets.com/2015/06/top-20-r-packages.html
Library <- function(libname){
print(libname)
suppressPackageStartupMessages(library(libname, character.only=TRUE))
}
Library("Rcpp")
Library("ggplot2")
Library("stringr")
Library("plyr")
Library("digest")
Library("reshape2")
Library("colorspace")
Library("RColorBrewer")
Library("scales")
Library("labeling")
Library("proto")
Library("munsell")
Library("gtable")
Library("dichromat")
Library("mime")
Library("RCurl")
Library("bitops")
Library("zoo")
Library("knitr")
Library("dplyr")
Library("readr")
Library("tidyr")
Library("randomForest")
Library("xgboost")
testPlot <- ggplot(data.frame(x=1:10,y=runif(10))) + aes(x=x,y=y) + geom_line()
ggsave(testPlot, filename="plot1.png")
# Test that base graphics will save to .png by default
plot(runif(10))
print("Ok!")