From 2242e66909f7c13d5aacd4e8dde0afe02332feac Mon Sep 17 00:00:00 2001 From: rh Date: Fri, 21 Aug 2026 12:48:39 +0200 Subject: [PATCH] Import %||% from rlang molpathR uses %||% 8 times in R/parsers.R without defining or importing it, while DESCRIPTION declares R (>= 4.1.0). %||% entered base R in 4.4.0, so the package is broken on the R versions it claims to support. The CI matrix (release/devel/oldrel-1) never builds one of them. --- NAMESPACE | 1 + R/molpathR-package.R | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NAMESPACE b/NAMESPACE index 6aa447f..836f6ff 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -43,6 +43,7 @@ importFrom(bslib,bs_theme) importFrom(jsonlite,toJSON) importFrom(methods,as) importFrom(plotly,ggplotly) +importFrom(rlang,"%||%") importFrom(rlang,.data) importFrom(rlang,.env) importFrom(shinyWidgets,pickerInput) diff --git a/R/molpathR-package.R b/R/molpathR-package.R index 7982e45..d051401 100644 --- a/R/molpathR-package.R +++ b/R/molpathR-package.R @@ -2,7 +2,7 @@ "_PACKAGE" ## usethis namespace: start -#' @importFrom rlang .data .env +#' @importFrom rlang .data .env %||% ## usethis namespace: end NULL