Skip to content

Commit

Permalink
cran release
Browse files Browse the repository at this point in the history
  • Loading branch information
wahani committed Dec 19, 2015
1 parent fd94fc0 commit dac0d64
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 18 deletions.
3 changes: 2 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
^.*\.Rproj$
^\.Rproj\.user$
prepareRepo.R
README.Rmd
README.md
^\.travis\.yml$
cran-comments.md
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]", 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
Expand Down
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -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 "^"
Expand Down
22 changes: 8 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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")
})
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -325,7 +319,7 @@ clusterMap(cl, m$gen, list(m$NewType(NULL)))
## NULL
##
## attr(,".self")
## <environment: 0x4238408>
## <environment: 0x324db20>
## attr(,"class")
## [1] "NewType" "list"
```
Expand Down
10 changes: 10 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion vignettes/modulesInR.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit dac0d64

Please sign in to comment.