normalize_files: normalize_files

Description Usage Arguments Details Value Note Author(s)

Description

Normalize line endings for all package input data.

Usage

1
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


rohmin9122/gcam-korea-release documentation built on Nov. 26, 2020, 8:11 a.m.