From 62ad7a1e8c69aa633e41b76d1984a6404276dc5c Mon Sep 17 00:00:00 2001 From: Maximilian Scholz Date: Tue, 8 Sep 2026 22:15:53 +0200 Subject: [PATCH] Fix self-referential error_call default in section_topics --- R/topics.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/topics.R b/R/topics.R index 9aeb245e1..478af7d20 100644 --- a/R/topics.R +++ b/R/topics.R @@ -268,7 +268,7 @@ section_topics <- function( pkg, match_strings, error_path, - error_call = error_call() + error_call = caller_env() ) { # Add rows for external docs ext_strings <- match_strings[grepl("::", match_strings, fixed = TRUE)]