Skip to content

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebacher committed Jul 4, 2024
1 parent 09719b8 commit eda9153
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 56 deletions.
51 changes: 31 additions & 20 deletions tests/testthat/_snaps/docsify/render_docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
[16] "<table>"
[17] "<tr>"
[18] "<td style=\"white-space: nowrap; font-family: monospace; vertical-align: top\">"
[19] "<code id=\"hello_base_:_x\">x</code>"
[19] "<code id=\"x\">x</code>"
[20] "</td>"
[21] "<td>"
[22] "A parameter"
Expand All @@ -165,22 +165,33 @@
[35] ""
[36] "Some value"
[37] ""
[38] "## Examples"
[38] "## References"
[39] ""
[40] "``` r"
[41] "library(testpkg.altdoc)"
[42] ""
[43] "hello_base()"
[44] "```"
[45] ""
[46] " [1] \"Hello, world!\""
[47] ""
[48] "``` r"
[49] "mtcars$drat <- mtcars$drat + 1"
[50] "head(mtcars[[\"drat\"]], 2)"
[51] "```"
[52] ""
[53] " [1] 4.9 4.9"
[40] "Ihaka R, Gentleman R (1996). R: A Language for Data Analysis and"
[41] "Graphics. <em>Journal of Computational and Graphical Statistics</em>."
[42] "<b>5</b>(3), 299–314."
[43] "[doi:10.2307/139080](https://doi.org/10.2307/139080)"
[44] ""
[45] "## See Also"
[46] ""
[47] "<code>print</code>, <code>hello_r6</code>"
[48] ""
[49] "## Examples"
[50] ""
[51] "``` r"
[52] "library(\"testpkg.altdoc\")"
[53] ""
[54] "hello_base()"
[55] "```"
[56] ""
[57] " [1] \"Hello, world!\""
[58] ""
[59] "``` r"
[60] "mtcars$drat <- mtcars$drat + 1"
[61] "head(mtcars[[\"drat\"]], 2)"
[62] "```"
[63] ""
[64] " [1] 4.9 4.9"

---

Expand Down Expand Up @@ -359,7 +370,7 @@
[16] "<table>"
[17] "<tr>"
[18] "<td style=\"white-space: nowrap; font-family: monospace; vertical-align: top\">"
[19] "<code id=\"examplesIf_true_:_x\">x</code>"
[19] "<code id=\"x\">x</code>"
[20] "</td>"
[21] "<td>"
[22] "A parameter"
Expand All @@ -374,7 +385,7 @@
[31] "## Examples"
[32] ""
[33] "``` r"
[34] "library(testpkg.altdoc)"
[34] "library(\"testpkg.altdoc\")"
[35] ""
[36] ""
[37] "examplesIf_true()"
Expand Down Expand Up @@ -405,7 +416,7 @@
[16] "<table>"
[17] "<tr>"
[18] "<td style=\"white-space: nowrap; font-family: monospace; vertical-align: top\">"
[19] "<code id=\"examplesIf_false_:_x\">x</code>"
[19] "<code id=\"x\">x</code>"
[20] "</td>"
[21] "<td>"
[22] "A parameter"
Expand All @@ -420,7 +431,7 @@
[31] "## Examples"
[32] ""
[33] "``` r"
[34] "library(testpkg.altdoc)"
[34] "library(\"testpkg.altdoc\")"
[35] ""
[36] ""
[37] "examplesIf_false()"
Expand Down
51 changes: 31 additions & 20 deletions tests/testthat/_snaps/docute/render_docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
[16] "<table>"
[17] "<tr>"
[18] "<td style=\"white-space: nowrap; font-family: monospace; vertical-align: top\">"
[19] "<code id=\"hello_base_:_x\">x</code>"
[19] "<code id=\"x\">x</code>"
[20] "</td>"
[21] "<td>"
[22] "A parameter"
Expand All @@ -156,22 +156,33 @@
[35] ""
[36] "Some value"
[37] ""
[38] "## Examples"
[38] "## References"
[39] ""
[40] "``` r"
[41] "library(testpkg.altdoc)"
[42] ""
[43] "hello_base()"
[44] "```"
[45] ""
[46] " [1] \"Hello, world!\""
[47] ""
[48] "``` r"
[49] "mtcars$drat <- mtcars$drat + 1"
[50] "head(mtcars[[\"drat\"]], 2)"
[51] "```"
[52] ""
[53] " [1] 4.9 4.9"
[40] "Ihaka R, Gentleman R (1996). R: A Language for Data Analysis and"
[41] "Graphics. <em>Journal of Computational and Graphical Statistics</em>."
[42] "<b>5</b>(3), 299–314."
[43] "[doi:10.2307/139080](https://doi.org/10.2307/139080)"
[44] ""
[45] "## See Also"
[46] ""
[47] "<code>print</code>, <code>hello_r6</code>"
[48] ""
[49] "## Examples"
[50] ""
[51] "``` r"
[52] "library(\"testpkg.altdoc\")"
[53] ""
[54] "hello_base()"
[55] "```"
[56] ""
[57] " [1] \"Hello, world!\""
[58] ""
[59] "``` r"
[60] "mtcars$drat <- mtcars$drat + 1"
[61] "head(mtcars[[\"drat\"]], 2)"
[62] "```"
[63] ""
[64] " [1] 4.9 4.9"

---

Expand Down Expand Up @@ -350,7 +361,7 @@
[16] "<table>"
[17] "<tr>"
[18] "<td style=\"white-space: nowrap; font-family: monospace; vertical-align: top\">"
[19] "<code id=\"examplesIf_true_:_x\">x</code>"
[19] "<code id=\"x\">x</code>"
[20] "</td>"
[21] "<td>"
[22] "A parameter"
Expand All @@ -365,7 +376,7 @@
[31] "## Examples"
[32] ""
[33] "``` r"
[34] "library(testpkg.altdoc)"
[34] "library(\"testpkg.altdoc\")"
[35] ""
[36] ""
[37] "examplesIf_true()"
Expand Down Expand Up @@ -396,7 +407,7 @@
[16] "<table>"
[17] "<tr>"
[18] "<td style=\"white-space: nowrap; font-family: monospace; vertical-align: top\">"
[19] "<code id=\"examplesIf_false_:_x\">x</code>"
[19] "<code id=\"x\">x</code>"
[20] "</td>"
[21] "<td>"
[22] "A parameter"
Expand All @@ -411,7 +422,7 @@
[31] "## Examples"
[32] ""
[33] "``` r"
[34] "library(testpkg.altdoc)"
[34] "library(\"testpkg.altdoc\")"
[35] ""
[36] ""
[37] "examplesIf_false()"
Expand Down
Loading

0 comments on commit eda9153

Please sign in to comment.