Skip to content

Commit

Permalink
Comment out example that requires 'photobiology' (> 0.11.2)
Browse files Browse the repository at this point in the history
Also put a comment as @examples for autoplot.calibration_spct() so that examples are not imported from autoplot.source_spct()
  • Loading branch information
aphalo committed Jul 8, 2024
1 parent 419fa4c commit 7e99d23
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 23 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: ggspectra
Type: Package
Title: Extensions to 'ggplot2' for Radiation Spectra
Version: 0.3.12.9001
Date: 2024-07-06
Date: 2024-07-07
Authors@R:
c(
person("Pedro J.", "Aphalo", email = "pedro.aphalo@helsinki.fi", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-3385-972X")),
Expand Down
3 changes: 3 additions & 0 deletions R/autoplot-calibration-spct.R
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,9 @@ cal_plot <- function(spct,
#' \code{\link[photobiologyWavebands]{photobiologyWavebands-package}} and
#' \code{\link[ggplot2]{autoplot}}
#'
#' @examples
#' # to be added
#'
#' @export
#'
#' @family autoplot methods
Expand Down
3 changes: 2 additions & 1 deletion R/autoplot-source-spct.r
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,8 @@ q_plot <- function(spct,
#' autoplot(sun_evening.spct, facets = 1) # one column
#' autoplot(sun_evening.spct, facets = 2) # two columns
#' autoplot(sun_evening.spct, plot.data = "mean")
#' autoplot(sun_evening.spct, idfactor = "Sequence")
#' # needs 'photobiology' (> 0.11.2)
#' # autoplot(sun_evening.spct, idfactor = "Sequence")
#'
#' # multiple spectra as a collection
#' autoplot(sun_evening.mspct)
Expand Down
21 changes: 1 addition & 20 deletions man/autoplot.calibration_spct.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/autoplot.source_spct.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7e99d23

Please sign in to comment.