[Rd] proposal for use ICU for timezone convertion on windows and a draft patch

2023-01-11 Thread yu gong
Dear All, Last week I found an issue about R Sys.timezone function on Windows and send email to this list. This week , I read quite a few docs and codes about windows time zone to IANA time zone conversion. and found in unicode.org's ICU library has a function ucal_getTimeZoneIDForWindowsID

Re: [Rd] rhub vs. CRAN fedora-*-devel, using armadillo & slapack

2023-01-11 Thread RICHET Yann
Thank you all, for these advices. So I try to fix OMP_THREADS, cleanup tests, and display explicitly what test is running by moving in tests/ instead of tests/testthat/... Next step should be to investigate blocking test using a reporter (maybe "list"). For now, waiting for CRAN results... Yann

Re: [Rd] rhub vs. CRAN fedora-*-devel, using armadillo & slapack

2023-01-11 Thread Duncan Murdoch
On 11/01/2023 12:35 p.m., RICHET Yann wrote: Thank you all, for these advices. So I try to fix OMP_THREADS, cleanup tests, and display explicitly what test is running by moving in tests/ instead of tests/testthat/... Next step should be to investigate blocking test using a reporter (maybe "lis

Re: [Rd] rhub vs. CRAN fedora-*-devel, using armadillo & slapack

2023-01-11 Thread Ivan Krylov
On Wed, 11 Jan 2023 13:09:25 -0500 Duncan Murdoch wrote: > I think Sebastian or my suggestion is easier than redoing all of your > tests. They are each one line changes. Yes, sorry about that. Definitely try a verbose reporter first instead of redoing the tests. I'll remember not to give this

Re: [Rd] rhub vs. CRAN fedora-*-devel, using armadillo & slapack

2023-01-11 Thread Dirk Eddelbuettel
On 11 January 2023 at 17:35, RICHET Yann wrote: | Thank you all, for these advices. | | So I try to fix OMP_THREADS, cleanup tests, and display explicitly what test is running by moving in tests/ instead of tests/testthat/... | Next step should be to investigate blocking test using a reporter (

Re: [Rd] proposal for use ICU for timezone convertion on windows and a draft patch

2023-01-11 Thread yu gong
still work on it. this morning , I found the better and short sloution of this, the ucal_getDefaultTimeZone will return IANA formart zone name on windows. so the main code for this issue listing here: /* Longest currently is 31 chars */ static char Olson[64] = ""; /* use ucal_getDefaultTimeZone

Re: [Rd] rhub vs. CRAN fedora-*-devel, using armadillo & slapack

2023-01-11 Thread RICHET Yann
Well, I tried to move the tests outside testthat.R logic, because I expect that CRAN output will not give me the reporter results... and as I re-submitted the package, I wanted to ensure readable result. But maybe I am wrong about that... ? -Message d'origine- DeĀ : Duncan Murdoch Env