normalize_files: normalize_files

normalize_filesR Documentation

normalize_files

Description

Normalize line endings for all package input data.

Usage

normalize_files(root = system.file("extdata", package = "gcamdata"))

Arguments

root

Folder root to scan, character

Details

Some GCAM input datafiles have bad line endings, and/or don't have a final newline. This utility script converts all files to have Unix line endings (\n) and a final newline.

Value

Nothing - run for side effects only.

Note

Set root to "./extdata" in the git directory, not the package root, to make changes that 'stick'.

Author(s)

BBL


JGCRI/gcamdata documentation built on March 21, 2023, 2:19 a.m.