We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0039b4c commit 8f4fc55Copy full SHA for 8f4fc55
src/library/tools/R/Rd.R
@@ -868,7 +868,12 @@ function(x)
868
out <<- rbind(out, val)
869
} else if(identical(tag, "\\linkS4class")) {
870
arg <- as.character(e[[1L]])
871
- val <- c(arg, sprintf("=%s-class", arg))
+ opt <- attr(e, "Rd_option")
872
+ val <- if(is.null(opt))
873
+ c(arg, sprintf("=%s-class", arg))
874
+ else
875
+ c(sprintf("%s-class", arg),
876
+ as.character(opt))
877
878
}
879
if(is.list(e)) lapply(e, recurse)
0 commit comments