• using R version 2.14.0 (2011-10-31)
  • using platform: i386-apple-darwin9.8.0 (32-bit)
  • using session charset: ASCII
  • checking for file 'Unicode/DESCRIPTION' ... OK
  • this is package 'Unicode' version '0.1-3'
  • package encoding: UTF-8
  • checking package namespace information ... OK
  • checking package dependencies ... OK
  • checking if this is a source package ... OK
  • checking if there is a namespace ... OK
  • checking for executable files ... OK
  • checking whether package 'Unicode' can be installed ... OK
  • checking installed package size ... OK
  • checking package directory ... OK
  • checking for portable file names ... OK
  • checking for sufficient/correct file permissions ... OK
  • checking DESCRIPTION meta-information ... OK
  • checking top-level files ... OK
  • checking index information ... OK
  • checking package subdirectories ... OK
  • checking R files for non-ASCII characters ... OK
  • checking R files for syntax errors ... OK
  • checking whether the package can be loaded ... OK
  • checking whether the package can be loaded with stated dependencies ... OK
  • checking whether the package can be unloaded cleanly ... OK
  • checking whether the namespace can be loaded with stated dependencies ... OK
  • checking whether the namespace can be unloaded cleanly ... OK
  • checking for unstated dependencies in R code ... OK
  • checking S3 generic/method consistency ... OK
  • checking replacement functions ... OK
  • checking foreign function calls ... OK
  • checking R code for possible problems ... OK
  • checking Rd files ... OK
  • checking Rd metadata ... OK
  • checking Rd cross-references ... OK
  • checking for missing documentation entries ... OK
  • checking for code/documentation mismatches ... OK
  • checking Rd \usage sections ... OK
  • checking Rd contents ... OK
  • checking for unstated dependencies in examples ... OK
  • checking R/sysdata.rda ... NOTE

    Note: significantly better compression could be obtained
    by using tools::resaveRdaFiles() or R CMD build --resave-data
    old_size new_size compress
    sysdata.rda 364Kb 159Kb xz
  • checking examples ... WARNING
    checking a package with encoding 'UTF-8' in an ASCII locale

    ERROR
    Running examples in 'Unicode-Ex.R' failed
    The error most likely occurred in:

    > ### Encoding: UTF-8
    >
    > ### Name: casefuns
    > ### Title: Unicode Case Conversions
    > ### Aliases: u_to_lower_case u_to_upper_case u_to_title_case u_case_fold
    >
    > ### ** Examples
    >
    > ## Latin upper case letters A to Z:
    > x <- as.u_char(as.u_char_range("0041..005A"))
    > ## In case we did not know the code points, we could use e.g.
    > x <- as.u_char(utf8ToInt(paste(LETTERS, collapse = "")))
    > sapply(x, intToUtf8)
    [1] "A" "B" "C" "D" "E" "F" "G" "H" "I" "J" "K" "L" "M" "N" "O" "P" "Q" "R" "S"
    [20] "T" "U" "V" "W" "X" "Y" "Z"
    > ## Unicode character method:
    > sapply(u_to_lower_case(x), intToUtf8)
    [1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" "r" "s"
    [20] "t" "u" "v" "w" "x" "y" "z"
    > ## Default method:
    > u_to_lower_case(LETTERS)
    [1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" "r" "s"
    [20] "t" "u" "v" "w" "x" "y" "z"
    >
    > u_case_fold("Hi Dave.")
    [1] "hi dave."
    >
    > ## More interesting stuff: sharp s.
    > <ERROR: re-encoding failure from encoding 'UTF-8'>
    u_to_upper_case("hei+ ## Note that the default full upper case mapping of U+00DF (LATIN SMALL
    + ## LETTER SHARP S) is *not* to U+1E9E (LATIN CAPITAL LETTER SHARP S).
    + <ERROR: re-encoding failure from encoding 'UTF-8'>
    u_case_fold("hei+
    Error: unexpected symbol in:
    "## LETTER SHARP S) is *not* to U+1E9E (LATIN CAPITAL LETTER SHARP S).
    u_case_fold("hei"
    Execution halted
  • elapsed time (check, wall clock): 0:30