Skip to content

Commit

Permalink
Add test and news for #239
Browse files Browse the repository at this point in the history
  • Loading branch information
Robinlovelace committed Jul 31, 2024
1 parent 360f2b2 commit b6d09a9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# stats19 3.1.0 2024-07

* stats19 now relies on the `stats19_variables` object to format the different tables columns (#245) (credit @layik), fixing an issue in which ages were removed from the `casualties` table, fixing (#235)
* If `year` is less than 2018 the package auto-downloads the full dataset (#239)

# stats19 3.0.3 2024-02

Expand Down
11 changes: 11 additions & 0 deletions data-raw/tests/test-year.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
format: gfm
---

Test date:


```{r}
devtools::load_all()
crashes = get_stats19(year = 2005, type = "accidents")
```

0 comments on commit b6d09a9

Please sign in to comment.