[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Do R autopkgtests not respect versioned Deps?



On 21 September 2021 at 00:57, Nilesh Patra wrote:
| Interesting. Thanks for the pointer!
| I'd have never known if R upstream treated "-" and "." as different.

CRAN does not have the same parsing requirements as we do in a version (where
the _ splits off to the build arch) so they always allowed both, and treat
them equally.

Also, the built-into-R version comparator is cool:

  > package_version("1.2-3-4") == "1.2-3.4"
  [1] TRUE
  > package_version("1.2-3-4") > "1.2-3"
  [1] TRUE
  > package_version("1.2-3-4") > "1.2-3-4.1"
  [1] FALSE
  >

Dirk

-- 
https://dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org


Reply to: