diff --git a/DESCRIPTION b/DESCRIPTION index 39629300..629adcb4 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: animint2 Title: Animated Interactive Grammar of Graphics -Version: 2024.10.11 +Version: 2024.11.2 URL: https://animint.github.io/animint2/ BugReports: https://github.com/animint/animint2/issues Authors@R: c( diff --git a/NAMESPACE b/NAMESPACE index 0cdd82e2..d0bab8ad 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -452,7 +452,6 @@ export(scale_y_log10) export(scale_y_reverse) export(scale_y_sqrt) export(should_stop) -export(start_servr) export(stat_bin) export(stat_bin2d) export(stat_bin_2d) @@ -478,7 +477,6 @@ export(stat_summary_bin) export(stat_summary_hex) export(stat_unique) export(stat_ydensity) -export(stop_servr) export(theme) export(theme_animint) export(theme_bw) diff --git a/NEWS.md b/NEWS.md index df16db9a..61d51e1c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,10 +1,14 @@ +# Changes in version 2024.11.2 (PR#TODO) + +- Added [gtable] to \link{gtable} to fix new CRAN issue (\link{} targets missing package anchors). + # Changes in version 2024.10.10 (PR#154) - - Updated `animist.js` to use classes for source links, resolving issue #145. +- Updated `animist.js` to use classes for source links, resolving issue #145. # Changes in version 2024.9.18 (PR#131) - - Added functionality to capture screenshot in animint2pages +- Added functionality to capture screenshot in animint2pages # Changes in version 2024.9.17 diff --git a/R/plot-build.r b/R/plot-build.r index a3b617dd..d90670bc 100644 --- a/R/plot-build.r +++ b/R/plot-build.r @@ -122,7 +122,7 @@ layer_grob <- function(plot, i = 1L) { #' Build a plot with all the usual bits and pieces. #' #' This function builds all grobs necessary for displaying the plot, and -#' stores them in a special data structure called a \code{\link{gtable}}. +#' stores them in a special data structure called a \code{\link[gtable]{gtable}}. #' This object is amenable to programmatic manipulation, should you want #' to (e.g.) make the legend box 2 cm wide, or combine multiple plots into #' a single display, preserving aspect ratios across the plots. @@ -130,7 +130,7 @@ layer_grob <- function(plot, i = 1L) { #' @seealso \code{\link{print.gganimintplot}} and \code{link{benchplot}} for #' for functions that contain the complete set of steps for generating #' a ggplot2 plot. -#' @return a \code{\link{gtable}} object +#' @return a \code{\link[gtable]{gtable}} object #' @keywords internal #' @param data plot data generated by \code{\link{ggplot_build}} #' @export diff --git a/man/animint2dir.Rd b/man/animint2dir.Rd index 77cd7c99..f5d3176a 100644 --- a/man/animint2dir.Rd +++ b/man/animint2dir.Rd @@ -9,9 +9,7 @@ animint2dir( out.dir = NULL, json.file = "plot.json", open.browser = interactive(), - css.file = "", - persistent_server = FALSE, - ... + css.file = "" ) } \arguments{ diff --git a/man/animint2pages.Rd b/man/animint2pages.Rd index f7d266af..a21264c3 100644 --- a/man/animint2pages.Rd +++ b/man/animint2pages.Rd @@ -11,7 +11,6 @@ animint2pages( commit_message = "Commit from animint2pages", private = FALSE, required_opts = c("title", "source"), - server = NULL, ... ) } diff --git a/man/ggplot_gtable.Rd b/man/ggplot_gtable.Rd index 27317dca..423e0950 100644 --- a/man/ggplot_gtable.Rd +++ b/man/ggplot_gtable.Rd @@ -10,11 +10,11 @@ ggplot_gtable(data) \item{data}{plot data generated by \code{\link{ggplot_build}}} } \value{ -a \code{\link{gtable}} object +a \code{\link[gtable]{gtable}} object } \description{ This function builds all grobs necessary for displaying the plot, and -stores them in a special data structure called a \code{\link{gtable}}. +stores them in a special data structure called a \code{\link[gtable]{gtable}}. This object is amenable to programmatic manipulation, should you want to (e.g.) make the legend box 2 cm wide, or combine multiple plots into a single display, preserving aspect ratios across the plots. diff --git a/tests/testthat/testthat-problems.rds b/tests/testthat/testthat-problems.rds deleted file mode 100644 index 36891890..00000000 Binary files a/tests/testthat/testthat-problems.rds and /dev/null differ