Skip to content

Commit

Permalink
fix: true is valid
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Jul 20, 2023
1 parent cb071cd commit f8b00a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils-str.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f8b00a2

Please sign in to comment.