roxygen2
roxygen2 copied to clipboard
Think about methods for generics in suggested packages
e.g. https://dbplyr.tidyverse.org/reference/pivot_longer.tbl_lazy.html — the tidyr methods look different to the others because (as far as roxygen2 knows), they're not actually methods.
Need to standardise and/or document hack to load packages before roxygenise() is run: https://github.com/tidyverse/dtplyr/blob/master/DESCRIPTION#L42
There is
Roxygen: list(packages = "foobar")
now. Isn't that good?
I know I tried that for dtplyr and I'm pretty sure it didn't work.
Is that because you need to attach the package? I am fairly sure that the loading works.
Yeah, that's it.
We can attach packages then maybe?
Yeah, that should be relatively harmless I'd think.
The original goal of the packages field was to load packages that provided other roclets, but it doesn't seem like attaching these packages will cause harm and creating another field seems like overkill.