-
Notifications
You must be signed in to change notification settings - Fork 237
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior
Milestone
Description
roxygen2 7.3.0 fails for several of my packages. The only vaguely related NEWS entry I found is
@importFromthrows a friendlier error if you try and import a non-existing functions (@MichaelChirico, Check imports when generating the NAMESPACE file #1409).
Is the new behavior intended, is it worth waiting for a fix?
roxygen2 7.3.0
library(roxygen2)
roc_proc_text(namespace_roclet(), "
#' @importFrom purrr `%>%`
NULL
")
#> ✖ <text>:2: @importFrom Excluding unknown export in from purrr: `` `%>%` ``.
#> [1] "importFrom(purrr,)"
roc_proc_text(namespace_roclet(), "
#' @importFrom purrr %>%
NULL
")
#> [1] "importFrom(purrr,\"%>%\")"Created on 2024-01-14 with reprex v2.0.2
roxygen2 7.2.3
library(roxygen2)
roc_proc_text(namespace_roclet(), "
#' @importFrom purrr `%>%`
NULL
")
#> [1] "importFrom(purrr,`%>%`)"
roc_proc_text(namespace_roclet(), "
#' @importFrom purrr %>%
NULL
")
#> [1] "importFrom(purrr,\"%>%\")"Created on 2024-01-14 with reprex v2.0.2
jdblischak, nanxstats, dchiu911, klmr, IndrajeetPatil and 1 more
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior