From 52ae57141b2c8a294ecc53037b22db5751d08b5f Mon Sep 17 00:00:00 2001 From: Mauricio 'Pacha' Vargas Sepulveda Date: Sun, 28 Apr 2024 19:34:05 -0400 Subject: [PATCH] fix remote example --- .github/workflows/R-CMD-check.yaml | 4 ++-- vignettes/tabulapdf.Rmd | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index d556892..9b79961 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -28,11 +28,11 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: r-lib/actions/setup-r@v1 + - uses: r-lib/actions/setup-r@v2 with: r-version: ${{ matrix.config.r }} - - uses: r-lib/actions/setup-pandoc@v1 + - uses: r-lib/actions/setup-pandoc@v2 - name: Query dependencies run: | diff --git a/vignettes/tabulapdf.Rmd b/vignettes/tabulapdf.Rmd index d26e5c5..1ff49ff 100644 --- a/vignettes/tabulapdf.Rmd +++ b/vignettes/tabulapdf.Rmd @@ -23,7 +23,7 @@ The `pages` argument allows you to select which pages to attempt to extract tabl It is possible to specify a remote file, which will be copied to R's temporary directory before processing: ```{r} -f2 <- "https://github.com/ropensci/tabulapdf/raw/master/inst/examples/data.pdf" +f2 <- "https://raw.githubusercontent.com/ropensci/tabulapdf/main/inst/examples/data.pdf" extract_tables(f2, pages = 2) ```