testParse | R Documentation |
Parse an expression according to DataSHIELD syntax rules and returns an Abstract Syntaxic Tree (AST) node.
testParse(expr, debug = FALSE)
expr |
Expression |
debug |
Parser debug logger activated |
An Abstract Syntaxic Tree node
## Not run: # a function call with a valid formula ast <- testParse("someregression(D$height ~ D$diameter + D$length)") # a function call with an invalid formula including a function call testParse("someregression(D$height ~ D$diameter + poly(D$length,3,raw=TRUE))") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.