Skip to content

Commit

Permalink
Enable big data chunk output on CRAN (#66)
Browse files Browse the repository at this point in the history
Depends on RSQLite 2.3.3
  • Loading branch information
robe2037 authored Nov 9, 2023
1 parent 51f89bf commit d836694
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Suggests:
knitr,
rmapshaper,
rmarkdown,
RSQLite,
RSQLite (>= 2.3.3),
rstudioapi,
scales,
sf,
Expand Down
15 changes: 0 additions & 15 deletions vignettes/ipums-bigdata.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit d836694

Please sign in to comment.