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

Balamuta, James Joseph balamut2 at illinois.edu
Thu Nov 17 15:05:02 CET 2016


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


More information about the Rcpp-devel mailing list