I want to submit a package, but when reading to R repository policies, I found that: "Source packages may not contain any form of binary executable code.". I currently have a binary executable for mac, win and Linux in .../inst, and the package works very fine in all os. However, I think that CRAN won't accept this. I have begun to find some info, but I am new to C and all I read is very confusing. It seems that there are several ways to carry out this and I don't know which one is the best.
My binary executable needs a specific class file in the directory, which is rendered by a function.
All my functions depend on the c library. So, what is the action I should do to get the acceptance of CRAN? ...e.g, compile with Rtools and put the executables in .../inst? Leave the library in .../inst and make a function that will do the work?
Self-study. Updates about the steps taken to solve the problem:
Install Rcpp package,
install.packages("Rcpp")
and install R tools.
Create a new package in R studio of type "Package w/ Rcpp" and select the main file of my c code library in "Create package based on source files".