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

2023-06-05 Thread Kurt Hornik
> Achim Zeileis writes: Thanks---Ivan's fix committed now with c84497. Best -k > 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

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

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

[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 =