From ee5763669f2899abe353c182c13aaac6812c651b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Thu, 21 Nov 2024 12:53:38 +0100 Subject: [PATCH] docs: add @rdname to generated code --- tools/02-duckplyr_df-methods.R | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/02-duckplyr_df-methods.R b/tools/02-duckplyr_df-methods.R index 5587d7d9..a6523b3f 100644 --- a/tools/02-duckplyr_df-methods.R +++ b/tools/02-duckplyr_df-methods.R @@ -112,6 +112,7 @@ func_decl_chr <- function( new_code_chr <- gsub("\n[}]", paste0("\n", dplyr_impl, collapse = ""), new_code_chr) method_code <- paste0( + "#' @rdname ", name, "\n", "#' @export\n", name, " <- ",