-
With the new tidyeval setup, some dplyr verbs can take strings as arguments. For example, `select(mtcars, "cyl")` works as expected, no extra `!!` or `sym` needed. That's not true for `group_by` (or m…
-
-
```r
# Load required packages
library(ggplot2)
library(pdp)
library(randomForest)
# Load Boston housing data
data(boston)
# Fit a random forest model
set.seed(101)
boston.rf %
partial(…
-
Do we need `tidyselect::validate_vars()`, that would take a character vector of names and throw appropriate errors if not found?
Using `vars_select()` for this is a bit awkward because of the need …
-
-
If a case_when is used inside a mutate, the entire mutate function is ignored in a disk frame, and no error is thrown.
Example:
```
value %
dplyr::mutate(b = case_when(
char %in% c("A", "B…
-
When I try to use !! to unquote (evaluate?) a variable, things work as expected with dplyr::select, however when I try to use dplyr::count, it counts not the elements of the column in my tibble but ra…
-
- Input functions from tidyverse (`read_csv()`, etc.) and `read.csv()`
- Output functions (`write_csv()`, `write.csv()`, etc.)
- `library()` and `require()` (@hadley)
- `source()`
Do a handful o…
-
I encountered an interesting feature in `dplyr`/`tibble` which more or less boils down to me completely misunderstanding the `.data` pronoun.
`data_frame(a) %>% mutate(b = names(.data), c = names(.…
-
In particular, I found it surprising that `!!` (and in `rlang` version 0.3.99.9003, `{{...}}`) are evaluated at the `expect_xxx` level.
```r
> identical(rlang::expr(!!quote(!!foo)), quote(!!foo))
…