Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Rdo_is_newline

Check if an Rd fragment represents a newline character


Description

Check if an Rd fragment represents a newline character

Usage

Rdo_is_newline(rdo)

Arguments

rdo

an Rd object

Details

This is a utility function that may be used to tidy up Rd objects.

It returns TRUE if the Rd object represents a newline character, i.e. it is a character vector of length one containing the string "\n". Attributes are ignored.

Otherwise it returns FALSE.

Value

TRUE or FALSE

Author(s)

Georgi N. Boshnakov


Rdpack

Update and Manipulate Rd Documentation Objects

v2.1.1
GPL (>= 2)
Authors
Georgi N. Boshnakov [aut, cre], Duncan Murdoch [ctb]
Initial release
2021-02-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.