diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 8c7ce69..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 }} @@ -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} diff --git a/DESCRIPTION b/DESCRIPTION index 71d0a75..5a62538 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 @@ -33,7 +33,6 @@ Imports: gifski, tools, magick, - pdftools, rsvg, jsonlite, rlang, 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) 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