From d1156188dba83297cf3bac828243ed5992a0a982 Mon Sep 17 00:00:00 2001 From: Jenny Bryan Date: Wed, 20 Nov 2024 13:42:08 -0800 Subject: [PATCH] Don't attempt to pass NA to numeric_version() Apparently this works only in R >= 4.2 --- R/release.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/release.R b/R/release.R index e17d9abcc..6f2196245 100644 --- a/R/release.R +++ b/R/release.R @@ -537,7 +537,7 @@ pkg_minimum_r_version <- function() { if (length(r_dep) > 0) { numeric_version(gsub("[^0-9.]", "", r_dep)) } else { - numeric_version(NA_character_) + NA_character_ } }