Greetings and Salutations, Odd that the warning would end up being triggered as file is automatically generated with appropriate line endings.
Within the package directory, try running: Rcpp::compileAttributes() This will recreate the export files (e.g. src/RcppExports.cpp or R/RcppExports.R). Sincerely, JJB -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Thursday, November 17, 2016 7:03 AM To: [email protected] Subject: [Rcpp-devel] Help with WARNING msg: checking line endings in C/C++/Fortran sources/headers ... Dear all, When I ran R CMD check (R 3.2.2) on Windows 7 with my package, and I kept getting the following warning message: * checking line endings in C/C++/Fortran sources/headers ... WARNING Found the following sources/headers with CR or CRLF line endings: src/RcppExports.cpp The CPP file is a C++ source used in the package. I know it is not a new problem, and there were many posts before. However, I am still confused and fail to get rid of it. I will appreciate it a lot if anyone may help. Best regards, Binbin _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
