Skip to content

Commit

Permalink
test: update snapshots after knitr 1.49 (#1283)
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebacher authored Nov 13, 2024
1 parent 5c18c24 commit 40ed659
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Suggests:
curl,
ggplot2,
jsonlite,
knitr,
knitr (>= 1.49.0),
lubridate,
nanoarrow (>= 0.6.0),
nycflights13,
Expand Down
6 changes: 3 additions & 3 deletions tests/testthat/_snaps/pkg-knitr.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
white-space: pre-wrap;
}
</style>
<small>shape: (3, 2)</small><table border="1" class="dataframe"><thead><tr><th>a</th><th>b</th></tr><tr><td>i32</td><td>str</td></tr></thead><tbody><tr><td>1</td><td>&quot;a&quot;</td></tr><tr><td>2</td><td>&quot;b&quot;</td></tr><tr><td>3</td><td>&quot;c&quot;</td></tr></tbody></table></div>
<small>shape: (3, 2)</small><table border="1" class="dataframe"><thead><tr><th>a</th><th>b</th></tr><tr><td>i32</td><td>str</td></tr></thead><tbody><tr><td>1</td><td>"a"</td></tr><tr><td>2</td><td>"b"</td></tr><tr><td>3</td><td>"c"</td></tr></tbody></table></div>
```

---
Expand Down Expand Up @@ -53,7 +53,7 @@
white-space: pre-wrap;
}
</style>
<small>shape: (3, 2)</small><table border="1" class="dataframe"><thead><tr><th>a</th><th>b</th></tr><tr><td>i32</td><td>str</td></tr></thead><tbody><tr><td>1</td><td>&quot;a&quot;</td></tr><tr><td>2</td><td>&quot;b&quot;</td></tr><tr><td>3</td><td>&quot;c&quot;</td></tr></tbody></table></div>
<small>shape: (3, 2)</small><table border="1" class="dataframe"><thead><tr><th>a</th><th>b</th></tr><tr><td>i32</td><td>str</td></tr></thead><tbody><tr><td>1</td><td>"a"</td></tr><tr><td>2</td><td>"b"</td></tr><tr><td>3</td><td>"c"</td></tr></tbody></table></div>
```

---
Expand All @@ -74,7 +74,7 @@
white-space: pre-wrap;
}
</style>
<small>shape: (3, 2)</small><table border="1" class="dataframe"><thead><tr><th>a</th><th>b</th></tr><tr><td>i32</td><td>str</td></tr></thead><tbody><tr><td>1</td><td>&quot;a&quot;</td></tr><tr><td>2</td><td>&quot;b&quot;</td></tr><tr><td>3</td><td>&quot;c&quot;</td></tr></tbody></table></div>
<small>shape: (3, 2)</small><table border="1" class="dataframe"><thead><tr><th>a</th><th>b</th></tr><tr><td>i32</td><td>str</td></tr></thead><tbody><tr><td>1</td><td>"a"</td></tr><tr><td>2</td><td>"b"</td></tr><tr><td>3</td><td>"c"</td></tr></tbody></table></div>

---

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-pkg-knitr.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}

test_that("Snapshot test of knitr", {
skip_if_not_installed("knitr")
skip_if_not_installed("knitr", "1.49.0")
skip_if_not_installed("rmarkdown")
skip_if_not_installed("pillar")
skip_if_not_installed("nycflights13")
Expand Down

0 comments on commit 40ed659

Please sign in to comment.