From dac0d640047bdcff79a4db69ab86cc3b58c897c9 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sat, 19 Dec 2015 17:01:18 +0100 Subject: [PATCH] cran release --- .Rbuildignore | 3 ++- DESCRIPTION | 5 +++-- NEWS | 3 +++ README.md | 22 ++++++++-------------- cran-comments.md | 10 ++++++++++ vignettes/modulesInR.Rmd | 2 +- 6 files changed, 27 insertions(+), 18 deletions(-) create mode 100644 cran-comments.md diff --git a/.Rbuildignore b/.Rbuildignore index 6a4a849..078afe1 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -1,5 +1,6 @@ ^.*\.Rproj$ ^\.Rproj\.user$ prepareRepo.R -README.Rmd +README.md ^\.travis\.yml$ +cran-comments.md diff --git a/DESCRIPTION b/DESCRIPTION index d07385e..726e5b4 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,7 @@ Package: modules -Title: Modules in R -Version: 0.0.8 +Title: Self Contained Units of Source Code +Version: 0.1.0 +Date: 2015-12-18 Authors@R: person("Sebastian", "Warnholz", email = "wahani@gmail.com", role = c("aut", "cre")) Description: Provides modules as an organizational unit for source code. Modules enforce to be more rigorous when defining dependencies and have diff --git a/NEWS b/NEWS index 221940e..cc0e29a 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +Version 0.1.0 +- CRAN release + Version 0.0.8 - use does not attach by default - a regex in export is indicated by a leading "^" diff --git a/README.md b/README.md index 99557a6..a5e24d3 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ vignette: > [![Build Status](https://travis-ci.org/wahani/modules.png?branch=master)](https://travis-ci.org/wahani/modules) [![codecov.io](https://codecov.io/github/wahani/modules/coverage.svg?branch=master)](https://codecov.io/github/wahani/modules?branch=master) -[![CRAN](http://www.r-pkg.org/badges/version/modules)](http://cran.rstudio.com/package=modules) +[![CRAN](http://www.r-pkg.org/badges/version/modules)](https://cran.rstudio.com/package=modules) [![Downloads](http://cranlogs.r-pkg.org/badges/modules?color=brightgreen)](http://www.r-pkg.org/pkg/modules) Provides modules as an organizational unit for source code. Modules enforce to be more rigorous when defining dependencies and have a local search path. They can be used as a sub unit within packages or in scripts. @@ -48,13 +48,6 @@ Typically you do not have to call that function explicitly but instead call ```r library(modules) -``` - -``` -## Loading required package: aoos -``` - -```r m <- module({ boringFunction <- function() cat("boring output") }) @@ -242,11 +235,12 @@ search() ``` ``` -## [1] ".GlobalEnv" "import:module" "package:parallel" -## [4] "package:modules" "package:aoos" "tools:rstudio" -## [7] "package:stats" "package:graphics" "package:grDevices" -## [10] "package:utils" "package:datasets" "package:methods" -## [13] "Autoloads" "package:base" +## [1] ".GlobalEnv" "import:module" "import:module" +## [4] "import:module" "package:parallel" "package:modules" +## [7] "package:aoos" "tools:rstudio" "package:stats" +## [10] "package:graphics" "package:grDevices" "package:utils" +## [13] "package:datasets" "package:methods" "Autoloads" +## [16] "package:base" ``` ```r @@ -325,7 +319,7 @@ clusterMap(cl, m$gen, list(m$NewType(NULL))) ## NULL ## ## attr(,".self") -## +## ## attr(,"class") ## [1] "NewType" "list" ``` diff --git a/cran-comments.md b/cran-comments.md new file mode 100644 index 0000000..c663793 --- /dev/null +++ b/cran-comments.md @@ -0,0 +1,10 @@ +## Test environments +* ubuntu (on travis-ci), R 3.2.3 +* win-builder (devel and release) +* local ubuntu 14.10, R 3.2.2 + +## R CMD check results +There were no ERRORs, WARNINGs or NOTEs + +## Downstream dependencies +There are none, this is the first release. diff --git a/vignettes/modulesInR.Rmd b/vignettes/modulesInR.Rmd index ebe07d0..1e4292f 100644 --- a/vignettes/modulesInR.Rmd +++ b/vignettes/modulesInR.Rmd @@ -11,7 +11,7 @@ vignette: > [![Build Status](https://travis-ci.org/wahani/modules.png?branch=master)](https://travis-ci.org/wahani/modules) [![codecov.io](https://codecov.io/github/wahani/modules/coverage.svg?branch=master)](https://codecov.io/github/wahani/modules?branch=master) -[![CRAN](http://www.r-pkg.org/badges/version/modules)](http://cran.rstudio.com/package=modules) +[![CRAN](http://www.r-pkg.org/badges/version/modules)](https://cran.rstudio.com/package=modules) [![Downloads](http://cranlogs.r-pkg.org/badges/modules?color=brightgreen)](http://www.r-pkg.org/pkg/modules) ```{r, results='asis', echo=FALSE}