Hi Russell,
That's v helpful and I am going to try it myself. Can I just ask what goes
in your namespace file (and what roxygen tags you use) for the relevant
methods?
David
On Tue, 17 Jul 2018 at 02:29, Lenth, Russell V
wrote:
> Thanks to all who responded. I am pleased to say that with
Thanks to all who responded. I am pleased to say that with your help, I have
managed to work around this problem by dynamically registering the methods. My
file zzz.R contains code to register various methods having generics in coda
and multcomp. Those packages are in Suggests (not Imports) and
Using dplyr like that is for exploratory data analysis. You'll want to refer to
dplyr's "Programming with dplyr" vignette for using dplyr in a package:
https://cran.r-project.org/web/packages/dplyr/vignettes/programming.html
Dear Michael,
You could add a call to globalVariables() in the package sources for cases like
this.
I hope this helps,
John
-
John Fox
Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
Web:
Thanks, Georgi. I've changed my approach and now do what I gather is
recommended practice: put all external package names into the
"Imports" section of the DESCRIPTION file and then use the
fully-qualified names for functions from those packages, as:
dplyr::select()
The "check" operation is
On 11 July 2018 at 10:00, J C Nash wrote:
| 2) Is it time to consider an effort to provide online revdep checking
| that would avoid pressure on CRAN team directly and would provide
| clearer indicators of the issues raised by a particular package?
That is very close to my R Foundation Summit
El lun., 16 jul. 2018 a las 3:24, Lenth, Russell V
() escribió:
>
> Package developers,
>
> I posted a question a couple of months ago dealing with how to reduce the
> number of dependencies in a package. Part of the specific issue I face is
> that I have a `cld` S3 method for which the generic
Hi Russ,
Possibly relevant: the modelgenerics package (on GitHub) does exactly what
you're suggesting for standard model functions like `nobs` etc. I think at
some point it is going to become part of the tidyverse.
D
On Mon, 16 Jul 2018 at 02:24, Lenth, Russell V
wrote:
> Package