[Rd] packages using UTF-8 encoding

From: Sebastian P. Luque <spluque_at_gmail.com>
Date: Mon, 09 Jul 2007 07:59:15 -0500


During a recent CRAN upload procedure, I was reminded of the following regarding R-devel:

    o R CMD check now warns on non-ASCII .Rd files without an

        \encoding field, rather than just on ones that are definitely
        not from an ISO-8859 encoding.  This agrees with the
        long-standing stipulation in 'Writing R Extensions', and
        catches some packages with UTF-8 man pages.

    o   R CMD check now warns on DESCRIPTION files with a non-portable
        Encoding field, or with non-ASCII data and no Encoding field.

So if we need UTF-8 encoding for the DESCRIPTION and *.Rd files, would it be sufficient to have an "Encoding: UTF-8" line in the former and a "\encoding{UTF-*}" in the latter? Thanks.



R-devel_at_r-project.org mailing list
Received on Mon 09 Jul 2007 - 13:06:28 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 Mon 09 Jul 2007 - 14:36:07 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.