Skip to content

Commit 90b3fde

Browse files
authored
Fix link to %in% (#389)
1 parent edfecda commit 90b3fde

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

R/match.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#' Test for presence of levels in a factor
22
#'
3-
#' Do any of `lvls` occur in `f`? Compared to [%in%], this function validates
4-
#' `lvls` to ensure that they're actually present in `f`. In other words,
5-
#' `x %in% "not present"` will return `FALSE`, but `fct_match(x, "not present")`
6-
#' will throw an error.
3+
#' Do any of `lvls` occur in `f`? Compared to [`%in%`][base::%in%], this
4+
#' function validates `lvls` to ensure that they're actually present in `f`.
5+
#' In other words, `x %in% "not present"` will return `FALSE`, but
6+
#' `fct_match(x, "not present")` will throw an error.
77
#'
88
#' @rdname fct_match
99
#' @param f A factor (or character vector).

man/fct_match.Rd

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)