From f2681375f148cb66389e0c497c90c24619f7d688 Mon Sep 17 00:00:00 2001 From: Olivier Roy Date: Tue, 10 Dec 2024 10:57:53 -0500 Subject: [PATCH] attempt fix for pak issue --- R/parse-remotes.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R/parse-remotes.R b/R/parse-remotes.R index e661f564..60c48d3f 100644 --- a/R/parse-remotes.R +++ b/R/parse-remotes.R @@ -167,6 +167,7 @@ get_remote_types <- function(refs) { types[types == "" & grepl(github_url_rx(), refs, perl = TRUE)] <- "github" types[types == "" & grepl(local_rx(), refs, perl = TRUE)] <- "local" types[types == "" & grepl(param_rx(), refs, perl = TRUE)] <- "param" + types[is.na(types)] <- "" if (any(bad <- types == "")) { throw(pkg_error(