This vignette is for maintainers onboarding to rpgconn.
R/pgdbconn.R: parser, validation, connection orchestrationR/use-config.R: config adoption helpertests/testthat/: hermetic unit tests and optional local Postgres E2Evignettes/*.qmd: Quarto docs used by pkgdown_pkgdown.yml: website structurepak::local_install_dev_deps(dependencies = TRUE)devtools::load_all()
devtools::document()
devtools::test()tools::R_user_dir().R_USER_CONFIG_DIR and RPG_CONN_STRING.Enable:
export RPGCONN_RUN_DB_TESTS=true
export RPGCONN_TEST_CONN_STRING="postgresql://postgres:postgres@localhost:5432/postgres"Then run:
devtools::test()The test uses a temporary SQL table and does not persist data.
pkg::fn() style.data.table semantics for tabular workflows..qmd.