Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
In examples, unexported functions cause 'masking' from other packages' exported functions #789
If a package contains a function that is not exported, but conflicts with the namespace of a package attached in an example, the rendered example will spuriously warn about the attached package masking an object in the package.
Full package to reproduce: https://github.com/HughParsonage/pkgdown-masking-eg
#' In range #' @param x,a,b Inputs #' @examples #' library(dplyr) #' in_range(1, 0, 2) #' @export in_range <- function(x, a, b) all(between(x, a, b)) # Just to confuse dplyr between <- function(y, a, b) y >= a & y <= b