Displaying 1 result from an estimated 1 matches for "roxygn2".
Did you mean:
roxygen2
2020 Jun 27
1
roxygen2 / documentation of reexports
...ebian with R-devel.
To reexport the magrittr pipe operator %>%, my package adopted I snippet you?d see in the dplyr package, for instance:
#' @importFrom magrittr %>%
#' @export
magrittr::`%>%`
The dplyr package has many statements of this kind and I guess the pattern is common. Roxygn2 will prepare a file documenting the reexport. But the Rd file prepared by Roxygen2 will result in an error saying ?Non-file package-anchored link(s) in documentation object?.
The part of the Rd file that is not in line with CRAN requirements is: \code{\link[magrittr]{\%>\%}}
Looking around for...