[R-pkg-devel] Check Flavor r-devel-linux-x86_64-debian-clang charset
d@v|d@gohe| @end|ng |rom @rd@t@@|r
Thu Apr 11 10:20:01 CEST 2019
Yes, it seems so.
Thanks Gabor, if possible, a docker for that case would be welcome.
I think I solved my issues. I set the locale in my cpp code:
In the R code, I am testing if the locale is set to UTF-8 with the following code but I am not sure this is the best solution:
# Only when not windows
has_locale <- Sys.which("locale") != ""
is_utf_8 <- has_locale && (system(command = "locale charmap", intern = TRUE) == "UTF-8")
If someone has an advice, it will be welcomed :)
> Le 11 avr. 2019 à 10:04, Gábor Csárdi <csardi.gabor using gmail.com> a écrit :
> I just got the CRAN ultimatum about a package of mine failing in that
> locale, so yes, it definitely seems intentional.
> On Wed, Apr 10, 2019 at 3:33 PM Gábor Csárdi <csardi.gabor using gmail.com> wrote:
>> If the charset choice is intentional, then we can add a builder/docker
>> image for this on R-hub.
>> It would certainly make sense to have a builder with an unusual charset.
>> On Wed, Apr 10, 2019 at 11:43 AM David Gohel <david.gohel using ardata.fr> wrote:
>>> Dear all,
>>> Among the CRAN machines used by Check, "r-devel-linux-x86_64-debian-clang" has been upgraded from UTF-8 to ISO8859-15.
>>> # using R Under development (unstable) (2019-04-07 r76333)
>>> # using platform: x86_64-pc-linux-gnu (64-bit)
>>> # using session charset: ISO8859-15
>>> I realized that while reading an error that appeared few days ago on a package I maintain:
>>> https://cran.r-project.org/web/checks/check_results_fpeek.html <https://cran.r-project.org/web/checks/check_results_fpeek.html>
>>> My question is not how to fix my error but about the setting.
>>> Does anyone know why and if that setting will stay as is?
>>> Kind regards,
>>> David Gohel
>>> [[alternative HTML version deleted]]
>>> R-package-devel using r-project.org mailing list
[[alternative HTML version deleted]]
More information about the R-package-devel