getURLs: Find literal URLs in R code

getURLsR Documentation

Find literal URLs in R code

Description

This function statically analyzes R code and finds all literal strings that appear to be URLs.

Usage

getURLs(dir, ignoreParams = FALSE, skipIfFalse = FALSE)

Arguments

dir

a directory or file name, or vector of these

ignoreParams

a scalar logical controlling whether to also include the default values of parameters of functions in the search for URLs.

skipIfFalse

scalar logical controlling whether to skip/ignore code within if(FALSE) blocks.

Value

a character vector

Author(s)

Duncan Temple Lang

See Also

getFunctionDefs


duncantl/CodeAnalysis documentation built on June 12, 2025, 6:44 a.m.