Skip to content

Commit dad876d

Browse files
committed
Add README.md to .Rbuildignore
1 parent d560ef4 commit dad876d

File tree

5 files changed

+96
-86
lines changed

5 files changed

+96
-86
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
^\.Rproj\.user$
33
cran-comments.md
44
^README\.Rmd$
5+
^README\.md$
56
^README-.*\.png$
67
^NEWS\.md$
78
^\.travis\.yml$

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: mosaicModel
22
Type: Package
3-
Title: Provide a consistent interface to a range of statistical model architectures
3+
Title: Provide a Consistent Interface to a Range of Statistical Model Architectures
44
Version: 0.3.0
55
Author: Kaplan Daniel [aut, cre],
66
Pruim Randall [aut, cre]

cran-comments.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,13 @@
11
## Test environments
22
* local OS X install, R 3.4.1
3-
* ubuntu 12.04 (on travis-ci), R 3.1.2
3+
* ubuntu 14.04.5 (on travis-ci), R 3.4.1
44
* win-builder (devel and release)
55

66
## R CMD check results
77
There were no ERRORs or WARNINGs.
88

9-
There was 1 NOTE:
10-
11-
12-
13-
There are currently no downstream dependencies for this package
9+
There was 1 NOTE: "New submission"
1410

1511
## Downstream dependencies
16-
I have also run R CMD check on downstream dependencies of httr
17-
(https://github.com/wch/checkresults/blob/master/httr/r-release).
18-
All packages that I could install passed except:
1912

20-
* Ecoengine: this appears to be a failure related to config on
21-
that machine. I couldn't reproduce it locally, and it doesn't
22-
seem to be related to changes in httr (the same problem exists
23-
with httr 0.4).
13+
There are currently no downstream dependencies for this package

vignettes/Basics.R

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ mod_plot(iris_mod_1) %>% gf_theme(legend.position = "top")
3737
mod_plot(iris_mod_2, class_level = "setosa") %>%
3838
gf_theme(legend.position = "top")
3939

40-
## ----fig.out="40%", fig.keep = "hold", eval = FALSE----------------------
41-
# mod_plot(iris_mod_2, ~ Petal.Length + Petal.Width) %>% gf_theme(legend.position = "top")
42-
# mod_plot(iris_mod_2, ~ Petal.Length + Petal.Width + Sepal.Width) %>% gf_theme(legend.position = "top")
40+
## ----fig.out="40%", fig.keep = "hold"------------------------------------
41+
mod_plot(iris_mod_2, ~ Petal.Length + Petal.Width) %>% gf_theme(legend.position = "top")
42+
mod_plot(iris_mod_2, ~ Petal.Length + Petal.Width + Sepal.Width) %>%
43+
gf_theme(legend.position = "top")
4344

4445
## ------------------------------------------------------------------------
4546
mod_eval(fuel_mod_1, transmission = "manual", hp = 200)
@@ -64,19 +65,19 @@ mod_effect(fuel_mod_2, ~ hp, nlevels = 3)
6465
## ------------------------------------------------------------------------
6566
mod_effect(fuel_mod_2, ~ hp, step = 0.1, nlevels = 1)
6667

67-
## ----eval = FALSE--------------------------------------------------------
68-
# mod_effect(iris_mod_2, ~ Sepal.Length, step = 0.01, class_level = "virginica" )
69-
# mod_effect(iris_mod_2, ~ Sepal.Length, step = 1, class_level = "virginica")
68+
## ------------------------------------------------------------------------
69+
mod_effect(iris_mod_2, ~ Sepal.Length, step = 0.01, class_level = "virginica" )
70+
mod_effect(iris_mod_2, ~ Sepal.Length, step = 1, class_level = "virginica")
7071

7172
## ------------------------------------------------------------------------
7273
mod_error(fuel_mod_2)
7374

7475
## ------------------------------------------------------------------------
7576
mod_error(fuel_mod_2, testdata = mtcars[1:10,])
7677

77-
## ----eval=FALSE----------------------------------------------------------
78-
# mod_error(iris_mod_2, error_type = "class_error")
79-
# mod_error(iris_mod_2, error_type = "LL")
78+
## ------------------------------------------------------------------------
79+
mod_error(iris_mod_2, error_type = "class_error")
80+
mod_error(iris_mod_2, error_type = "LL")
8081

8182
## ------------------------------------------------------------------------
8283
ensemble_fuel_1 <- mod_ensemble(fuel_mod_1, nreps = 10)
@@ -112,7 +113,7 @@ data_from_mod(my_mod) %>% head(2)
112113
## ----error = TRUE--------------------------------------------------------
113114
construct_fitting_call(my_mod, data_name = "placeholder")
114115

115-
## ----eval = FALSE--------------------------------------------------------
116+
## ----eval=FALSE----------------------------------------------------------
116117
# mod_eval_fun(my_mod)
117118

118119
## ------------------------------------------------------------------------

vignettes/Basics.html

Lines changed: 80 additions & 62 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)