is_Rd_file {document}R 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).


[Package document version 4.0.1 Index]