Add update_metadata() to update the description of agit2rdata object. See vignette("metadata") for more details.
Update the checklist and pkgdown infrastructure.
git2rdata 0.4.0
New features
write_vc() stores non optimised files as comma separated values rather than tab separated values. The general public seems to better recognised .csv files than.tsv files as being data files.
Add a new function verify_vc() which reads agit2rdata object and verifies the presence of a set of variables. It return the data upon success.
Internal changes
Upgrade to Roxygen2 7.1.2
Add inst/CITATION, CITATION.cff,.zenodo.json
git2rdata 0.3.1
Use icuSetCollate() to define a standardised sorting.
git2rdata 0.3.0
New features
write_vc() gains an optional split_byargument. See vignette("split_by") for more details.
rename_variable() efficiently renames variables in a stored git2rdata object.
Bugfixes
read_vc(), is_git2rdata() andis_git2rmeta() now yield a better message when both the data and metadata are missing.
Calculation of data hash has changed (#53). You must useupgrade_data() to read data stored by an older version.
is_git2rdata() and upgrade_data() no longer not test equality in data hashes (but read_vc()still does).
write_vc() and read_vc() fail whenfile is a location outside of root (#50).
Reordering factor levels requires strict = TRUE.
Bugfixes
Linux and Windows machines now generated the same data hash (#49).
NEW FEATURES
Internal sorting uses the “C” locale, regardless of the current locale.
read_vc() reads older stored in an older version (#44). When the version is too old, it prompts toupgrade_data().
Improve warnings() and error()messages.
Use vector version of logo.
git2rdata 0.1
Transfer to rOpenSci.
Use new logo (@peterdesmet, #37).
Add estimate of upper bound of the number of commits.
git2rdata 0.0.5
upgrade_data() uses the same order of the metadata aswrite_vc().
git2rdata 0.0.4
BREAKING FEATURES
write_vc() stores the git2rdata version number to the metadata. Use upgrade_data() to update existing data.
NEW FEATURES
read_vc() checks the meta data hash. A mismatch results in an error.
The meta data gains a data hash. A mismatch throws a warning when reading the object. This tolerates updating the data by other software, while informing the user that such change occurred.
is_git2rmeta() validates metadata.
list_data() lists files with valid metadata.
rm_data() and prune_meta() remove files with valid metadata. They don’t touch tsv file without metadata or yml files not associated withgit2rdata.
Files with invalid metadata yield a warning withlist_data(), rm_data() andprune_meta().
Bugfixes
write_vc() and relabel() handle empty strings ('') in characters and factors (#24).
read_vc() no longer treats # as a comment character.
read_vc() handles non ASCII characters on Windows.
Other changes
Use a faster algorithm to detect duplicates (suggestion by @brodieG).
Improve documentation.
Fix typo’s in documentation, vignettes and README.
Add a rOpenSci review badge to the README.
The README mentions on upper bound on the size of dataframes.
Set lifecycle to “maturing” and repo status to “active”.
The functions handle root containing regex expressions.