The merging of osqp/osqp#396 in the main OSQP library repo will allow us to move the R-specific printing functions to the R repo, removing the need to include the R headers and code in the main library.
This is also possible to do with the memory allocation functions currently, and hopefully the timing/interrupt functions will move to this as well, so we can then move all R-interface specific code to the interface and remove it from the main library repo - allowing us to then remove the R CMake parts from the main library and only have it here in the interface.
The merging of osqp/osqp#396 in the main OSQP library repo will allow us to move the R-specific printing functions to the R repo, removing the need to include the R headers and code in the main library.
This is also possible to do with the memory allocation functions currently, and hopefully the timing/interrupt functions will move to this as well, so we can then move all R-interface specific code to the interface and remove it from the main library repo - allowing us to then remove the R CMake parts from the main library and only have it here in the interface.