File tree 5 files changed +54
-5
lines changed
5 files changed +54
-5
lines changed Original file line number Diff line number Diff line change 1
1
^.*\.Rproj$
2
2
^\.Rproj\.user$
3
- ^\.travis\.yml$
3
+ ^\.travis\.yml$
4
+ cran-comments.md
Original file line number Diff line number Diff line change 1
1
Package: magrittr
2
2
Type: Package
3
- Title: magrittr - a forward-pipe operator for R
3
+ Title: A forward-pipe operator for R
4
4
Version: 1.5
5
5
Author: Stefan Milton Bache <
[email protected] > and
6
6
Hadley Wickham <
[email protected] >
Original file line number Diff line number Diff line change
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.
Original file line number Diff line number Diff line change
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.
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ data.frame(z = rnorm(100)) %$%
167
167
168
168
Finally, the compound assignment pipe operator ` %<>% ` can be used as the first pipe
169
169
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
171
171
shorthand notation for expressions like ` foo <- foo %>% bar %>% baz ` , which
172
172
boils down to ` foo %<>% bar %>% baz ` . Another example is
173
173
@@ -207,6 +207,6 @@ rnorm(100) %>% `*`(5) %>% `+`(5) %>%
207
207
To see a list of the aliases, execute e.g. ` ?multiply_by ` .
208
208
209
209
# 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:
212
212
[ github.com/smbache/magrittr] ( http://github.com/smbache/magrittr ) .
You can’t perform that action at this time.
0 commit comments