Re: [R-pkg-devel] DESCRIPTION file corrections for accepted package

2024-10-29 Thread Simon Urbanek
> On 27 Oct 2024, at 23:03, Gianmarco Alberti > wrote: > > Dear R Package Developers, > I am seeking guidance regarding a situation with my package 'chisquare' > (version 1.1) on CRAN. > > Current situation: > > 1. The package was submitted and (automatically) accepted to CRAN (version > 1.

Re: [R-pkg-devel] DESCRIPTION file corrections for accepted package

2024-10-28 Thread Duncan Murdoch
On 2024-10-28 12:56 p.m., Georgi Boshnakov wrote: Also, v1.1 = v1.1.0: package_version("1.1.0") > package_version("1.1") [1] FALSE package_version("1.1.0") == package_version("1.1") [1] TRUE If you adopt the 2-digit versions but decide to keep the possibility for 3-letter ones for mino

Re: [R-pkg-devel] DESCRIPTION file corrections for accepted package

2024-10-28 Thread Georgi Boshnakov
of Joshua Ulrich Sent: 28 October 2024 15:41 To: Duncan Murdoch Cc: R Package Development Subject: Re: [R-pkg-devel] DESCRIPTION file corrections for accepted package `R CMD check` uses the `package_version()` function to check that the submitted package version is > the version on CRAN. You ca

Re: [R-pkg-devel] DESCRIPTION file corrections for accepted package

2024-10-28 Thread Joshua Ulrich
`R CMD check` uses the `package_version()` function to check that the submitted package version is > the version on CRAN. You can use it to check Duncan's hypothesis: R$ # current update with 3-part version R$ package_version("1.1.1") > package_version("1.1") [1] TRUE R$ # next update with only a

Re: [R-pkg-devel] DESCRIPTION file corrections for accepted package

2024-10-27 Thread Duncan Murdoch
I don't think R will enforce a 3 part version just because you used it once. You might have other reasons to try to maintain versioning consistency. Duncan Murdoch On 2024-10-27 7:48 a.m., Gianmarco Alberti wrote: Dear Duncan, Thank you for the straightforward guidance. My initial query st

Re: [R-pkg-devel] DESCRIPTION file corrections for accepted package

2024-10-27 Thread Gianmarco Alberti
Dear Duncan, Thank you for the straightforward guidance. My initial query stemmed from a concern about versioning consistency - I thought that once using three digits (1.1.1), I would need to maintain that format (e.g., 1.2.0) in future updates. Your suggestion clarified that I can use 1.1.1 for

Re: [R-pkg-devel] DESCRIPTION file corrections for accepted package

2024-10-27 Thread Duncan Murdoch
On 2024-10-27 6:03 a.m., Gianmarco Alberti wrote: Dear R Package Developers, I am seeking guidance regarding a situation with my package 'chisquare' (version 1.1) on CRAN. Current situation: 1. The package was submitted and (automatically) accepted to CRAN (version 1.1) after thorough local tes

[R-pkg-devel] DESCRIPTION file corrections for accepted package

2024-10-27 Thread Gianmarco Alberti
Dear R Package Developers, I am seeking guidance regarding a situation with my package 'chisquare' (version 1.1) on CRAN. Current situation: 1. The package was submitted and (automatically) accepted to CRAN (version 1.1) after thorough local testing and complete devtools checks (check_win_oldrele