Re: [Rd] bug in utils:::format.person

2023-06-02 Thread Achim Zeileis
Apologies, I missed Ivan's fix to the problem (my day was too long...) which is, of course, better than mine. On Sat, 3 Jun 2023, Achim Zeileis wrote: Thierry, thanks for this, this is a bug in utils:::.format_person_as_R_code(). This calls deparse() on the elements of the person object with

Re: [Rd] bug in utils:::format.person

2023-06-02 Thread Achim Zeileis
Thierry, thanks for this, this is a bug in utils:::.format_person_as_R_code(). This calls deparse() on the elements of the person object with the default width.cutoff = 60. As your comment exceeds this width, the erroneous formatting is produced. The simplest reproducible example I could come

Re: [Rd] bug in utils:::format.person

2023-06-02 Thread Ivan Krylov
On Fri, 2 Jun 2023 16:55:59 +0200 Thierry Onkelinx via R-devel wrote: > I think I found a bug in utils::format.person when using style = "R" > with a vector of comments. The comment section is not parsed > properly. Good catch! This looks like another occasion of deparse() suddenly returning a m

[Rd] bug in utils:::format.person

2023-06-02 Thread Thierry Onkelinx via R-devel
Dear all, I think I found a bug in utils::format.person when using style = "R" with a vector of comments. The comment section is not parsed properly. Please find below the mwe and the session info. Best regards, Thierry maintainer <- person( given = "Thierry", family = "Onkelinx", role = c("a

Re: [Rd] bug in na.contiguous? Doesn't give the first tied stretch if it is at the start

2023-06-02 Thread Martin Maechler
> Georgi Boshnakov > on Thu, 1 Jun 2023 22:00:39 + writes: > Hi. > The description of na.contiguous says: > "Find the longest consecutive stretch of non-missing values in a > time series object. (In the event of a tie, the first such > stretch.)" > But t