Skip to content
Prev 5396 / 12125 Next

[R-pkg-devel] how to specify to let a package only build 64bit on CRAN

On 11/05/2020 7:54 a.m., Jan Wijffels wrote:
I don't see how your package has any 32 bit dependence, since it has no 
src directory.  It's probably sufficient to declare the dependency on 
reticulate, which indirectly implies the 32 bit dependence.  But if 
reticulate works on 32 bit systems as long as users don't need "torch",
then just state that.

One thing I'd recommend:  you should try to change the dependency from 
Depends to Imports.  If there are a few reticulate functions that you 
want your users to have access to, you can import them and re-export 
them so they're available from your package as well.

Duncan
Message-ID: <7f92f51b-6039-75ff-ad9f-8cca8aef24a1@gmail.com>
In-Reply-To: <MiNFqTNRplB4S5yTMf1AAnG8Ax_1XgRMDxiWZjeHpcsZYz0isEGQLLyn_GViqzLNEHRKwBmX2dbooF0vJFFwYHDruGJoLB7R5XXEdR2rDY8=@bnosac.be>