The R language spec allows the definition of new binary operators.
This was supported within module code as recently as version 0.8.0. With #21 and version 0.9.0, however, it throws an error:
> modules::module({ "%!%" <- function(...) 'foo' })
Error: unable to resolve export: %!%
failed with
Error in parse(text = element): <text>:1:1: unexpected SPECIAL
1: %!%
^
With version 0.8.0:
> modules::module({ "%!%" <- function(...) 'foo' })
%!%:
function(...)
The R language spec allows the definition of new binary operators.
This was supported within module code as recently as version 0.8.0. With #21 and version 0.9.0, however, it throws an error:
With version 0.8.0: