Code
crossing(x = 1:10, y = quote(a))
Condition
Error in `crossing()`:
! `..2` must be a vector, not a symbol.
.name_repair
Code
out <- df %>% expand(x = x, x = x, .name_repair = "unique")
Message
New names:
* `x` -> `x...1`
* `x` -> `x...2`
.name_repair
Code
out <- crossing(x = x, x = x, .name_repair = "unique")
Message
New names:
* `x` -> `x...1`
* `x` -> `x...2`
Code
out <- nesting(x = x, x = x, .name_repair = "unique")
Message
New names:
* `x` -> `x...1`
* `x` -> `x...2`
Code
expand_grid(x = x, x = x)
Condition
Error in `expand_grid()`:
! Names must be unique.
x These names are duplicated:
* "x" at locations 1 and 2.
i Use argument `.name_repair` to specify repair strategy.
Code
out <- expand_grid(x = x, x = x, .name_repair = "unique")
Message
New names:
* `x` -> `x...1`
* `x` -> `x...2`
.vary
parameterCode
expand_grid(x = 1:2, y = 1:2, .vary = "invalid")
Condition
Error in `expand_grid()`:
! `.vary` must be one of "slowest" or "fastest", not "invalid".
Code
grid_dots(lm(1 ~ 1))
Condition
Error:
! `..1` must be a vector, not a <lm> object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.