diff --git a/DESCRIPTION b/DESCRIPTION index 37d39f7d4c..0ebe5e25ae 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -46,4 +46,4 @@ Remotes: Config/Needs/website: tidyverse/tidytemplate Encoding: UTF-8 Roxygen: list(markdown = TRUE) -RoxygenNote: 7.3.2 +RoxygenNote: 7.3.3 diff --git a/R/data-apps-deps.R b/R/data-apps-deps.R index b88d6d00bf..520a7cbbf1 100644 --- a/R/data-apps-deps.R +++ b/R/data-apps-deps.R @@ -21,7 +21,7 @@ apps_deps_map <- list( `017-select-vs-selectize` = c("shiny", "shinytest2"), `018-datatable-options` = c("DT", "shiny", "shinytest2"), `019-mathjax` = c("jsonlite", "shiny", "shinytest2", "testthat"), - `020-knit-html` = c("evaluate", "knitr", "rmarkdown", "shiny", "shinytest2"), + `020-knit-html` = c("evaluate", "jsonlite", "knitr", "rmarkdown", "shiny", "shinytest2", "testthat"), `021-selectize-plot` = c("DT", "maps", "shiny", "shinytest2"), `022-unicode-chinese` = c("curl", "shiny", "shinyjster", "shinytest2", "showtext", "sysfonts"), `023-optgroup-server` = c("shiny", "shinytest2"), diff --git a/inst/apps/020-knit-html/tests/testthat/_snaps/linux-4.1/mytest/001.json b/inst/apps/020-knit-html/tests/testthat/_snaps/linux-4.1/mytest/001.json deleted file mode 100644 index 6539063c3d..0000000000 --- a/inst/apps/020-knit-html/tests/testthat/_snaps/linux-4.1/mytest/001.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "input": { - "x": "cyl" - }, - "output": { - "report": { - "html": "
Here is my regression model:<\/p>\n
options(digits = 4)\nfit <- lm(regFormula(), data = mtcars)\nb <- coef(fit)\nsummary(fit)\n## \n## Call:\n## lm(formula = regFormula(), data = mtcars)\n## \n## Residuals:\n## Min 1Q Median 3Q Max \n## -4.981 -2.119 0.222 1.072 7.519 \n## \n## Coefficients:\n## Estimate Std. Error t value Pr(>|t|) \n## (Intercept) 37.885 2.074 18.27 < 2e-16 ***\n## cyl -2.876 0.322 -8.92 6.1e-10 ***\n## ---\n## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1\n## \n## Residual standard error: 3.21 on 30 degrees of freedom\n## Multiple R-squared: 0.726,\tAdjusted R-squared: 0.717 \n## F-statistic: 79.6 on 1 and 30 DF, p-value: 6.11e-10\n<\/code><\/pre>\nThe fitting result is \\(mpg = 37.8846 + -2.8758cyl\\).\nBelow is a scatter plot with the regression line.<\/p>\n
par(mar = c(4, 4, 1, 1))\nplot(regFormula(), data = mtcars, pch = 19, col = 'gray')\nabline(fit, col = 'red', lwd = 2)\n<\/code><\/pre>\n
<\/p>\n\n