Skip to content

Commit 72b475e

Browse files
unknownunknown
unknown
authored and
unknown
committed
CRAN Comments, NEWS, etc.
1 parent 9c75666 commit 72b475e

File tree

5 files changed

+54
-5
lines changed

5 files changed

+54
-5
lines changed

.Rbuildignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
^.*\.Rproj$
22
^\.Rproj\.user$
3-
^\.travis\.yml$
3+
^\.travis\.yml$
4+
cran-comments.md

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: magrittr
22
Type: Package
3-
Title: magrittr - a forward-pipe operator for R
3+
Title: A forward-pipe operator for R
44
Version: 1.5
55
Author: Stefan Milton Bache <[email protected]> and
66
Hadley Wickham <[email protected]>

NEWS.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# magrittr 1.5
2+
3+
## New features
4+
5+
### Functional sequences.
6+
A pipeline, or a "functional sequence", need not be applied
7+
to a left-hand side value instantly. Instead it can serve as
8+
a function definition. A pipeline where the left-most left-hand
9+
side is the magrittr placeholder (the dot `.`) will thus create a
10+
function, which applies each right-hand side in sequence to its
11+
argument, e.g. `f <- . %>% abs %>% mean(na.rm = TRUE)`.
12+
13+
### New operators
14+
Three new operators are introduced for some special cases
15+
16+
* Compound assignment pipe: `%<>%`
17+
* Tee pipe: `%T>%`
18+
* Exposition pipe: `%$%`
19+
20+
For more information see the documentation, e.g. `?%T>%`.
21+
22+
### Lambdas
23+
Lambdas can now be made by enclosing several statements in curly braces,
24+
and is a unary function of the dot argument.
25+
26+
For more information and examples, see the updated vignette, and help files.

cran-comments.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## Test environments
2+
* local Windows 7 install, R 3.1.2
3+
* ubuntu 12.04 (on travis-ci), R 3.1.2
4+
* win-builder (devel and release)
5+
6+
## R CMD check results
7+
There were no ERRORs or WARNINGs.
8+
9+
I experience this NOTE, when using devtools::release, but not
10+
when I check the package as usual:
11+
12+
* checking CRAN incoming feasibility ... NOTE
13+
Maintainer: 'Stefan Milton Bache <[email protected]>'
14+
Components with restrictions and base license permitting such:
15+
MIT + file LICENSE
16+
File 'LICENSE':
17+
YEAR: 2014
18+
COPYRIGHT HOLDER: Stefan Milton Bache and Hadley Wickham
19+
20+
## Downstream dependencies
21+
I have also run R CMD check on downstream dependencies of magrittr.
22+
There were only notes unrelated to magrittr.

vignettes/magrittr.Rmd

+3-3
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ data.frame(z = rnorm(100)) %$%
167167

168168
Finally, the compound assignment pipe operator `%<>%` can be used as the first pipe
169169
in a chain. The effect will be that the result of the pipeline is assigned to the
170-
left-handside object, rather than returning the result as usual. It is essentially
170+
left-hand side object, rather than returning the result as usual. It is essentially
171171
shorthand notation for expressions like `foo <- foo %>% bar %>% baz`, which
172172
boils down to `foo %<>% bar %>% baz`. Another example is
173173

@@ -207,6 +207,6 @@ rnorm(100) %>% `*`(5) %>% `+`(5) %>%
207207
To see a list of the aliases, execute e.g. `?multiply_by`.
208208

209209
# Development
210-
The *magrittr* package is also available in develpment version at the
211-
GitHub develpment page:
210+
The *magrittr* package is also available in a development version at the
211+
GitHub development page:
212212
[github.com/smbache/magrittr](http://github.com/smbache/magrittr).

0 commit comments

Comments
 (0)