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 Aug. 19, 2022, 5:23 p.m.