Skip to content

Commit 0af212e

Browse files
committed
rd_link() is no longer vectorised
Fixes #1813
1 parent c5a8584 commit 0af212e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

R/object-import.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,7 @@ format.rd_section_reexport <- function(x, ...) {
4646

4747
reexport_link <- function(pkg, fun) {
4848
env <- tryCatch(asNamespace(pkg), error = function(e) emptyenv())
49-
rd_link(pkg, escape(fun), escape(fun_suffix(fun, env)), code = TRUE)
49+
map_chr(seq_along(fun), function(i) {
50+
rd_link(pkg[[i]], escape(fun[[i]]), escape(fun_suffix(fun[[i]], env)), code = TRUE)
51+
})
5052
}

0 commit comments

Comments
 (0)