find_staticimports: Find any static imports in the comments of the R/ directory

View source: R/import.R

find_staticimportsR Documentation

Find any static imports in the comments of the R/ directory

Description

This finds staticimports declarations, which are comment blocks that look like:

Usage

find_staticimports(dir = here::here("R/"))

Arguments

dir

A directory to look in. Defaults to

Details

# @staticimports pkg:staticimports
#   map map_chr map_lgl os_name any_named any_unnamed
#   all_named all_unnamed

Value

A list of lists. Each sub-list has a source field and names.


wch/staticimports documentation built on Jan. 13, 2024, 8:48 p.m.