Skip to content

Commit cc23180

Browse files
committed
Call stringr package explicitly in align example
1 parent 249a3f6 commit cc23180

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

R/align.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
#' p |> align(.track_id = "seqs", .justify = .5) +
6060
#' # right-align on contig ending in "2"
6161
#' # NOTE: there is no 2nd contig in bin A, so nothing is aligned there
62-
#' p |> align(str_detect(seq_id, "2"), .track_id = "seqs", .justify = "right")
62+
#' p |> align(stringr::str_detect(seq_id, "2"), .track_id = "seqs", .justify = "right")
6363
#'
6464
#' pp + plot_layout(guides = "collect") & geom_vline(xintercept = 0, linetype = 2)
6565
align <- function(x, ..., .track_id = "genes", .justify = "left"){

man/align.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)