diff --git a/.Rbuildignore b/.Rbuildignore index 16d821b..98ccf80 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -17,3 +17,4 @@ ^pkgdown$ ^Meta$ ^CRAN-RELEASE$ +^CRAN-SUBMISSION$ diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 3da111c..3041424 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -22,7 +22,6 @@ jobs: - {os: windows-latest, r: 'release'} - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} - {os: ubuntu-latest, r: 'release'} - - {os: ubuntu-latest, r: 'oldrel-1'} env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} diff --git a/R/draw.R b/R/draw.R index ad37af9..282f071 100644 --- a/R/draw.R +++ b/R/draw.R @@ -291,6 +291,8 @@ draw_figure_label <- function(label, position = c("top.left", "top", "top.right" #' ) + #' draw_plot(p) #' +#' \dontrun{ +#' #' # Make grid with plot and image #' cow_file <- system.file("extdata", "cow.jpg", package = "cowplot") #' p2 <- ggdraw() + draw_image(cow_file, scale = 0.9) @@ -313,6 +315,7 @@ draw_figure_label <- function(label, position = c("top.left", "top", "top.right" #' draw_image(img , x = 1, y = 1, scale = .9) + #' draw_image(img2, x = 2, y = 2, scale = .9) #' } +#' } #' @export draw_image <- function(image, x = 0, y = 0, width = 1, height = 1, scale = 1, clip = "inherit", interpolate = TRUE, hjust = 0, vjust = 0, halign = 0.5, valign = 0.5) { diff --git a/docs/articles/aligning_plots.html b/docs/articles/aligning_plots.html index b752b36..e8df0c8 100644 --- a/docs/articles/aligning_plots.html +++ b/docs/articles/aligning_plots.html @@ -107,7 +107,7 @@

Aligning plots

Claus O. Wilke

-

2023-12-14

+

2023-12-15

Source: vignettes/aligning_plots.Rmd diff --git a/docs/articles/drawing_with_on_plots.html b/docs/articles/drawing_with_on_plots.html index c41109b..8ab7106 100644 --- a/docs/articles/drawing_with_on_plots.html +++ b/docs/articles/drawing_with_on_plots.html @@ -107,7 +107,7 @@

Drawing with and on plots

Claus O. Wilke

-

2023-12-14

+

2023-12-15

Source: vignettes/drawing_with_on_plots.Rmd diff --git a/docs/articles/introduction.html b/docs/articles/introduction.html index 5ce60e5..be44b9e 100644 --- a/docs/articles/introduction.html +++ b/docs/articles/introduction.html @@ -107,7 +107,7 @@

Introduction to cowplot

Claus O. Wilke

-

2023-12-14

+

2023-12-15

Source: vignettes/introduction.Rmd diff --git a/docs/articles/mixing_plot_frameworks.html b/docs/articles/mixing_plot_frameworks.html index ea7fca6..ee4a030 100644 --- a/docs/articles/mixing_plot_frameworks.html +++ b/docs/articles/mixing_plot_frameworks.html @@ -107,7 +107,7 @@

Mixing different plotting frameworks

Claus O. Wilke

-

2023-12-14

+

2023-12-15

Source: vignettes/mixing_plot_frameworks.Rmd diff --git a/docs/articles/plot_grid.html b/docs/articles/plot_grid.html index 7fc7001..66bf1e1 100644 --- a/docs/articles/plot_grid.html +++ b/docs/articles/plot_grid.html @@ -107,7 +107,7 @@

Arranging plots in a grid

Claus O. Wilke

-

2023-12-14

+

2023-12-15

Source: vignettes/plot_grid.Rmd diff --git a/docs/articles/shared_legends.html b/docs/articles/shared_legends.html index 2276e42..c97cd2e 100644 --- a/docs/articles/shared_legends.html +++ b/docs/articles/shared_legends.html @@ -107,7 +107,7 @@

Shared legends

Claus O. Wilke

-

2023-12-14

+

2023-12-15

Source: vignettes/shared_legends.Rmd diff --git a/docs/articles/shared_legends_files/figure-html/unnamed-chunk-2-1.png b/docs/articles/shared_legends_files/figure-html/unnamed-chunk-2-1.png index ef48f17..b03cf47 100644 Binary files a/docs/articles/shared_legends_files/figure-html/unnamed-chunk-2-1.png and b/docs/articles/shared_legends_files/figure-html/unnamed-chunk-2-1.png differ diff --git a/docs/articles/shared_legends_files/figure-html/unnamed-chunk-3-1.png b/docs/articles/shared_legends_files/figure-html/unnamed-chunk-3-1.png index 369505b..840c0d9 100644 Binary files a/docs/articles/shared_legends_files/figure-html/unnamed-chunk-3-1.png and b/docs/articles/shared_legends_files/figure-html/unnamed-chunk-3-1.png differ diff --git a/docs/articles/shared_legends_files/figure-html/unnamed-chunk-4-1.png b/docs/articles/shared_legends_files/figure-html/unnamed-chunk-4-1.png index da4012c..250fc6f 100644 Binary files a/docs/articles/shared_legends_files/figure-html/unnamed-chunk-4-1.png and b/docs/articles/shared_legends_files/figure-html/unnamed-chunk-4-1.png differ diff --git a/docs/articles/shared_legends_files/figure-html/unnamed-chunk-5-1.png b/docs/articles/shared_legends_files/figure-html/unnamed-chunk-5-1.png index 7fb6c0e..7bfea87 100644 Binary files a/docs/articles/shared_legends_files/figure-html/unnamed-chunk-5-1.png and b/docs/articles/shared_legends_files/figure-html/unnamed-chunk-5-1.png differ diff --git a/docs/articles/themes.html b/docs/articles/themes.html index 9a65f78..8ab4bcb 100644 --- a/docs/articles/themes.html +++ b/docs/articles/themes.html @@ -107,7 +107,7 @@

Themes

Claus O. Wilke

-

2023-12-14

+

2023-12-15

Source: vignettes/themes.Rmd diff --git a/docs/index.html b/docs/index.html index 4d05508..addb3f1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -171,7 +171,6 @@

Developers

Dev status