Skip to contents

This function adds files/folders to the .rdepsignore file. The .rdepsignore file is used by rdeps to ignore files or folders when detecting dependencies. This plain text file contains a list of files/folders to be ignored.

This file will be created if it does not exist and will be added to the .Rbuildignore file.

Usage

add_to_rdepsignore(x)

Arguments

x

A character vector. One or several file/folder names to be added to the .rdepsignore. This argument is mandatory.

Value

No return value.

Examples

if (FALSE) { # \dontrun{
add_to_rdepsignore("analyses/misc")
add_to_rdepsignore("analyses/old_scripts.R")
} # }