Skip to content

Releases: ropensci/DataPackageR

DataPackageR 0.16.1

17 Sep 18:41
Compare
Choose a tag to compare

Minor user-facing improvements

  • Suppress warning from project*_path() functions when file does not exist (#160)

Maintenance

  • Remove dependency on crayon package, switch to cli package (#159)
  • Remove invalid ORCID placeholder created by usethis that caused failing CRAN checks (#162)

DataPackageR 0.16.0

03 Jun 15:04
Compare
Choose a tag to compare

Bug fixes

  • Throw error if data object name is same as package name. Fixes (#62)
  • Fix triplicate warnings when data version changes (#128)
  • Fix bug where automatic updates to NEWS.md and the log file did not reflect the actual changes to data objects (#67)
    • The actual data packaging and versioning behavior was as intended, but now the NEWS.md and log file reflect that behavior
  • Remove inconsistently auto-generated 'see also' links from package and data object help files

Significant user-facing changes

  • document() now defaults to install = FALSE, like package_build() (#130)

Minor user-facing improvements

  • Tweaks to PDF manual and vignette index titles
  • Tweaks to spacing in console outputs and log file
  • Suppress repetitive log file lines about updating NEWS.md
  • Remove assertthat, devtools, stringr, and purrr from Imports
  • Add pkgbuild and pkgload to Imports
  • Move withr from Imports to Suggests
  • Make some long-deprecated functions officially Defunct
    • dataVersion(), renamed years ago to data_version()
    • datapackage.skeleton(), renamed years ago to datapackage_skeleton()
    • keepDataObjects()
  • Keep existing DataPackageR_verbose option if set outside of package

Internal improvements

  • Refactor and split up internal omnibus function DataPackageR()
    • New internal functions
      • do_doc()
      • do_digests()
      • validate_pkg_name()
      • validate_package_skeleton()
      • validate_DataVersion()
      • validate_description()
      • validate_yml()
      • get_yml_objects()
      • get_yml_r_files()
    • Deleted internal functions
      • read.description(), now uses desc::desc()
      • read_pkg_description(), now uses desc::desc()
      • comment(), now uses roxygen2::parse_file()
    • Simplify internal functions
      • .increment_data_version()
      • .digest_data_env()
      • .save_data()
      • .doc_parse()
      • .check_dataversion_string()
    • Use base R compareVersion() and class package_version to simplify code involving the DataVersion and do additional sanity checks
  • Miscellaneous cleanup and maintenance
  • Make unit tests more independent from each other

DataPackageR 0.15.9

17 Apr 07:17
Compare
Choose a tag to compare

Bug fixes

  • Fix bug where .Rprofile options setting for DataPackageR_interact was overwritten upon package load
  • Fix bugs where document() and package_build() left the data package attached
  • Fix unit test inter-dependencies
  • Make package template depend on R >= 3.5.0, suppressing .rda serialization warnings upon install
  • Close a file connection, suppressing warnings about orphaned connections
  • Fix broken test that led to archiving on CRAN
  • Fix package documentation method for data packages and DataPackageR itself (r-lib/roxygen2#1491)
  • Fix tests for compatibility with usethis >1.5.2

Minor improvements

  • Various maintenance tweaks
  • Documentation improvements
  • Update maintainer and contact info
  • New global option DataPackageR_verbose to suppress console output, e.g. during unit testing

v0.15.8

17 Mar 15:04
Compare
Choose a tag to compare
  • Fix to datapackager_object_read that was causing a test to break. get needs to have inherits=FALSE.
  • Other fixes for usethis 1.6.0
  • Fixes to tests that were failing on CRAN
  • In package_build, remove devtools::reload and put devtools::unload and in front of install.packages
  • in document, remove devtools::reload and put in devtools::unload and install.packages
  • change maintainer to Ellis Hughes

v0.15.7

01 Apr 15:14
Compare
Choose a tag to compare

*Fix test and vignette bugs related to upcoming version of usethis (1.5)

v0.15.6

14 Mar 14:36
Compare
Choose a tag to compare
  • Fixes in the vignette and build_package and document that write to the user library during CRAN checks.
  • Fixes to update_news.
  • Create NEWS.md file if it doesn't exist.

0.15.4

08 Nov 19:42
Compare
Choose a tag to compare

DataPackageR 0.15.4

New CRAN Release

Features and enhancements

  • Reduce the console output from logging. (/issues/50)
  • Create a new logger that logs at different thresholds to console and to file (/issues/50)
  • Default on build is not to install.
  • Hide console output from Rmd render.
  • Nicer messages describing data sets that are created (/issues/51)
  • Write deleted, changed, and added data objects to the NEWS file automatically.
  • Add option to overwrite (or not) via use_processing_script. Provide warning.
  • Add use_ignore() to ignore files and data sets in .Rbuildignore and .gitignore and added ignore argument to use_raw_dataset().

Bug fixes

  • code argument no longer required for construct_yml_config
  • Fix the documentation for datapackager_object_read() and "Migrating old packages".
  • Copy over vignettes generated as pdfs into the package inst/doc
  • Data objects are incrementally stored during the build process, into the render_root directory specified in the datapackager.yml config file.

Brass Oyster

24 Aug 03:36
Compare
Choose a tag to compare

Stable CRAN release.
The following updates are included in this release.

  • Interactive package construction with use_data_object, use_processing_script, use_raw_dataset (/issues/44)
  • Allow datapacakge_skeleton to be called without files or data objects for interactive construction. (/issues/44)
  • Conditional tests when pandoc is missing (/issues/46)

First CRAN Release

16 Aug 14:37
Compare
Choose a tag to compare

DataPackageR 0.15.1

  • Fix CRAN notes.

0.15.0

08 Aug 19:09
Compare
Choose a tag to compare
  • The first release of DataPackageR under rOpenSci.