From 6decdfa0ec4a2bb92398303128d2b62642dad5fb Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Fri, 25 Aug 2023 09:46:50 -0500 Subject: [PATCH] remove the hack for learnr: https://github.com/rstudio/learnr/pull/781 --- R/output.R | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/R/output.R b/R/output.R index a9a956023d..605cd7f246 100644 --- a/R/output.R +++ b/R/output.R @@ -311,8 +311,7 @@ process_file = function(text, output) { res[i] = withCallingHandlers( withCallingHandlers( if (tangle) process_tangle(group) else process_group(group), - # TODO: remove the learnr hack https://github.com/rstudio/learnr/pull/781 - error = function(e) if (xfun::pkg_available('rlang', '1.0.0') && !xfun::check_old_package('learnr', '0.11.3')) rlang::entrace(e) + error = function(e) if (xfun::pkg_available('rlang', '1.0.0')) rlang::entrace(e) ), error = function(e) { setwd(wd)