Closed ablaette closed 2 years ago
This issue is essentially solved. The remaining task is to ensure that paths are always correct. Given that normalizePath()
may not be sufficiently reliable, fs::path()
may be the best choice.
Implemented as I suggested to myself.
The
cwb_encode()
function does not yet work on Windows. The reason is that transferring the "\" subdirectory separator is difficult. A solution that seems to work is to redefine the separator for the purpose of generating the registry file. Include this after #define Rprintf.As a second step, it will be necessary to ensure that all paths are handed over to Rcpp code cleanly with "/" as separator.