mitm_check: R CMD check a package (source tree), capturing network calls.

View source: R/mitm.R

mitm_checkR Documentation

R CMD check a package (source tree), capturing network calls.

Description

R CMD check a package (source tree), capturing network calls.

Usage

mitm_check(package_path, timeout = 3, quiet = FALSE,
  mitm_host = "127.0.0.1", mitm_port = "8080", extra_args = NULL)

Arguments

package_path

Path to a local copy of a R package

timeout

Wait time after launching MITM server to run R code

quiet

passed on to [devtools::check()]; Default 'FALSE'.

mitm_host, mitm_port

IP address of the system 'mitmproxy' tools will be running on and the port. Defaults to '127.0.0.1' and '8080' respectively.

extra_args

command-line arguments passed on to 'mitmdump'.

Value

data frame (tibble) of safety check results or 'NULL' if package check errors

Examples

## Not run: 
mitm_check(package_path = "/local/path")

## End(Not run)

ropenscilabs/middlechild documentation built on May 11, 2022, 9:11 a.m.