From 98d61949031ecabc967995febda969fc2ae59e70 Mon Sep 17 00:00:00 2001 From: m7pr Date: Fri, 8 Nov 2024 11:06:03 +0100 Subject: [PATCH] remove trimws --- R/teal_data-class.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/teal_data-class.R b/R/teal_data-class.R index 39253a07b..bc647256d 100644 --- a/R/teal_data-class.R +++ b/R/teal_data-class.R @@ -118,7 +118,7 @@ code2list <- function(code) { if (length(parsed_code)) { lapply(split_code(code), function(current_code) { attr(current_code, "id") <- sample.int(.Machine$integer.max, 1) - parsed_code <- parse(text = trimws(current_code), keep.source = TRUE) + parsed_code <- parse(text = current_code, keep.source = TRUE) attr(current_code, "dependency") <- extract_dependency(parsed_code) current_code })