[Rcpp-devel] Help with WARNING msg: checking line endings in C/C++/Fortran sources/headers ...

binbinlu at whu.edu.cn binbinlu at whu.edu.cn
Fri Nov 18 10:48:28 CET 2016


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: binbinlu at whu.edu.cn
 
From: Balamuta, James Joseph
Date: 2016-11-17 22:05
To: binbinlu at whu.edu.cn; rcpp-devel at lists.r-forge.r-project.org
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: rcpp-devel-bounces at lists.r-forge.r-project.org [mailto:rcpp-devel-bounces at lists.r-forge.r-project.org] On Behalf Of binbinlu at whu.edu.cn
Sent: Thursday, November 17, 2016 7:03 AM
To: rcpp-devel at lists.r-forge.r-project.org
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
Rcpp-devel at lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20161118/8c69dfcd/attachment.html>


More information about the Rcpp-devel mailing list