Changelog
Source:NEWS.md
NBDCtools 1.1.0
New Features
- Added
create_bids_sidecar_metadata()function to create BIDS sidecar from metadata without using any processed datasets. The oldcreate_bids_sidecar()function is now renamed tocreate_bids_sidecar_data(). - Added
get_all_releases()andget_latest_release()functions to retrieve information about all data releases, the latest release, respectively. - Added a validation step in
join_tabulated()that checks if the specified release version is the same as the data version of files in thedir_datadirectory. This is done by searching for a special file by study that contains the correct session IDs for that release. If this file is not found, users will get a warning message and futher validation is skipped. If the file is found but the session IDs do not match, an error is raised. - Added
add_custom_metadata()function to allow users to add their own metadata to the NBDCtools environment. This is useful for users who have their own metadata. A new vignette “Add custom metadata” has been added to demonstrate how to use this function.
NBDCtools 1.0.2
CRAN release: 2025-10-05
Changes
- Removed startup check for
NBDCtoolsDatapackage, as CRAN does not allow skipping checks. Now thecheck_data_pkg_installedperforms the check when other functions are called. - Data from
NBDCtoolsDatais now loaded into a separate environment as caching for faster access. - Added
NBDCtoolsDatatoSuggestsinDESCRIPTIONfile. - Removed
is_on_cran()internal function. - Used
@examplesIfroxygen tag to avoid examples being run on CRAN ifNBDCtoolsDatais not installed.
NBDCtools 1.0.1
CRAN release: 2025-09-10
Bug fixes
- Fixed an error in the
transf_value_to_label()function that led to the order of categorical levels being incorrect after transformation to labels. - Fixed an error in the
join_tabulated()function that occurred if the first table/variable intables_add/vars_addwas static but further tables/variables were dynamic.
Changes
- all
join_bys injoin_tabulated()are now dynamically set by intersecting withid_cols. Hardcodedjoin_byhas been removed.