[R-pkg-devel] Weird error on CRAN linux check

David Hugh-Jones d@vidhughjone@ @ending from gm@il@com
Wed Jul 4 20:12:36 CEST 2018


I figured that. Actually I just tried this. I now get the interesting
result that all calls to a generic fail with the UseMethod error...?

On Wed, 4 Jul 2018 at 16:12, Joris Meys <Joris.Meys using ugent.be> wrote:

> On Wed, Jul 4, 2018 at 4:22 PM, Hadley Wickham <h.wickham using gmail.com>
> wrote:
>
>> I don't think it's related to the error, but you shouldn't be exporting
>> this:
>>
>> export("align<-.huxtable")
>>
>> You should generally only export the method.
>>
>
> Hadley means to say that you should generally only export the generic, not
> the individual methods.
> More information here:
>
> https://cran.r-project.org/doc/manuals/R-exts.html#Registering-S3-methods
>
> Cheers
> Joris
> --
> Joris Meys
> Statistical consultant
>
> Department of Data Analysis and Mathematical Modelling
> Ghent University
> Coupure Links 653, B-9000 Gent (Belgium)
>
> <https://maps.google.com/?q=Coupure+links+653,%C2%A0B-9000+Gent,%C2%A0Belgium&entry=gmail&source=g>
>
> tel: +32 (0)9 264 61 79
> -----------
> Biowiskundedagen 2017-2018
> http://www.biowiskundedagen.ugent.be/
>
> -------------------------------
> Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php
>
-- 
Sent from Gmail Mobile

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list