Releases: ropensci/DataPackageR
Releases · ropensci/DataPackageR
DataPackageR 0.16.1
DataPackageR 0.16.0
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 toinstall = FALSE
, likepackage_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
, andpurrr
from Imports - Add
pkgbuild
andpkgload
to Imports - Move
withr
from Imports to Suggests - Make some long-deprecated functions officially Defunct
dataVersion()
, renamed years ago todata_version()
datapackage.skeleton()
, renamed years ago todatapackage_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 usesdesc::desc()
read_pkg_description()
, now usesdesc::desc()
comment()
, now usesroxygen2::parse_file()
- Simplify internal functions
.increment_data_version()
.digest_data_env()
.save_data()
.doc_parse()
.check_dataversion_string()
- Use base R
compareVersion()
and classpackage_version
to simplify code involving the DataVersion and do additional sanity checks
- New internal functions
- Miscellaneous cleanup and maintenance
- Make unit tests more independent from each other
DataPackageR 0.15.9
Bug fixes
- Fix bug where
.Rprofile
options setting forDataPackageR_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
- Fix to datapackager_object_read that was causing a test to break.
get
needs to haveinherits=FALSE
. - Other fixes for
usethis
1.6.0 - Fixes to tests that were failing on CRAN
- In
package_build
, removedevtools::reload
and putdevtools::unload
and in front of install.packages - in
document
, removedevtools::reload
and put indevtools::unload
and install.packages - change maintainer to Ellis Hughes
v0.15.7
v0.15.6
0.15.4
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
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
DataPackageR 0.15.1
- Fix CRAN notes.