From f8b00a21434d34f16d7ad6cbc637a0c684dee9a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Thu, 20 Jul 2023 16:50:09 +0200 Subject: [PATCH] fix: true is valid --- R/utils-str.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/utils-str.R b/R/utils-str.R index bc7d1517..904d2eba 100644 --- a/R/utils-str.R +++ b/R/utils-str.R @@ -118,7 +118,7 @@ interpret_svo = function(string){ #' @noRd is_svo_correct = function(string){ # if element is a special syntax element - if (string %in% c(".","a","is","==","%in%","[]")) return(TRUE) + if (string %in% c(".","a","is","==","%in%","[]", "true", "false")) return(TRUE) # if element is a variable if (is_variable(string)) return(TRUE)