ggpmisc roadmap

I am planning to split the ‘ggpmisc’ package into two separate packages for the next CRAN release. The low level functions and methods useful mainly to programmers will be transferred to a new package with possible name ‘ggpguts’ or ‘gginspector’. The remaining stats, geoms and scales, will remain in ‘ggpmisc’.


While waiting for the release of ‘ggplot2’ 2.3.0 I am keeping two parallel branches of  ‘ggpmisc’ under development.

‘ggpmisc’ 0.2.17 is in CRAN and remains unchanged. It requires the CRAN version of ‘ggplot2’.

‘ggpmisc’ is in the CRAN-like repository at this site. It is as thoroughly tested as the CRAN version but contains geom_table and the stats that use this geometry, which make use of the development version of ‘ggplot2’ from Github.  ‘ggplot2’ at commit #2620 (2018-05-17) or later is needed for ‘ggpmisc’, while and earlier versions from this branch require ‘ggplot2’ at least commit #2034 (2017-02-09).

If you install ‘ggplot2’ from Github after May 17, 2018 (selecting any commit from this day onwards) you will need this new version of  ‘ggpmisc’  or the CRAN version. If you are using ‘ggplot2’ from CRAN, or an earlier commit from Github, to use this new version you will need first to install the latest development version of ‘ggplot2’ from Github.

After ‘ggplot2’ (>= 2.3.0) makes it to CRAN, a version from this enhanced branch will be submitted to CRAN.

Changes from version (4 May 2018)

  • Track a code breaking change (renaming of a function) in the development version of ‘ggplot2’ at commit #2620 (May 17, 2018).

NOTE: This version of the package is available from 

Documentation website is at

Please raise issues concerning bugs or enhancements to this package through Bitbucket at


The main changes from version 0.9.20, the most recent CRAN release, are:

  • Handle gracefully attempts to apply smooth_spct() method to spectra containing NAs. (Warn and return as is.)
  • Add parameter na.rm to peaks(), valleys() and related methods and functions.
  • Add parameter na.rm to normalize() methods.
  • Option "photobiology.verbose" is initialized to the value of option "verbose" at the time the package is attached, making ‘photobiology’ obey the --verbose command line switch of R.
  • If photobiology.verbose == TRUE, starting from this version the presence of NAs in spectral data triggers warnings.

Documentation web site at includes all help pages, with output from all examples, and vignettes in HTML format.
NOTE: The updated package can be installed from the CRAN-like repository at

Please raise issues concerning bugs or enhancements to this package through Bitbucket