Re: [Rd] Undocumented change of dirname("C:/") on R-devel on Windows

2023-03-07 Thread Yihui Xie
Thanks a lot! I can confirm that it has been fixed indeed. Regards, Yihui On Mon, Feb 27, 2023 at 1:14 PM Tomas Kalibera wrote: > > On 2/27/23 17:02, Yihui Xie wrote: > > Hi Tomas, > > There has been an R CMD check error with xfun and r-devel on Windows for a > while: >

Re: [Rd] Undocumented change of dirname("C:/") on R-devel on Windows

2023-02-27 Thread Tomas Kalibera
On 2/27/23 17:02, Yihui Xie wrote: > Hi Tomas, > > There has been an R CMD check error with xfun and r-devel on Windows > for a while: > https://www.r-project.org/nosvn/R.check/r-devel-windows-x86_64/xfun-00check.html > > Basically it means that the following would return TRUE before: > >  

Re: [Rd] Undocumented change of dirname("C:/") on R-devel on Windows

2023-02-27 Thread Yihui Xie
Hi Tomas, There has been an R CMD check error with xfun and r-devel on Windows for a while: https://www.r-project.org/nosvn/R.check/r-devel-windows-x86_64/xfun-00check.html Basically it means that the following would return TRUE before: normalizePath('a/b', mustWork = FALSE) ==

Re: [Rd] Undocumented change of dirname("C:/") on R-devel on Windows

2023-02-23 Thread Hiroaki Yutani
I confirmed the revert fixed my failing test. Thanks! 2023年2月23日(木) 20:12 Hiroaki Yutani : > Thanks for the prompt response, I'll confirm it after the new R-devel > binary is available. > Also, thanks for the detailed explanation. I agree with you in general. > > > "/" in "C:/" is a path

Re: [Rd] Undocumented change of dirname("C:/") on R-devel on Windows

2023-02-23 Thread Hiroaki Yutani
Thanks for the prompt response, I'll confirm it after the new R-devel binary is available. Also, thanks for the detailed explanation. I agree with you in general. > "/" in "C:/" is a path separator or not, and whether it is trailing or not It seems a Windows' path basically consists of two

Re: [Rd] Undocumented change of dirname("C:/") on R-devel on Windows

2023-02-23 Thread Tomas Kalibera
On 2/23/23 03:27, Hiroaki Yutani wrote: Hi, I found dirname() behaves differently on R-devel on Windows. Since I'm not sure which behavior is right, let me ask here before filing this to R's Bigzilla. On R 4.2.2., we get > dirname("C:/") [1] "C:/" However, on R-devel (r83888), we