Print if not CRAN
Small function to print a plot if the R session is interactive or in a CI build
print_if_interactive(p)
p
plot to be displayed
Extension to 'ggplot2'
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.