[R] Including .exe files in an R package

sahir bhatnagar sahir.bhatnagar at gmail.com
Mon Feb 13 18:15:14 CET 2012


I am in the process of creating a package in R which calls
pre-compiled C code i.e. '.exe' files

In reading the manual, I came across this:

"A source package if possible should not contain binary executable
files: they are not portable, and a security risk if they are of the
appropriate architecture. R CMD check will warn about them2 unless
they are listed (one filepath per line) in a file ‘BinaryFiles’ at the
top level of the package. Note that CRAN will no longer accept
submissions containing binary files even if they are listed."

>From my understanding, the .exe files are a subset of binary files,
which are no longer accepted by CRAN. If this is the case for my
situation, is there any other way to include the C code, so that CRAN
will accept the package?

thanks



More information about the R-help mailing list