Skip to content
Prev 2192 / 12125 Next

[R-pkg-devel] Problem enhancing a package with a predict method not declared to be an S3 method

On 15/12/2017 11:52 PM, Chris Brien wrote:
I don't speak for CRAN, but I think it is consistent with their 
philosophy that a package doing what yours does should not be allowed there.

Your package depends on the internals of asreml.  There is nothing to 
stop that package from changing them, causing your package to generate 
errors or incorrect results.  CRAN does what it can to prevent this kind 
of error, and it can't do it with yours.

I'd suggest that you contact the maintainers of asreml, and ask them to 
export the functions you need.  If they are unwilling to do that, then 
you could ask them to distribute your package, or distribute it yourself 
(e.g. by making it available on Github).

One other possibility is that their license would allow you to copy 
enough of their package into yours that you wouldn't need the ::: 
import, but that seems unlikely.

Duncan Murdoch