Normalize line endings for all package input data.
normalize_files(root = system.file("extdata", package = PACKAGE_NAME))
Folder root to scan, character
Nothing - run for side effects only.
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.
Set root
to "./extdata" in the git directory, not the package root, to make changes that 'stick'.