Skip to content

Commit 18706cd

Browse files
committed
rebuild and recheck
1 parent c6f3adf commit 18706cd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1425
-1269
lines changed

Examples/Introduction/rquery_Introduction.Rmd

+3-3
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ d %.>%
130130

131131
We can use `=` or `:=` for column assignment. In these examples we will use `:=` to keep column assignment clearly distinguishable from argument binding.
132132

133-
`extend` allows for very powerful per-group operations akin to what [`SQL`](TODO: Wikipedia link) calls ["window functions"](TODO: Wikipedia link). When the optional `partitionby` argument is set to a vector of column names then aggregate calculations can be performed per-group. For example.
133+
`extend` allows for very powerful per-group operations akin to what [`SQL`](https://en.wikipedia.org/wiki/SQL) calls ["window functions"](https://en.wikipedia.org/wiki/SQL_window_function). When the optional `partitionby` argument is set to a vector of column names then aggregate calculations can be performed per-group. For example.
134134

135135
```{r}
136136
shift <- data.table::shift
@@ -239,7 +239,7 @@ We could, of course, perform complicated data manipulation by sequencing `rquery
239239
knitr::kable(.)
240240
```
241241

242-
The above discipline has the advantage that it is easy to debug, as we can run line by line and inspect intermediate values. We can even use the [Bizarro pipe](TODO: link) to make this look like a pipeline of operations.
242+
The above discipline has the advantage that it is easy to debug, as we can run line by line and inspect intermediate values. We can even use the [Bizarro pipe](http://www.win-vector.com/blog/2017/01/using-the-bizarro-pipe-to-debug-magrittr-pipelines-in-r/) to make this look like a pipeline of operations.
243243

244244
```{r}
245245
d ->.;
@@ -269,7 +269,7 @@ d %.>%
269269
knitr::kable(.)
270270
```
271271

272-
`rquery` operators can also act on `rquery` pipelines istead of acting on data. We can write our operations as follows:
272+
`rquery` operators can also act on `rquery` pipelines instead of acting on data. We can write our operations as follows:
273273

274274
```{r}
275275
ops <- local_td(d) %.>%

Examples/Introduction/rquery_Introduction.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,10 @@ use `:=` to keep column assignment clearly distinguishable from argument
206206
binding.
207207

208208
`extend` allows for very powerful per-group operations akin to what
209-
[`SQL`](TODO:%20Wikipedia%20link) calls [“window
210-
functions”](TODO:%20Wikipedia%20link). When the optional `partitionby`
211-
argument is set to a vector of column names then aggregate calculations
212-
can be performed per-group. For example.
209+
[`SQL`](https://en.wikipedia.org/wiki/SQL) calls [“window
210+
functions”](https://en.wikipedia.org/wiki/SQL_window_function). When
211+
the optional `partitionby` argument is set to a vector of column names
212+
then aggregate calculations can be performed per-group. For example.
213213

214214
``` r
215215
shift <- data.table::shift
@@ -380,8 +380,9 @@ knitr::kable(.)
380380

381381
The above discipline has the advantage that it is easy to debug, as we
382382
can run line by line and inspect intermediate values. We can even use
383-
the [Bizarro pipe](TODO:%20link) to make this look like a pipeline of
384-
operations.
383+
the [Bizarro
384+
pipe](http://www.win-vector.com/blog/2017/01/using-the-bizarro-pipe-to-debug-magrittr-pipelines-in-r/)
385+
to make this look like a pipeline of operations.
385386

386387
``` r
387388
d ->.;
@@ -425,7 +426,7 @@ d %.>%
425426
| 1 | 4 | 7 |
426427
| 2 | 3 | 8 |
427428

428-
`rquery` operators can also act on `rquery` pipelines istead of acting
429+
`rquery` operators can also act on `rquery` pipelines instead of acting
429430
on data. We can write our operations as follows:
430431

431432
``` r

R/wrap_ex.R

+4
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,13 @@ order_rows.wrapped_relop <- function(source,
277277
#'
278278
#' @examples
279279
#'
280+
#' if(requireNamespace('rqdatatable')) {
280281
#' d <- data.frame(x = 1:3, y = 4:6)
281282
#' d %.>%
282283
#' wrap(.) %.>%
283284
#' extend(., z := x + y) %.>%
284285
#' ex(.)
286+
#' }
285287
#'
286288
#' @export
287289
#'
@@ -332,11 +334,13 @@ wrap.data.frame <- function(d,
332334
#'
333335
#' @examples
334336
#'
337+
#' if(requireNamespace('rqdatatable')) {
335338
#' d <- data.frame(x = 1:3, y = 4:6)
336339
#' d %.>%
337340
#' wrap(.) %.>%
338341
#' extend(., z := x + y) %.>%
339342
#' ex(.)
343+
#' }
340344
#'
341345
#' @export
342346
#'

README.Rmd

+247-218
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)