Normalize line endings for all package input data.

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

Arguments

root

Folder root to scan, character

Value

Nothing - run for side effects only.

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.

Note

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

Author

BBL