From 74780e96a61467f50fc4ce5756361c9bf1386712 Mon Sep 17 00:00:00 2001 From: Ben Gui Date: Sun, 28 Jan 2024 22:52:27 +0100 Subject: [PATCH] Compatibility fix with Roxygen 2.3.1 --- R/print_xpose_plot.R | 3 ++- man/print.ggplot.Rd | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 man/print.ggplot.Rd diff --git a/R/print_xpose_plot.R b/R/print_xpose_plot.R index eee36121..ed13dc2b 100755 --- a/R/print_xpose_plot.R +++ b/R/print_xpose_plot.R @@ -136,7 +136,8 @@ print.xpose_plot <- function(x, page, ...) { } } -# Import print ggplot method +#' Import print ggplot method +#' @keywords internal print.ggplot <- get('print.ggplot', envir = asNamespace('ggplot2')) diff --git a/man/print.ggplot.Rd b/man/print.ggplot.Rd new file mode 100644 index 00000000..30739ec2 --- /dev/null +++ b/man/print.ggplot.Rd @@ -0,0 +1,12 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/print_xpose_plot.R +\name{print.ggplot} +\alias{print.ggplot} +\title{Import print ggplot method} +\usage{ +\method{print}{ggplot}(x, newpage = is.null(vp), vp = NULL, ...) +} +\description{ +Import print ggplot method +} +\keyword{internal}