<html><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: ????; color: rgb(0, 0, 0); line-height: 1.5; }body { font-size: 10.5pt; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">Dear Balamuta,</span><span></span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"><br></span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">Many thanks for your rely. I've tried to use </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">Rcpp::compileAttributes() for re-generating the </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">RcppExports.cpp and </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">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?</span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"><br></span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">Best regards,</span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"><br></span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">Binbin</span></div><div><span style="background-color: window; font-size: 10.5pt; line-height: 1.5;"><br></span></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>Dr Binbin Lu</div><div>Lecturer in School of Remote Sensing and Information Engineering, Wuhan University</div><div><span style="font-size: 10pt; line-height: 1.5; background-color: window;">Email: binbinlu@whu.edu.cn</span></div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:balamut2@illinois.edu">Balamuta, James Joseph</a></div><div><b>Date:</b> 2016-11-17 22:05</div><div><b>To:</b> <a href="mailto:binbinlu@whu.edu.cn">binbinlu@whu.edu.cn</a>; <a href="mailto:rcpp-devel@lists.r-forge.r-project.org">rcpp-devel@lists.r-forge.r-project.org</a></div><div><b>Subject:</b> RE: [Rcpp-devel] Help with WARNING msg: checking line endings in C/C++/Fortran sources/headers ...</div></div></div><div><div>Greetings and Salutations,</div>
<div> </div>
<div>Odd that the warning would end up being triggered as file is automatically generated with appropriate line endings. </div>
<div> </div>
<div>Within the package directory, try running:</div>
<div> </div>
<div>Rcpp::compileAttributes()</div>
<div> </div>
<div>This will recreate the export files (e.g. src/RcppExports.cpp or R/RcppExports.R).</div>
<div> </div>
<div>Sincerely,</div>
<div> </div>
<div>JJB</div>
<div>-----Original Message-----</div>
<div>From: rcpp-devel-bounces@lists.r-forge.r-project.org [mailto:rcpp-devel-bounces@lists.r-forge.r-project.org] On Behalf Of binbinlu@whu.edu.cn</div>
<div>Sent: Thursday, November 17, 2016 7:03 AM</div>
<div>To: rcpp-devel@lists.r-forge.r-project.org</div>
<div>Subject: [Rcpp-devel] Help with WARNING msg: checking line endings in C/C++/Fortran sources/headers ...</div>
<div> </div>
<div>Dear all,</div>
<div> </div>
<div>When I ran R CMD check (R 3.2.2) on Windows 7 with my package, and I kept getting the following warning message:</div>
<div> </div>
<div>* checking line endings in C/C++/Fortran sources/headers ... WARNING Found the following sources/headers with CR or CRLF line endings:</div>
<div>  src/RcppExports.cpp</div>
<div> </div>
<div>The CPP file is a C++ source used in the package.</div>
<div>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.</div>
<div> </div>
<div>Best regards,</div>
<div> </div>
<div>Binbin</div>
<div>_______________________________________________</div>
<div>Rcpp-devel mailing list</div>
<div>Rcpp-devel@lists.r-forge.r-project.org</div>
<div>https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</div>
</div></blockquote>
</body></html>