Skip to content

Commit

Permalink
TESTS: Tweak walkAST() so that validation of S7 objects also works in…
Browse files Browse the repository at this point in the history
… R (< 4.4.0) [#93]
  • Loading branch information
HenrikBengtsson committed Jan 23, 2025
1 parent ba3708c commit cf93fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/walkAST.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ disp <- function(expr) {
cat("Expression:\n")
print(expr)
cat("str():\n")
str(expr)
try(str(expr))
cat(sprintf("typeof: %s\n", typeof(expr)))
if (is.recursive(expr)) {
cat("as.list():\n")
Expand Down

0 comments on commit cf93fb0

Please sign in to comment.