# NOT RUN {
# define your syntax as you would define a normal function
`?add> {x} : {y}` <- function(x, y) x + y
# register the syntax in your .onAttach definition
.onAttach <- function(libname, pkgname) {
doubt::register_dubious_syntaxes("?add> {x} : {y}")
invisible()
}
# }
Run the code above in your browser using DataLab