Skip to content

[R-pkg-devel] unicode WARNING on solaris?

4 messages · Tomas Kalibera, Toby Hocking

#
Hi all,

is there a known fix for this WARNING which I am getting on solaris for my
newly submitted nc package?
https://www.r-project.org/nosvn/R.check/r-patched-solaris-x86/nc-00check.html

A quick google search for "it is not known that wchar_t is Unicode on this
platform cran" shows that many other packages have this WARNING as well.

I searched r-devel and r-pkg-devel for the warning text but I did not find
any messages discussing a fix.

Thanks for any help
Toby
#
On 9/24/19 1:57 AM, Toby Hocking wrote:
It seems that deparse() came across some non-printable characters. Such 
characters would be replaced by \U or \u escapes. This is implemented 
using wide characters in R, but on that platform __STDC_ISO_10646__ is 
not defined, so wchar_t has unknown representation (not known to be 
Unicode), hence the warning.

Best
Tomas
1 day later
#
Hi Tomas thanks for the explanation. Does that mean that there is no known
fix? i.e. it is OK to re-submit a new version of my package without fixing
these WARNINGS?

On Tue, Sep 24, 2019 at 1:38 AM Tomas Kalibera <tomas.kalibera at gmail.com>
wrote:

  
  
#
On 9/25/19 7:59 PM, Toby Hocking wrote:
One way to fix would be to remove non-ASCII characters from the 
examples. I see \u4e8c \u4e09 \U0001F60E.
Tomas