Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 4 additions & 31 deletions tests/testthat/_snaps/update-news.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,19 @@
[1] "tea"

$version
[1] '0.0.1'
[1] '0.0.0.9000'

$date
[1] "2023-01-23"
[1] "2021-09-27"

$preamble
[1] "<!-- NEWS.md is maintained by https://fledge.cynkra.com, contributors should not edit this file -->"

$news
# A tibble: 1 x 9
start end h2
<int> <int> <lgl>
1 3 6 FALSE
raw
<chr>
1 "# tea 0.0.1 (2023-01-23)\n\n- Added a `NEWS.md` file to track changes to the~
section_state title version date nickname
<chr> <chr> <chr> <chr> <chr>
1 keep tea 0.0.1 (2023-01-23) 0.0.1 (2023-01-23) <NA>
NULL

$preamble_in_file
[1] TRUE
[1] FALSE

attr(,"class")
[1] "fledgling"
Expand Down Expand Up @@ -56,21 +47,3 @@
}
]

# regroup_news() works

Code
regroup_news(combined)
Output
$`Custom type`
[1] "cool right"

$Features
[1] "- feat1" "" "- feat2"

$Documentation
[1] "- stuff" "" "- other" "" "- again"

$Uncategorized
[1] "- blop" "" "- etc" "" "- pof" "" "- ok"