Re: [R-pkg-devel] Check Flavor r-devel-linux-x86_64-debian-clang charset

2019-04-11 Thread Gábor Csárdi
I just got the CRAN ultimatum about a package of mine failing in that
locale, so yes, it definitely seems intentional.

Gabor

On Wed, Apr 10, 2019 at 3:33 PM Gábor Csárdi  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.
>
> Gabor
>
> On Wed, Apr 10, 2019 at 11:43 AM David Gohel  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 
> > 
> >
> > 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@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


[R-pkg-devel] Blog post about R-package-devel

2019-04-11 Thread Maëlle SALMON via R-package-devel
--- Begin Message ---
Dear R-package-devel subscribers,

We've just published a post about how to get help with R package development on 
R-hub blog.

https://blog.r-hub.io/2019/04/11/r-package-devel/

It features this mailing list and its archives quite prominently.

Thanks to the maintainers and contributors of R-package-devel for providing 
such an useful venue!

Best wishes

Maëlle.

[[alternative HTML version deleted]]

--- End Message ---
__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] Check Flavor r-devel-linux-x86_64-debian-clang charset

2019-04-11 Thread David Gohel
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:

setlocale(LC_NUMERIC, "C");

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 :)



David Gohel



> Le 11 avr. 2019 à 10:04, Gábor Csárdi  a écrit :
> 
> I just got the CRAN ultimatum about a package of mine failing in that
> locale, so yes, it definitely seems intentional.
> 
> Gabor
> 
> On Wed, Apr 10, 2019 at 3:33 PM Gábor Csárdi  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.
>> 
>> Gabor
>> 
>> On Wed, Apr 10, 2019 at 11:43 AM David Gohel  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 
>>> 
>>> 
>>> 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@r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-package-devel


[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] Check Flavor r-devel-linux-x86_64-debian-clang charset

2019-04-11 Thread Gábor Csárdi
I think in R you can use
❯ l10n_info()
$MBCS
[1] TRUE

$`UTF-8`
[1] TRUE

$`Latin-1`
[1] FALSE

G.

On Thu, Apr 11, 2019 at 9:20 AM David Gohel  wrote:
>
> 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:
>
> setlocale(LC_NUMERIC, "C");
>
> 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 :)
>
>
>
> David Gohel
>
>
>
> Le 11 avr. 2019 à 10:04, Gábor Csárdi  a écrit :
>
> I just got the CRAN ultimatum about a package of mine failing in that
> locale, so yes, it definitely seems intentional.
>
> Gabor
>
> On Wed, Apr 10, 2019 at 3:33 PM Gábor Csárdi  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.
>
> Gabor
>
> On Wed, Apr 10, 2019 at 11:43 AM David Gohel  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 
> 
>
> 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@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>
>

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] Check Flavor r-devel-linux-x86_64-debian-clang charset

2019-04-11 Thread David Gohel
Thank you!

> Le 11 avr. 2019 à 10:36, Gábor Csárdi  a écrit :
> 
> I think in R you can use
> ❯ l10n_info()
> $MBCS
> [1] TRUE
> 
> $`UTF-8`
> [1] TRUE
> 
> $`Latin-1`
> [1] FALSE
> 
> G.
> 
> On Thu, Apr 11, 2019 at 9:20 AM David Gohel  wrote:
>> 
>> 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:
>> 
>> setlocale(LC_NUMERIC, "C");
>> 
>> 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 :)
>> 
>> 
>> 
>> David Gohel
>> 
>> 
>> 
>> Le 11 avr. 2019 à 10:04, Gábor Csárdi  a écrit :
>> 
>> I just got the CRAN ultimatum about a package of mine failing in that
>> locale, so yes, it definitely seems intentional.
>> 
>> Gabor
>> 
>> On Wed, Apr 10, 2019 at 3:33 PM Gábor Csárdi  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.
>> 
>> Gabor
>> 
>> On Wed, Apr 10, 2019 at 11:43 AM David Gohel  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 
>> 
>> 
>> 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@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>> 
>> 

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


[R-pkg-devel] read-only mirror of the CRAN R package repository on GitHub

2019-04-11 Thread Mohammad Ali Nilforooshan
Hi,

In the past, there were read-only mirrors of the CRAN R packages on GitHub
(i.e., https://github.com/cran/).
I cannot find this for my R package (ggroups), which became available on
CRAN a few weeks ago. Does CRAN still provide package repositories on
GitHub? If yes, please elaborate how the review and permissions are handled.

Thank you
M. A. Nilforooshan

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] read-only mirror of the CRAN R package repository on GitHub

2019-04-11 Thread Jeff Newmiller
I don't think "CRAN" (R Core)  _ever_ did this... it was a volunteer effort by 
someone independently.

On April 11, 2019 4:16:47 PM PDT, Mohammad Ali Nilforooshan 
 wrote:
>Hi,
>
>In the past, there were read-only mirrors of the CRAN R packages on
>GitHub
>(i.e., https://github.com/cran/).
>I cannot find this for my R package (ggroups), which became available
>on
>CRAN a few weeks ago. Does CRAN still provide package repositories on
>GitHub? If yes, please elaborate how the review and permissions are
>handled.
>
>Thank you
>M. A. Nilforooshan
>
>   [[alternative HTML version deleted]]
>
>__
>R-package-devel@r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-package-devel

-- 
Sent from my phone. Please excuse my brevity.

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] read-only mirror of the CRAN R package repository on GitHub

2019-04-11 Thread Ben Bolker


  It's provided by METACRAN: https://www.r-pkg.org/about

https://github.com/metacran/metacranweb/issues is a good place to report
problems/ask questions.

On 2019-04-11 8:56 p.m., Jeff Newmiller wrote:
> I don't think "CRAN" (R Core)  _ever_ did this... it was a volunteer effort 
> by someone independently.
> 
> On April 11, 2019 4:16:47 PM PDT, Mohammad Ali Nilforooshan 
>  wrote:
>> Hi,
>>
>> In the past, there were read-only mirrors of the CRAN R packages on
>> GitHub
>> (i.e., https://github.com/cran/).
>> I cannot find this for my R package (ggroups), which became available
>> on
>> CRAN a few weeks ago. Does CRAN still provide package repositories on
>> GitHub? If yes, please elaborate how the review and permissions are
>> handled.
>>
>> Thank you
>> M. A. Nilforooshan
>>
>>  [[alternative HTML version deleted]]
>>
>> __
>> R-package-devel@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel