From d836694d4ff7c724c09514ee159169641c699bbb Mon Sep 17 00:00:00 2001 From: Finn Roberts <62474904+robe2037@users.noreply.github.com> Date: Thu, 9 Nov 2023 11:14:57 -0500 Subject: [PATCH] Enable big data chunk output on CRAN (#66) Depends on RSQLite 2.3.3 --- DESCRIPTION | 2 +- vignettes/ipums-bigdata.Rmd | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 724409e0..591d8297 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -48,7 +48,7 @@ Suggests: knitr, rmapshaper, rmarkdown, - RSQLite, + RSQLite (>= 2.3.3), rstudioapi, scales, sf, diff --git a/vignettes/ipums-bigdata.Rmd b/vignettes/ipums-bigdata.Rmd index c675c4b2..1d550480 100644 --- a/vignettes/ipums-bigdata.Rmd +++ b/vignettes/ipums-bigdata.Rmd @@ -48,21 +48,6 @@ installed_biglm <- requireNamespace("biglm") installed_db_pkgs <- requireNamespace("DBI") & requireNamespace("RSQLite") & requireNamespace("dbplyr") - -# Suppress certain chunks when on CRAN, as they may fail due to -# bug in vroom 1.6.4 that interacts with RSQLite and DBI -# (https://github.com/tidyverse/vroom/issues/519). -# -# Until bug is fixed in vroom, we do not want vignette check failures -# on CRAN that are out of our control, so we suppress output from these chunks -# -# Developers can use dev version of RSQLite to avoid errors. To run the chunks -# if you have the appropriate version of RSQLite installed, set the -# `NOT_CRAN` environment variable equal to `"true"`. -# -# TODO: remove when vroom is fixed -installed_db_pkgs <- installed_db_pkgs && - isTRUE(as.logical(Sys.getenv("NOT_CRAN", "false"))) ``` ```{r, echo=FALSE}