ANTsX / ANTsRCore

Rcpp bindings for the C++ ANTs library used by the ANTsR package
9 stars 9 forks source link

move in all cpp; move out all R #161

Closed ncullen93 closed 5 months ago

ncullen93 commented 6 months ago

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.