From 2fd8fced14224871cfee66f9a498465dc827beb1 Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Wed, 7 Jan 2026 12:12:40 -0800 Subject: [PATCH] sync formals of deb with/without 'opt' --- R/Fdebug.r | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/Fdebug.r b/R/Fdebug.r index 3844635..47a71f3 100644 --- a/R/Fdebug.r +++ b/R/Fdebug.r @@ -37,6 +37,6 @@ Fdebug <- function(opt) { formals(deb)$txt <- opt formals(deb)$callingfun <- as.character(sys.call(-1)[1]) } - else deb <- function(x, txt, callingfun, file) {NULL} + else deb <- function(x, txt, callingfun, file=getOption('debug_file', '')) {NULL} deb }