dev/02-development.R

# Requirements ----------------------------------------------------
## development/suggested
dev_pkg <- c("withr")
renv::install(dev_pkg)
purrr::walk(dev_pkg, usethis::use_package, type = "Suggests")


## production/imports
pkg <- c("serial", "stringr", "readr", "dplyr", "lubridate", "usethis")
renv::install(pkg)
purrr::walk(pkg, usethis::use_package)

# Tools -----------------------------------------------------------
autotestthat::auto_test_package_job()
usethis::use_tidy_eval()


# Functions -------------------------------------------------------
usethis::use_r(basename(usethis::use_test("bed_connection")))
usethis::use_r(basename(usethis::use_test("pull_bed_stream")))
usethis::use_r(basename(usethis::use_test("tidy_iobed_stream")))



#'
#' Check cycles
#' ====================================================================
#'
#' Before pushes
#' --------------------------------------------------------------------
#'
usethis::use_tidy_description()
## CTRL + SHIFT + D
spelling::spell_check_package()
# spelling::update_wordlist()

renv::status()
# renv::snapshot()


#'
#' Before pull requests
#' --------------------------------------------------------------------
#'
lintr::lint_package()

usethis::use_version()
UBESP-DCTV/iobed.bed documentation built on Sept. 4, 2022, 5:57 a.m.