Skip to content
Prev 49583 / 63421 Next

Potential cross-platform package building issue

On 03/01/2015 3:49 PM, Steven Ranney wrote:
I've looked more closely at the file:  it doesn't have either Unix or
DOS end-of-line markers, it has CR-CR-LF (or 0D 0D 0A in hex), and
that's what confused R.  Unix uses LF, DOS used CR-LF, but nobody uses
CR-CR-LF.  I've seen things like that caused by auto-conversion of
files, so maybe Github did this to you.  (The R sources all use LF, so
that's the safest choice, but CR-LF should work fine too.)

The likely reason that Linux systems detected the error while your
Windows systems didn't is because the LaTeX systems handle these line
endings differently.

So I think this has to be classed as user error.

Duncan Murdoch