normalize_file_newlines: Normalize line endings in a file

View source: R/encoding.R

normalize_file_newlinesR Documentation

Normalize line endings in a file

Description

Reads a file, normalizes line endings, and writes it back.

Usage

normalize_file_newlines(filepath)

Arguments

filepath

Character. Path to file.

Value

Invisibly returns the filepath.


Rclade documentation built on Sept. 26, 2026, 5:07 p.m.