This is similar to this question and answer, except specialized to R packages. Since R uses its own custom build process, what is the correct way to force a rebuild using Rcpp?
(For reasons that I won't go into here, all of my C++ code is located outside /pkg/src, and is called via a simple wrapper function that never changes. For this reason, when the important code changes, R thinks nothing has changed and declares the dreaded make: Nothing to be done for 'all'.
)