Marcin
Marcin

Reputation: 8044

Linking to documentation page without function in R using roxygen2

I am wondering if there is a possibility, during writing a package in R, to link to the documentation page in R that has no functions included but has only package-info? For example \link[stats]{stats-package.R}?

Upvotes: 4

Views: 675

Answers (1)

potockan
potockan

Reputation: 4078

One of the possibillities is \link[stats]{stats-package} without .R extansion (but it will link to stats-package page). If you just want to link the package use \pkg{package} e.g. \pkg{stats}. For more info try Writing R Extensions

Upvotes: 4

Related Questions