Linking to other packages in documentation in roxygen2 in R

Marcin Kosiński picture Marcin Kosiński · Aug 25, 2014 · Viewed 10.2k times · Source

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}?

Answer

potockan picture potockan · Aug 25, 2014

You have to type \link[pkg]{function} e.g. \link[stringi]{stri_c}