Hi,
I have a function A which calls a function B. B accepts an argument
'FUN' (a function). Depending on the choice of package, A constructs
FUN and passes it on to B:
A <- function(x, pkg = c("pkg1", "pkg2", "pkg3"), ...) {
pkg <- match.arg(pkg)
FUN <- switch(pkg,
"pkg1" = {
The "Generating Rd files" vignette has a paragraph on "Roxygen templates".
vignette("rd", package = "roxygen2")
but I grant you it's not terribly detailed.
In these situations it can be helpful to search GitHub for other packages that
do the thing you want to do.
This search finds >1400 exampl
I keeping getting the error in the subject when I try to install a package from
source on Windows 7.
When using the same code outside of a package there is no problem; the cmprsk
package is installed and its dll is present (in both the x64 and i386
directories).
Our package is attempting to cal