Skip to contents

pharos (development version)

Breaking changes

  • The plot functions that now take xax/yax draw their axes themselves. Passing xaxt or yaxt through ... therefore fails with “formal argument matched by multiple actual arguments”; use xax = FALSE or yax = FALSE instead. In plotLines(), yax was previously passed on as yaxt; yax = "n" is now read as a label format.

New features

Bug fixes

  • Default axis limits no longer use pretty(), which switched to a coarser step and added an empty band on either side: x-axis of plotLines() and plotArea() from 9 points on, and plotHexbin(). plotFreqDist() takes its limits from the histogram breaks.
  • plotBubble() computes its default limits from the data and the bubble radii, so bubbles at the edges are no longer clipped.
  • An axis specification with unknown or abbreviated names (list(d = 0)) now warns instead of silently ignoring them; the plotBar() example used such abbreviations and is corrected.
  • Low-level additions after a plot (axis(), points(), text(), legend(), …) were shifted, as the plot region was reset on exit while the user coordinates stayed. The region now stays as drawn and is undone when the next plot starts, unless the margins have been changed in between.

pharos 0.1.2

New features

  • Graphics layer of the DescToolsX package suite, built on base graphics: distribution and density displays, bivariate and categorical plots, diagnostic and model evaluation panels.
  • A theme system (getTheme(), setTheme(), resetTheme(), style()) resolves colours, symbols and layout centrally, so the appearance of a whole analysis is set once rather than at every call.
  • plotFacet() arranges panels from a user-supplied panel function and is the mechanism the other packages of the suite draw their multi-panel diagnostics with.
  • Supporting toolkits for colour conversion and palettes, plot geometry, number and string formatting, and HTML output.
  • Performance-critical routines are implemented in C++ via Rcpp.

Acknowledgements

Parts of the code and documentation were reviewed with the help of large language models (OpenAI Codex, Anthropic Claude). Every suggestion was assessed, edited and verified by the maintainer, who remains solely responsible for the content of this package.