Re: [Rd] make check for 2.5.1 RC fails on mbcsToSbcs in graphics

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed, 27 Jun 2007 15:04:01 +0100 (BST)

But R 2.5.0 does the same, and as far as I know R has done so for many past versions.

You are asking the impossible: outputting Latin-1 in a Latin-2 environment. Remember that postscript() does not handle UTF-8, and so uses whatever it thinks the local 8-bit encoding is, in your case either Latin-2 or ASCII. We can probably work around this, but definitely not at this late stage for 2.5.1.

On Wed, 27 Jun 2007, Petr Savicky wrote:

> configure and make run OK, but make check failed
> for R version 2.5.1 RC (2007-06-26 r42068) on graphics with error:
>
> > ## The following two examples use latin1 characters: these may not
> > ## appear correctly (or be omitted entirely).
> > plot(1:10, 1:10, main = "text(...) examples\n~~~~~~~~~~~~~~",
> + sub = "R is GNU , but not ...")
> Error in title(...) : conversion failure in 'mbcsToSbcs'
> Execution halted
>
> The whole tests/Examples/graphics-Ex.Rout.fail is at
> http://www.cs.cas.cz/~savicky/R-devel/graphics-Ex.Rout.fail
>
> The end of make check report is:
>
> make[5]: Leaving directory `/home/petr/R/DEVEL/R-rc-2007-06-26/src/library'
> running code in 'grDevices-Ex.R' ... OK
> collecting examples for package 'graphics' ...
> make[5]: Entering directory `/home/petr/R/DEVEL/R-rc-2007-06-26/src/library'
> >>> Building/Updating help pages for package 'graphics'
> Formats: text html latex example
> make[5]: Leaving directory `/home/petr/R/DEVEL/R-rc-2007-06-26/src/library'
> running code in 'graphics-Ex.R' ...make[4]: *** [graphics-Ex.Rout] Error 1
> make[4]: Leaving directory `/home/petr/R/DEVEL/R-rc-2007-06-26/tests/Examples'
> make[3]: *** [test-Examples-Base] Error 2
> make[3]: Leaving directory `/home/petr/R/DEVEL/R-rc-2007-06-26/tests/Examples'
> make[2]: *** [test-Examples] Error 2
> make[2]: Leaving directory `/home/petr/R/DEVEL/R-rc-2007-06-26/tests'
> make[1]: *** [test-all-basics] Error 1
> make[1]: Leaving directory `/home/petr/R/DEVEL/R-rc-2007-06-26/tests'
> make: *** [check] Error 2
>
> Otherwise, the installation works.
>
> R.Version
>
> platform i686-pc-linux-gnu
> arch i686
> os linux-gnu
> system i686, linux-gnu
> status RC
> major 2
> minor 5.1
> year 2007
> month 06
> day 26
> svn.rev 42068
> language R
> version.string R version 2.5.1 RC (2007-06-26 r42068)
>
> System SUSE LINUX 10.0, gcc version 4.0.2 20050901 (prerelease) (SUSE Linux),
> default options,
>
> $LANG = cs_CZ.UTF-8
> $LC_MESSAGES = POSIX
> $LC_TIME = POSIX
> no other LC_* set
>
> Petr.
>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


______________________________________________ R-devel_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Received on Wed 27 Jun 2007 - 14:11:13 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 27 Jun 2007 - 16:35:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.