find_tshark: Find the 'tshark' binary

Description Usage Arguments Value Examples

View source: R/find-tshark.R

Description

Use the environment variable TSHARK_PATH or specify the directory in the call to this function.

Usage

1
find_tshark(path = Sys.getenv("TSHARK_PATH", ""))

Arguments

path

hint to where to look for the tshark binary

Value

length 1 character vector of the path to the tshark binary or ""

Examples

1
2
3
4
loc <- tryCatch(
  find_tshark(),
  error = function(e) message("No tshark")
)

hrbrmstr/tsharrk documentation built on Dec. 20, 2021, 4:49 p.m.