[R-pkg-devel] S4 generics package?

Charles Determan cdeterm@njr @ending from gm@il@com
Fri Jul 6 17:58:10 CEST 2018


I know in Bioconductor there is the BiocGenerics package (
https://bioconductor.org/packages/release/bioc/html/BiocGenerics.html).  I
have not been able to find any similar package on CRAN.  I use S4 methods
quite often and a package like this would be very useful for future
packages I am developing.

My question generally is, should I consider using BiocGenerics as a
dependency if I normally submit to CRAN?  My understanding is that I would
need to submit any package which uses BiocGenerics to Bioconductor to meet
dependency requirements.  I have no issue with Bioconductor, I even have
another package published on there.  However, the packages I am developing
are not specific to bioinformatics.

That said, if no such 'generics' package exists on CRAN I am curious what
people would think of me possibly developing a 'peer' package similar to
BiocGenerics for CRAN packages.


	[[alternative HTML version deleted]]

More information about the R-package-devel mailing list