HenrikBengtsson / matrixStats

R package: Methods that Apply to Rows and Columns of Matrices (and to Vectors)
https://cran.r-project.org/package=matrixStats
206 stars 34 forks source link

Supporting removal of STRICT_R_HEADERS in 4.5.0 #272

Closed yaccos closed 1 week ago

yaccos commented 1 week ago

This PR aims to resolve issue #271. The following changes have been made:

HenrikBengtsson commented 1 week ago

Thanks. It looks like you introduced CRLF newlines to a few of the files you edited;

+#include <Rinternals.h> /* R_xlen_t, ... */^M
+#include <Rversion.h>   /* R_VERSION, R_Version() */^M

Can you please remove those, i.e. replace them with LF newlines? I think this is also why the diff rendered reports the files as changed (https://github.com/HenrikBengtsson/matrixStats/pull/272/commits/51246bc92f5bbe472766af127339c3714be67508)

yaccos commented 1 week ago

I am sorry about the newline corruption, it should be fixed now. Turns out that it is a good idea to set up git to automatically convert line endings on commit.

HenrikBengtsson commented 1 week ago

Thanks!