From c0a048e07595a077a4cd68774d90849bc5da9149 Mon Sep 17 00:00:00 2001 From: jgabry Date: Tue, 18 Nov 2025 10:52:24 -0700 Subject: [PATCH] Fix height/width attributes in Rd files for CRAN --- R/bayesplot-package.R | 6 +++--- man/bayesplot-package.Rd | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/R/bayesplot-package.R b/R/bayesplot-package.R index 4eb23955..15e9cefe 100644 --- a/R/bayesplot-package.R +++ b/R/bayesplot-package.R @@ -25,9 +25,9 @@ #' #' @section Plotting functionality: #' \if{html}{ -#' \figure{bayesplot1.png}{options: width="30\%" alt="mcmc_areas"} -#' \figure{bayesplot2.png}{options: width="30\%" alt="ppc_hist"} -#' \figure{bayesplot3.png}{options: width="30\%" alt="ppc_dens_overlay"} +#' \figure{bayesplot1.png}{options: style="width: 30\%;" alt="mcmc_areas"} +#' \figure{bayesplot2.png}{options: style="width: 30\%;" alt="ppc_hist"} +#' \figure{bayesplot3.png}{options: style="width: 30\%;" alt="ppc_dens_overlay"} #' } #' #' The plotting functions in **bayesplot** are organized into several modules: diff --git a/man/bayesplot-package.Rd b/man/bayesplot-package.Rd index 5ef89271..8b6ceccf 100644 --- a/man/bayesplot-package.Rd +++ b/man/bayesplot-package.Rd @@ -25,9 +25,9 @@ Examples of packages that will soon (or already are) using \strong{bayesplot} ar \section{Plotting functionality}{ \if{html}{ - \figure{bayesplot1.png}{options: width="30\%" alt="mcmc_areas"} - \figure{bayesplot2.png}{options: width="30\%" alt="ppc_hist"} - \figure{bayesplot3.png}{options: width="30\%" alt="ppc_dens_overlay"} + \figure{bayesplot1.png}{options: style="width: 30\%;" alt="mcmc_areas"} + \figure{bayesplot2.png}{options: style="width: 30\%;" alt="ppc_hist"} + \figure{bayesplot3.png}{options: style="width: 30\%;" alt="ppc_dens_overlay"} } The plotting functions in \strong{bayesplot} are organized into several modules: