Skip to content

Commit

Permalink
Fix note about ellipsis not being imported
Browse files Browse the repository at this point in the history
  • Loading branch information
iimog committed Jun 7, 2024
1 parent 997408a commit 6288b46
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ export(track_info)
export(unnest_exons)
export(write_gff3)
import(dplyr)
import(ellipsis)
import(ggplot2)
import(grid)
import(rlang)
Expand Down
8 changes: 8 additions & 0 deletions R/aaa.R
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,11 @@ ggplot2__make_labels <- utils::getFromNamespace("make_labels", "ggplot2")
ellipsis__dots <- utils::getFromNamespace("dots", "ellipsis")
scales__force_all <- utils::getFromNamespace("force_all", "scales")
purrr__as_mapper.default <- utils::getFromNamespace("as_mapper.default", "purrr")

# Additional fix for seamingly unused package in imports due to the workaround above
# https://forum.posit.co/t/new-r-cmd-check-note-in-r-4-2-0-for-imports-field/143153/4
#' @import ellipsis
#' @noRd
dummy <- function() {
ellipsis::safe_median
}

0 comments on commit 6288b46

Please sign in to comment.