You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
#' 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 dplyrbetween<-function(y, a, b) y>=a&y<=b
The text was updated successfully, but these errors were encountered:
Thinking about this more I think this reveals a problem with the namespace of your package, but I think we shouldn't be loading unexported functions anyway.
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.
For example: https://hughparsonage.github.io/pkgdown-masking-eg/reference/in_range.html
Full package to reproduce: https://github.com/HughParsonage/pkgdown-masking-eg
R/in_range.R
The text was updated successfully, but these errors were encountered: