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

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jun 27 16:04:01 CEST 2007


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


More information about the R-devel mailing list