dev_cicd: Continuous Integration (CI) / Continuous Deployment (CD)...

Description Usage Arguments Functions

Description

Tools for developing the testing and deployment workflows for subsequent packages.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
dev_cicd_in_github_actions()

dev_cicd_in_covr()

dev_cicd_schema(short_pkg_name = tolower(dev_pkg_name(envir = parent.frame())))

dev_cicd_test_package(..., stop_on_failure = TRUE)

dev_cicd_test_coverage(
  ...,
  min_test_coverage = 80,
  assert = dev_cicd_in_github_actions(),
  envir = parent.frame()
)

dev_cicd_test_linting(
  ...,
  max_lint_results = 0L,
  assert = dev_cicd_in_github_actions()
)

dev_cicd_test_spelling(
  ...,
  max_spelling_errors = 0L,
  assert = dev_cicd_in_github_actions()
)

dev_cicd_shinytest(app_name)

Arguments

short_pkg_name

a shortened package name in case schema generated is sometimes too long

stop_on_failure

see devtools::test

min_test_coverage

minimum test coverage in percentage points

assert

whether to error on max typos

max_lint_results

max number of linting results without raising error

max_spelling_errors

maximum typos tolerated

parent_env

parent environment for package namespacing

Functions


tjpalanca/tjutils documentation built on Jan. 20, 2021, 2:01 p.m.