qnp 0.0.0.9006
- The README links the decision to keep
{qnp}separate from the notes sites (#14).
qnp 0.0.0.9005
scale_colour_morrison()andscale_fill_morrison()now accept 8 to 11 groups, using thercartocolor"Safe"palette without its grey, with a warning that colour alone does not separate that many groups. All colours change at the switch from 7 to 8 groups. More than 11 groups is an error. The scales now pass...toggplot2::discrete_scale()instead of to theggokabeitoscales, soalphais no longer accepted (#13). The decision and the colorblind comparison behind it are in the decision record.
qnp 0.0.0.9004
scale_colour_morrison()andscale_fill_morrison()now call theggokabeitopackage’s Okabe-Ito scales instead of using a typed-out vector of colours. The colours and their order do not change (#11).
qnp 0.0.0.9003
New
theme_morrison(),scale_colour_morrison()andscale_fill_morrison(): a ggplot2 theme (from the rme notes, with the sites’ page colours) and an Okabe-Ito colorblind-safe palette shared by the notes sites (#9).R CMD checkno longer reports thevignettes/macros/.claudedirectory of themacrossubmodule as a hidden directory.The documentation check no longer fails when a newer
roxygen2only rewrites theConfig/roxygen2/versionorRoxygenNotefield inDESCRIPTION. It still fails on any other change toDESCRIPTION,NAMESPACE, orman/.Reset the version to 0.0.0.9000. The package template’s inherited 1.0.2.x version was never a release of
{qnp}.interactive_plot()now errors ifaltis missing, empty, or not a single string, in every output format, so a figure cannot ship without alt text.Created
{qnp}(“quarto-notes plots”) from theMorrison-Lab/rptpackage template.Added
interactive_plot(), which renders a{ggplot2}plot as an interactive{plotly}widget with a text alternative (alt) in HTML output, and returns the plot unchanged in other output formats.