From 2403a6434d0ef820c2e4c0f84431498e2d61dc2a Mon Sep 17 00:00:00 2001 From: thebioengineer Date: Wed, 28 Sep 2022 16:30:42 -0700 Subject: [PATCH 1/7] Bump version and update Title/Description --- DESCRIPTION | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 71d0a75..eb3a391 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: camcorder Type: Package -Title: Record Your 'ggplot2' History -Version: 0.0.3.9000 +Title: Record Your Plot History +Version: 0.1.0 Authors@R: c( person( @@ -23,7 +23,7 @@ Authors@R: role = c("ctb") ) ) -Description: Record and generate a gif of your R sessions plots that were created using 'ggplot2'. +Description: Record and generate a gif of your R sessions plots. License: MIT + file LICENSE Encoding: UTF-8 LazyData: true From f74b88bf5a9d6e79fb19906c6423686fca3d6807 Mon Sep 17 00:00:00 2001 From: thebioengineer Date: Wed, 28 Sep 2022 16:45:36 -0700 Subject: [PATCH 2/7] removing extra deps on packages --- DESCRIPTION | 1 - R/magick-resize.R | 1 - 2 files changed, 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index eb3a391..5a62538 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -33,7 +33,6 @@ Imports: gifski, tools, magick, - pdftools, rsvg, jsonlite, rlang, diff --git a/R/magick-resize.R b/R/magick-resize.R index 0f0d054..c34affa 100644 --- a/R/magick-resize.R +++ b/R/magick-resize.R @@ -13,7 +13,6 @@ #' #' @importFrom magick image_read image_info image_resize image_extent image_write #' @importFrom tools file_path_sans_ext file_ext -#' @import pdftools #' @import rsvg #' #' @noRd From 669f42110d0bb1d2efa0300810817fed151651fd Mon Sep 17 00:00:00 2001 From: thebioengineer Date: Wed, 28 Sep 2022 16:52:25 -0700 Subject: [PATCH 3/7] remove pdftools import --- NAMESPACE | 1 - 1 file changed, 1 deletion(-) diff --git a/NAMESPACE b/NAMESPACE index d259432..9c79e83 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -5,7 +5,6 @@ export(gg_record) export(gg_resize_film) export(gg_stop_recording) export(record_polaroid) -import(pdftools) import(rsvg) importFrom(ggplot2,ggsave) importFrom(ggplot2,set_last_plot) From a31573556cf67b2a56455e8c0079b4fe3213217f Mon Sep 17 00:00:00 2001 From: thebioengineer Date: Wed, 28 Sep 2022 16:54:56 -0700 Subject: [PATCH 4/7] spacing in yaml --- .github/workflows/R-CMD-check.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 8c7ce69..333370e 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -56,11 +56,10 @@ jobs: extra-packages: any::rcmdcheck needs: check - - name: Install Fonts run: | - library(extrafont) - font_import() + library(extrafont) + font_import() shell: Rscript {0} From cf5e3b3d859a3b9a69250c1e7e03970341cb7165 Mon Sep 17 00:00:00 2001 From: thebioengineer Date: Wed, 28 Sep 2022 17:03:13 -0700 Subject: [PATCH 5/7] remove older R version checks because use of native pipe --- .github/workflows/R-CMD-check.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 333370e..f5c3dd0 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -26,15 +26,15 @@ jobs: - {os: windows-latest, r: 'release'} # Use 3.6 to trigger usage of RTools35 - - {os: windows-latest, r: '3.6'} + # - {os: windows-latest, r: '3.6'} # Use older ubuntu to maximise backward compatibility - {os: ubuntu-18.04, r: 'devel', http-user-agent: 'release'} - {os: ubuntu-18.04, r: 'release'} - {os: ubuntu-18.04, r: 'oldrel-1'} - - {os: ubuntu-18.04, r: 'oldrel-2'} - - {os: ubuntu-18.04, r: 'oldrel-3'} - - {os: ubuntu-18.04, r: 'oldrel-4'} + # - {os: ubuntu-18.04, r: 'oldrel-2'} + # - {os: ubuntu-18.04, r: 'oldrel-3'} + # - {os: ubuntu-18.04, r: 'oldrel-4'} env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} From 903e4feb1d945a952b67a7bbf35f2332d8d73ae1 Mon Sep 17 00:00:00 2001 From: thebioengineer Date: Wed, 28 Sep 2022 17:12:12 -0700 Subject: [PATCH 6/7] remove withr from suggests --- DESCRIPTION | 1 - 1 file changed, 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 5a62538..96a63ba 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -47,7 +47,6 @@ Suggests: covr, testthat (>= 3.0.0), patchwork, - withr, dplyr, systemfonts, scales, From 48f983429dc1ac20f4398043cd8d73076002c5f5 Mon Sep 17 00:00:00 2001 From: thebioengineer Date: Wed, 28 Sep 2022 17:18:16 -0700 Subject: [PATCH 7/7] undo withr removal --- DESCRIPTION | 1 + 1 file changed, 1 insertion(+) diff --git a/DESCRIPTION b/DESCRIPTION index 96a63ba..5a62538 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -47,6 +47,7 @@ Suggests: covr, testthat (>= 3.0.0), patchwork, + withr, dplyr, systemfonts, scales,