markfairbanks / tidytable

Tidy interface to 'data.table'
https://markfairbanks.github.io/tidytable/
Other
450 stars 32 forks source link

Can't use "unique" or "sorted" as names in `expand_grid()` #718

Closed markfairbanks closed 1 year ago

markfairbanks commented 1 year ago
pacman::p_load(tidytable)

expand_grid(x = 1:3, unique = 1:3)
#> Error in (function (..., sorted = TRUE, unique = FALSE) : formal argument "unique" matched by multiple actual arguments

This can be fixed by switching to vec_expand_grid().