Dear Balamuta, Many thanks for your rely. I've tried to use Rcpp::compileAttributes() for re-generating the RcppExports.cpp and RcppExports.r files. Unfortunately, the warning message is still there. I am wondering whether this problem needs to be solved or we can ignore it. It has bothered too much. Any more suggestions?
Best regards, Binbin Dr Binbin Lu Lecturer in School of Remote Sensing and Information Engineering, Wuhan University Email: [email protected] From: Balamuta, James Joseph Date: 2016-11-17 22:05 To: [email protected]; [email protected] Subject: RE: [Rcpp-devel] Help with WARNING msg: checking line endings in C/C++/Fortran sources/headers ... 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
