Linking to other packages in documentation in roxygen2 in R
问题 I am wondering it there exists a method to link to function from other package when I'm trying to write a documentation for new package using roxygen2 . Something like \link{pck=PACKAGE_NAME, fun=FUNCTION_NAME} ? 回答1: You have to type \link[pkg]{function} e.g. \link[stringi]{stri_c} 回答2: In addition to the answer by potockan: Some packages document several functions in a single help page. For example, the trim function from Bioconductor package GenomicRanges is documented in intra-range