[R-pkg-devel] S4 methods

Edgar Josymar Torrejón-Magallanes ejo@ym@rt @end|ng |rom gm@||@com
Wed Jun 3 00:48:33 CEST 2020


Thank you so much for your help.

I delete the exporClass and the warnings and error have disappeared.

Regards

El mar., 2 jun. 2020 a las 4:28, Gábor Csárdi (<csardi.gabor using gmail.com>)
escribió:

> You export these S4 classes from your package:
>
> https://github.com/cran/sizeMat/blob/c4d257a9108cde3ddb6e8eb2072cd567ae85b5c8/NAMESPACE#L13-L15
>
> But these are not actually S4 classes, AFAICT. Remove the
> `@exportClass` tags here:
>
> https://github.com/cran/sizeMat/blob/c4d257a9108cde3ddb6e8eb2072cd567ae85b5c8/R/gonadMat-main.R#L47
>
> https://github.com/cran/sizeMat/blob/c4d257a9108cde3ddb6e8eb2072cd567ae85b5c8/R/morphMat-main.R#L101
>
> https://github.com/cran/sizeMat/blob/c4d257a9108cde3ddb6e8eb2072cd567ae85b5c8/R/morphMat-main.R#L305
>
> Gabor
>
> On Tue, Jun 2, 2020 at 10:57 AM Edgar Josymar Torrejón-Magallanes
> <ejosymart using gmail.com> wrote:
> >
> > Dear members
> >
> > I just finished some minor updates to an R package (sizeMat) I've had on
> > CRAN (haven't had to update in a month). My package passes Check on my
> > local machine, but it just bounced back from CRAN with the message
> >
> > Warning: S4 exports specified in 'NAMESPACE' but not defined in package
> > 'sizeMat'
> >
> > I use roxygen2 to build my package NAMESPACE and don't have any S4
> exports
> > that I'm aware of.
> >
> > Perhaps this might be related to changes in R version 4.0.0?
> > How could I fix this problem?
> >
> > Thanks.
> >
> > --
> > Edgar Josymar Torrejón Magallanes
> >
> >         [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-package-devel using r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel
>


-- 
Edgar Josymar Torrejón Magallanes

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list