Conversation
Unit Tests Summary 1 files 23 suites 16m 8s ⏱️ For more details on these failures, see this check. Results for commit f8b884f. ♻️ This comment has been updated with latest results. |
Unit Test Performance Difference
Additional test case details
Results for commit 9b0a1a2 ♻️ This comment has been updated with latest results. |
|
S3 methods can only dispatch according to one argument. This PR duplicates entire modules for a dispatch on one argument. Isn't it better to have a conversion or a warning on each argument? User might end up mixing the new and the old approach and that could throw off the dispatch mechanism. |
It is better, problem is that delayed-filter_spec (with I provided this "brute-force" solution to make sure nothing breaks. It is possible to implement filter_spec -> teal_transform_module conversion but it will require significant design intrusion. Instead of making a design compromise in |
Yes, my idea is to raise an error when they are not convertible, and just a deprecation warning when they can be converted.
I am never sure of how to ease these transitions between code/designs. There are many tradeoffs and the most important information is hard to estimate: user current usage and user adoption of the future new design. How long we'll we need to keep |
Yup, I'm not sure if soft-deprecation process should start with hard deprecating one of the components. But as a developer I'd be happy to have a single version of the tm_*
Theoretically two minor releases. It could be more than one year. It would mean that during the most intensive development (in the early versions of the tool) we would have to deal with extra complication in the design. After the transition period we would remove and keep "raw" picks. |
| lattice (>= 0.18-4), | ||
| lifecycle (>= 0.2.0), | ||
| MASS (>= 7.3-60), | ||
| rlang, |
There was a problem hiding this comment.
| rlang, | |
| rlang (>= 1.0.0), |
|
Commenting here so we don't forget: tm_gtsummary will need to be added to this PR. |
Closes insightsengineering/NEST-roadmap#36
Check also with:
In this PR, due to the fact that
data_extract_specis not 1:1 convertible topicks, I propose to have an S3 method in eachtm_to switch between data_extract_spec/picks depending on the input type. Eventually,data_extract_specvariant will be removed completely after deprecation period.