-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
format_tags_diff() #404
Comments
@seth im not sure this function is right unless im missing something (I know its WIP). Im finding that > tags_diff(log_df)
$`1`
$`1`$tags_added
[1] "acop tag" "other tag"
$`1`$tags_removed
[1] ""
$`2`
$`2`$tags_added
[1] "new tag 1" "new tag 2"
$`2`$tags_removed
[1] "acop tag" "other tag"
$`3`
$`3`$tags_added
[1] "the newest"
$`3`$tags_removed
[1] "other tag" "new tag 2" Perhaps Im going to write the stories/requirements assuming my assumption is correct. Wanted to give it a run before writing them to have a better understanding of functionality, but I can definitely put something together for whats here right now |
Stories:
New Requirements:
|
This is sort of right but the issue that you're looking at the output of As discussed offline, this might be better as a
@barrettk you'll have to change the requirements above to match this ^. |
@seth127 Im a bit unclear as to what the regex replacements are supposed to be doing. I get the following: Should the removed tags be strikethrough? EDIT: we have to replace |
New Requirement: TDF-R005:
description: add_tags_diff() can optionally append a new column with html formatting
tests:
- BBR-TDF-005
- BBR-TDF-006 Added to story: MGMT-S013:
name: Tags diff
description: As a user, I want to be able to see the difference in the tags element
of different models. Be able to either compare two models directly, or compare
all models in a `bbi_run_log_df` to their "parent models" (i.e. the models in
that same tibble that match their `based_on`).
ProductRisk: Low
requirements:
- TDF-R001 (previous)
- TDF-R002 (previous)
- TDF-R003 (previous)
- TDF-R004 (previous)
- TDF-R005 (new) |
Makes a nicely formatted column for HTML
log_df
tables that shows the tags added and removedDiscussion Points
format = c("html", "pdf")
or something.knitr::kable()
Proposed Code
The text was updated successfully, but these errors were encountered: