Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplification in specifying file locations #92

Merged
merged 4 commits into from
Oct 16, 2020
Merged

Simplification in specifying file locations #92

merged 4 commits into from
Oct 16, 2020

Conversation

florisvdh
Copy link
Member

This PR refers to the (Zenodo) datasources for which it is recommended to store them in a standard location inside the n2khab_data folder.

Please note, the simplifications introduced by this PR will break existing code in case a user deviated from the recommended default specified in vignette v020 (vignette("v020_datastorage")), and explicitly used path / file arguments instead.

Instead of two arguments path and file, just one argument file is now used (with the exception of read_GRTSmh_diffres(), where path and subdir have been replaced by dir). file takes an absolute or relative path to the data source file. This solves #86.

When R code did not use path / file arguments (i.e., implementation of the default), it should continue to work as expected.

@florisvdh florisvdh merged commit c000d67 into rc0.3 Oct 16, 2020
@florisvdh florisvdh deleted the filepath branch October 16, 2020 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant