fetch_namespace_names: Fetch namespace names

View source: R/fetch_namespace_names.R

fetch_namespace_namesR Documentation

Fetch namespace names

Description

Scans the code and finds all namespaced call of the form pkg::fun and returns a vector of unique package names.

Usage

fetch_namespace_names(path = ".", recursive = TRUE)

Arguments

path

A string. The path to a file or the folder to explore By default explores the working directory.

recursive

A boolean. Passed to list.files() if path is a directory

Value

A character vector of package names


moodymudskipper/refactor documentation built on May 17, 2024, 2:27 a.m.