MichaelChirico / r-bugs

A ⚠️read-only⚠️mirror of https://bugs.r-project.org/
20 stars 0 forks source link

[BUGZILLA #10781] Mac OS X 2.5.1 / reg-plot.R / tr #3282

Closed MichaelChirico closed 4 years ago

MichaelChirico commented 4 years ago

From: Andrew Runnalls <A.R.Runnalls@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::>> In building R 2.6.2 from source for Mac OS X 2.5.1 (with i686-apple-darwin9-gcc-4.0.1), 'make check' fails. The failure is in reg-plot.R, and occurs because Mac OS X's 'tr' command (invoked by Rdiff to strip carriage returns) regards the dagger sign in reg-plot.ps as an illegal byte sequence.

I'm surprised that this doesn't seem to have been reported before, but it was already present at least in R 2.6.1

Incidentally, couldn't the handling of line endings now be left to svn:eol-style?

Andrew Runnalls

-- Dr Andrew Runnalls, Computing Laboratory, University of Kent, CANTERBURY CT2 7NF, UK

<CENSORING FROM DETECTED PHONE NUMBER ONWARDS; SEE BUGZILLA>


METADATA

MichaelChirico commented 4 years ago

From: Prof Brian Ripley <ripley@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::>> Please do as we ask in both the FAQ and posting guide and check the current working copy of R, which does this differently.

On Sun, 17 Feb 2008, A.R.Runnalls@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::> wrote:

In building R 2.6.2 from source for Mac OS X 2.5.1 (with
i686-apple-darwin9-gcc-4.0.1), 'make check' fails.  The failure is in
reg-plot.R, and occurs because Mac OS X's 'tr' command (invoked by Rdiff
to strip carriage returns) regards the dagger sign in reg-plot.ps as an
illegal byte sequence.

Known for certain locales: we do ask you to report yours (part of the 'at a minimum' information requested in the posting guide).

I'm surprised that this doesn't seem to have been reported before, but
it was already present at least in R 2.6.1

It has been, and fixed before! From the svn logs

r44231 | ripley | 2008-01-29 12:45:00 +0000 (Tue, 29 Jan 2008) | 1 line

MacOS tr does not cope with Latin-1 chars in a UTF-8 locale

Incidentally, couldn't the handling of line endings now be left to
svn:eol-style?

Have you read the code concerned? It says

## some packages ship .Rout.save with CRLF endings

and we have no control over what line-endings third-party packages ship with.

-- Brian D. Ripley, ripley@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ <CENSORING FROM DETECTED PHONE NUMBER ONWARDS; SEE BUGZILLA>


METADATA

MichaelChirico commented 4 years ago

NOTES: Already fixed (2009-01-29) !!


METADATA

MichaelChirico commented 4 years ago

Audit (from Jitterbug): Sun Feb 17 19:18:35 2008 ripley changed notes Sun Feb 17 18:18:35 2008 ripley moved from incoming to Macintosh-fixed


METADATA