Skip to content

Commit f4a4502

Browse files
author
Liam Hobby
committed
Update changelog
1 parent 849b27c commit f4a4502

1 file changed

Lines changed: 84 additions & 29 deletions

File tree

NEWS.md

Lines changed: 84 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,110 @@
1+
---
2+
editor_options:
3+
markdown:
4+
wrap: 72
5+
---
6+
17
# metatools 0.3.0
28

3-
- Enhancement: `verbose` Adds a verbose parameter to `build_from_derived()`, `set_variable_labels()`, and `build_qnam()` to allow users to suppress informational messages and warnings during execution. [#113](https://github.com/pharmaverse/metatools/pull/113)
4-
- Enhancement: `add_labels()` now prints out variables that do not exist in the dataset. [#111](https://github.com/pharmaverse/metatools/pull/108)
5-
- Bugfix issue where `create_var_from_codelist()` would throw an error when `strict=TRUE` and `input_var` was numeric. [#102](https://github.com/pharmaverse/metatools/pull/102)
6-
- Bugfix issue in `create_var_from_codelist()` where supplied codelist contains negative numeric values. [#112](https://github.com/pharmaverse/metatools/pull/112)
7-
- Bugfix logic for detecting variable mismatches in `set_variable_labels()`. [#115](https://github.com/pharmaverse/metatools/pull/115)
8-
- Bugfix `combine_supp_join()` no longer throws an error when rows exist in the supp that do not correspond to a record in the core dataset [#128](https://github.com/pharmaverse/metatools/pull/128)
9-
- Various updates and refinements to documentation.
10-
- GitHub workflows for package styling and spelling enabled.
9+
- Enhancement: `verbose` Adds a verbose parameter to
10+
`build_from_derived()`, `set_variable_labels()`, and `build_qnam()`
11+
to allow users to suppress informational messages and warnings
12+
during execution. Permissible values "message", "warn", "silent".
13+
14+
- Enhancement: `verbose` parameter also added to `check_ct_col` and
15+
`check_ct_data`. Warnings cannot be suppressed for these functions
16+
to prevent unnoticed data quality issues. Permissible values
17+
"message", "warn". [#136](https://github.com/pharmaverse/metatools/pull/136)
18+
19+
- Enhancement: `add_labels()` now prints out variables that do not
20+
exist in the dataset.
21+
[#113](https://github.com/pharmaverse/metatools/pull/113)
22+
23+
- Bugfix issue where `create_var_from_codelist()` would throw an error
24+
when `strict=TRUE` and `input_var` was numeric.
25+
[#111](https://github.com/pharmaverse/metatools/pull/108)
26+
27+
- Bugfix issue in `create_var_from_codelist()` where supplied codelist
28+
contains negative numeric
29+
values.[#102](https://github.com/pharmaverse/metatools/pull/102)
30+
31+
- Bugfix logic for detecting variable mismatches in
32+
`set_variable_labels()`.
33+
[#112](https://github.com/pharmaverse/metatools/pull/112)
34+
35+
- Bugfix `combine_supp_join()` no longer throws an error when rows
36+
exist in the supp that do not correspond to a record in the core
37+
dataset. [#115](https://github.com/pharmaverse/metatools/pull/115)
38+
39+
- Various updates and refinements to documentation. - GitHub workflows
40+
for package styling and spelling enabled.
41+
[#128](https://github.com/pharmaverse/metatools/pull/128)
1142

1243
# metatools 0.2.0
1344

14-
- Functions now require a subsetted metacore object to be used i.e., created via `metacore::select_dataset()`.
15-
- `create_cat_var()` now allows the new variable to be create using the `decode` part of the codelist as a label.(#82)
16-
- `create_var_from_codelist()` now allows the user to specify a codelist to use to create the new variables. (#83)
17-
- `check_variables()` now provides a `strict` option that issues warnings rather than errors when `FALSE`. (#86)
45+
- Functions now require a subsetted metacore object to be used i.e.,
46+
created via `metacore::select_dataset()`.
47+
- `create_cat_var()` now allows the new variable to be create using
48+
the `decode` part of the codelist as a label.(#82)
49+
- `create_var_from_codelist()` now allows the user to specify a
50+
codelist to use to create the new variables. (#83)
51+
- `check_variables()` now provides a `strict` option that issues
52+
warnings rather than errors when `FALSE`. (#86)
1853
- `combine_supp()` now adds labels from the "QLABEL" (#71)
1954
- `combine_supp()` no longer creates an "IDVARVAL" column (#78)
20-
- Improved error reporting for `create_cat_var`, `create_var_from_codelist`, and `check_variables`.
21-
- The `dataset_name` argument has been deprecated in various functions.
55+
- Improved error reporting for `create_cat_var`,
56+
`create_var_from_codelist`, and `check_variables`.
57+
- The `dataset_name` argument has been deprecated in various
58+
functions.
2259
- The `make_lone_dataset` function has been deprecated.
2360

2461
# metatools 0.1.6
2562

26-
- Breaking change: `combine_supp()` requires that the QNAM columns are not in the source dataset (#64)
27-
- Breaking change: `build_from_derived()` no longer requires all datasets with predecessors, but can run on a single dataset or multiple. It will also now accept unnamed datasets.
28-
- `combine_supp()` now allows multiple `QNAM` values to go to the same `IDVAR` (#63)
63+
- Breaking change: `combine_supp()` requires that the QNAM columns are
64+
not in the source dataset (#64)
65+
- Breaking change: `build_from_derived()` no longer requires all
66+
datasets with predecessors, but can run on a single dataset or
67+
multiple. It will also now accept unnamed datasets.
68+
- `combine_supp()` now allows multiple `QNAM` values to go to the same
69+
`IDVAR` (#63)
2970
- Allow supp data to be zero-row with `combine_supp()` (#45)
30-
- Enhance `check_ct_data()` so that `na_acceptable` can now accept a vector of variables. Also add new argument `omit_vars` to control if any variables should be skipped when doing controlled terminology checks (#57)
31-
- Add `check_unique_keys()` to check the uniqueness of records in the dataset by variable keys (#52)
32-
- Correct the description of `build_from_derived()` predecessor_only parameter
71+
- Enhance `check_ct_data()` so that `na_acceptable` can now accept a
72+
vector of variables. Also add new argument `omit_vars` to control if
73+
any variables should be skipped when doing controlled terminology
74+
checks (#57)
75+
- Add `check_unique_keys()` to check the uniqueness of records in the
76+
dataset by variable keys (#52)
77+
- Correct the description of `build_from_derived()` predecessor_only
78+
parameter
3379

3480
# metatools 0.1.4
3581

36-
- correct bug with `combine_supp()` when the data and the supp have white space. Now it will be trimmed before attempting to merge\
82+
- correct bug with `combine_supp()` when the data and the supp have
83+
white space. Now it will be trimmed before attempting to merge\
3784
- Updates made to work with the newest version of dplyr
3885

3986
# metatools 0.1.3
4087

41-
- correct bug with `build_from_derived()` that prevented multiple from being combined
88+
- correct bug with `build_from_derived()` that prevented multiple from
89+
being combined
4290
- removed library calls from tests
43-
- remove `floating_pt_correction` from `combine_supp()` as it is best to never change the type of the main dataset
44-
- Add a message to `drop_unspec_vars` to explain which variables are dropped
45-
- Correct bug in `order_cols`, so it will still work when not all columns are present
91+
- remove `floating_pt_correction` from `combine_supp()` as it is best
92+
to never change the type of the main dataset
93+
- Add a message to `drop_unspec_vars` to explain which variables are
94+
dropped
95+
- Correct bug in `order_cols`, so it will still work when not all
96+
columns are present
4697

4798
# metatools 0.1.2
4899

49-
- correct bug with `combine_supp()` when the data and the supp have different classes for the IDVARVAL
50-
- add error to `combine_supp()` to report when not all the rows in the supp have merged
51-
- add `floating_pt_correction` argument to `combine_supp()` used for when there are floating point errors with `IDVARVAL`
100+
- correct bug with `combine_supp()` when the data and the supp have
101+
different classes for the IDVARVAL
102+
- add error to `combine_supp()` to report when not all the rows in the
103+
supp have merged
104+
- add `floating_pt_correction` argument to `combine_supp()` used for
105+
when there are floating point errors with `IDVARVAL`
52106

53107
# metatools 0.1.1
54108

55-
- Based on tester feedback, remove any row in supplemental qualifiers that are empty and rearranged the columns
109+
- Based on tester feedback, remove any row in supplemental qualifiers
110+
that are empty and rearranged the columns

0 commit comments

Comments
 (0)