To turn on pretty printing of functions, you need to call
prettycode::prettycode(). It might be a good idea to call it
from your .Rprofile.
# S3 method for function
print(x, useSource = TRUE, style = default_style(),
...)Function to print.
Whether to use the stored source code, if available.
The highlight style to use, see default_style().
Not used currently, for compatibility with the print
generic.
The function, invisibly.