win.eol: Gets the Windows end of line characters

Description Usage Value Note Author(s) Examples

View source: R/utils.R

Description

Finds the end of line (eol) characters required for writing Windows files, such as CRHM obs files. No parameters are required. This is an internal CRHMr function and should never need to be called directly.

Usage

1

Value

Returns the Windows end of line characters (cr and lf).

Note

This function is used to make the creation of Windows-specific files work on all platforms. CRHM requires its obs and project files to use the Windows end of line characters, which are expressed differently on UNIX-based operating systems such as Linux and OSX.

Author(s)

Kevin Shook

Examples

1
windowsEndOfLine <- win.eol()

CentreForHydrology/MESHr documentation built on Jan. 11, 2021, 8:34 p.m.