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


bpbond/gcamdata documentation built on March 22, 2023, 4:52 a.m.