# Expect no warning
safeguard(parse_expr("a <- 3"),
rules = default_rules(),
deparsers = default_deparsers())
# Expect a warning (as `max` is reserved to be a function by the transpiler)
safeguard(parse_expr("max <- 3"),
rules = default_rules(),
deparsers = default_deparsers())
Run the code above in your browser using DataLab