is_Rd_file: Check Whether a File is Probably an R Documentation File

View source: R/man.R

is_Rd_fileR Documentation

Check Whether a File is Probably an R Documentation File

Description

This is meant for internal use by man.

Usage

is_Rd_file(x)

Arguments

x

The path to the file to be checked.

Value

TRUE if the file is probably an R documentation file, FALSE otherwise.

Note

The check might produce false negatives (erroneously assuming the file is not an R documentation file).


document documentation built on July 9, 2023, 5:22 p.m.