<div dir="ltr">Hi community,<div><br></div><div>In the near future I'll be trying to publish a package in the CRAN and after reading "Writing R extensions" I have some doubts.</div><div><br></div><div>I have some c++ functions, available from the R-side with Rcpp. These c++ functions have calls to some C packages. In the src directory I have the source code of these C libraries, and a directory with the .o files of the .c files, and informed in the PKG_LIBS variable. I've included the compiled files for different platforms: ubuntu x32, x64, and windows x32, x64 (I'll probably include support for OSX) and in the Makevars I select the .o files to use depending on the OS and arch.</div><div><br></div><div>If I execute the R CMD check command, I have no errors but some warnings like "Object files/libraries should not be included in a source package". The message and the documentation just recommend not to use them but doesn't say that it is forbidden.</div><div><br></div><div>Can I have problems if I try to attemp the upload of the library in this circumstance?</div><div><br></div><div>Thank you in advance.</div></div>