This PR is a major step towards getting ANTsR on CRAN and supporting easier maintenance of the ANTsR API. It moves all the C++ code here to ANTsRCore. The idea is that ANTsRCore is the only thing that needs to be compiled / built with ANTs... solving a lot of issues with ANTsRCore and ANTsR having duplicate functions and processes.
The Rcpp code has also been tweaked a bit so that all exported Rcpp functions are automatically identified and wrapped in corresponding R functions that make the appropriate ".Call" calls.
This will help with CRAN as we can now separate the concerns of 1) getting a reliable cross-platform ANTsRCore build and 2) getting the ANTsR R code into a shape acceptable by CRAN re: docs, examples, styling, etc.
This PR is a major step towards getting ANTsR on CRAN and supporting easier maintenance of the ANTsR API. It moves all the C++ code here to ANTsRCore. The idea is that ANTsRCore is the only thing that needs to be compiled / built with ANTs... solving a lot of issues with ANTsRCore and ANTsR having duplicate functions and processes.
The Rcpp code has also been tweaked a bit so that all exported Rcpp functions are automatically identified and wrapped in corresponding R functions that make the appropriate ".Call" calls.
This will help with CRAN as we can now separate the concerns of 1) getting a reliable cross-platform ANTsRCore build and 2) getting the ANTsR R code into a shape acceptable by CRAN re: docs, examples, styling, etc.