matthieugomez / statar

R package for data manipulation — inspired by Stata's API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Passing invalid argument to `lag()`

DavisVaughan opened this issue · comments

along_with is not an argument used by lag()

#' lag(c(1, 2, 3), n = 1, along_with = datem)

It is currently silently ignored, but this is usually a typo, so in the next version of dplyr we are making this an error and your package was flagged in our revdep checks.

If you could please remove the usage of this argument and resubmit your package to CRAN, then that would make our lives much easier when we submit dplyr! Thank you!

Removed it from the doc

Don't forget to redocument!