search_code: Searching patterns in code

View source: R/phenomis-package.R

search_codeR Documentation

Searching patterns in code

Description

This function is useful for code inspection, development, and debugging

Usage

search_code(
  pattern.c,
  dir.c = getwd(),
  fixed.l = TRUE,
  filename_pattern.c = NULL
)

Arguments

pattern.c

Character: pattern to be searched in the files

dir.c

Character: parent directory of the files

fixed.l

Logical: should the pattern be searched 'as is'

filename_pattern.c

Character: optional filter of file names to be searched

Value

nothing is returned

Examples

## Not run: 
phenomis::search_code("aes", filename_pattern.c = ".R")

## End(Not run)

SciDoPhenIA/phenomis documentation built on June 9, 2022, 11:54 p.m.