diff --git a/DESCRIPTION b/DESCRIPTION index 5e64255ef..b6857a3fd 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: learnr Title: Interactive Tutorials for R -Version: 0.11.1.9000 +Version: 0.11.2 Authors@R: c( person("Garrick", "Aden-Buie", , "garrick@rstudio.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7111-0077")), diff --git a/NEWS.md b/NEWS.md index e6a7818d9..dbcd46382 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,10 @@ -# learnr (development version) +# learnr 0.11.2 -- Bumped **markdown** package version requirement to v1.3 and stopped using deprecated functions and options from its older versions (#745). +- Fixed an issue that prevented htmlwidgets from working in exercise code unless similar widgets were added to the tutorial prose (thanks @munoztd0 #744, #745). + +- learnr now requires **markdown** version 1.3 or later (#745). + +- Fixed a test involving UTF-8 character strings (#749). # learnr 0.11.1 diff --git a/README.md b/README.md index 5a2c13dd0..5d001800c 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ community](https://img.shields.io/badge/community-learnr-blue?style=social&logo= The **learnr** package makes it easy to turn any [R -Markdown](http://rmarkdown.rstudio.com/) document into an interactive +Markdown](https://rmarkdown.rstudio.com/) document into an interactive tutorial. Tutorials consist of content along with interactive components for checking and reinforcing understanding. Tutorials can include any or all of the following: @@ -54,6 +54,5 @@ with the [remotes package](https://remotes.r-lib.org): remotes::install_github("rstudio/learnr") learnr works best with a recent [version of -RStudio](https://www.rstudio.com/products/rstudio/download/) (v1.0.136 -or later) which includes tools for easily running and previewing -tutorials. +RStudio](https://posit.co/download/rstudio-desktop/) (v1.0.136 or later) +which includes tools for easily running and previewing tutorials. diff --git a/cran-comments.md b/cran-comments.md index d8fbdc66f..75cd1c64b 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -2,5 +2,4 @@ 0 errors | 0 warnings | 0 notes -This is a maintenance release to fix two issues -raised by CRAN checks after the 0.11.0 release. +This is a maintenance release to fix a failing test in non-UTF-8 compatible environments. diff --git a/man/rmd-fragments/learnr-install.Rmd b/man/rmd-fragments/learnr-install.Rmd index 518fc2cad..bc7e53059 100644 --- a/man/rmd-fragments/learnr-install.Rmd +++ b/man/rmd-fragments/learnr-install.Rmd @@ -11,4 +11,4 @@ Or you can install the most recent version in-development from GitHub with the [ remotes::install_github("rstudio/learnr") ``` -learnr works best with a recent [version of RStudio](https://www.rstudio.com/products/rstudio/download/) (v1.0.136 or later) which includes tools for easily running and previewing tutorials. +learnr works best with a recent [version of RStudio](https://posit.co/download/rstudio-desktop/) (v1.0.136 or later) which includes tools for easily running and previewing tutorials. diff --git a/man/rmd-fragments/learnr-overview.Rmd b/man/rmd-fragments/learnr-overview.Rmd index b5097724d..42ddf4004 100644 --- a/man/rmd-fragments/learnr-overview.Rmd +++ b/man/rmd-fragments/learnr-overview.Rmd @@ -1,4 +1,4 @@ -The **learnr** package makes it easy to turn any [R Markdown](http://rmarkdown.rstudio.com/) document into an interactive tutorial. Tutorials consist of content along with interactive components for checking and reinforcing understanding. Tutorials can include any or all of the following: +The **learnr** package makes it easy to turn any [R Markdown](https://rmarkdown.rstudio.com/) document into an interactive tutorial. Tutorials consist of content along with interactive components for checking and reinforcing understanding. Tutorials can include any or all of the following: 1. Narrative, figures, illustrations, and equations. diff --git a/pkgdown/index.md b/pkgdown/index.md index 6ddb24d5e..8f6231c83 100644 --- a/pkgdown/index.md +++ b/pkgdown/index.md @@ -18,7 +18,7 @@ community](https://img.shields.io/badge/community-learnr-blue?style=social&logo= The **learnr** package makes it easy to turn any [R -Markdown](http://rmarkdown.rstudio.com/) document into an interactive +Markdown](https://rmarkdown.rstudio.com/) document into an interactive tutorial. Tutorials consist of content along with interactive components for checking and reinforcing understanding. Tutorials can include any or all of the following: @@ -103,9 +103,8 @@ with the [remotes package](https://remotes.r-lib.org): remotes::install_github("rstudio/learnr") learnr works best with a recent [version of -RStudio](https://www.rstudio.com/products/rstudio/download/) (v1.0.136 -or later) which includes tools for easily running and previewing -tutorials. +RStudio](https://posit.co/download/rstudio-desktop/) (v1.0.136 or later) +which includes tools for easily running and previewing tutorials. ## Hello, Tutorial! diff --git a/vignettes/shinyapps-publishing.Rmd b/vignettes/shinyapps-publishing.Rmd index c41d56679..a6a4567cb 100644 --- a/vignettes/shinyapps-publishing.Rmd +++ b/vignettes/shinyapps-publishing.Rmd @@ -33,7 +33,7 @@ This will not be covered extensively here, as our main concern is optimizing tut Note that there are other options for hosting tutorials besides `shinyapps.io`, such as: - [creating a tutorial package](https://rstudio.github.io/learnr/publishing.html#r_package) that students run locally (free, but requires students to be able to download and install packages, as well as run commands in R), or -- setting up your own [free academic Shiny Server Pro account](https://www.rstudio.com/pricing/academic-pricing/) (free, provided you have a server at your institution that will host the software, which may require IT help). +- setting up your own [free academic Shiny Server Pro account](https://posit.co/pricing/academic/) (free, provided you have a server at your institution that will host the software, which may require IT help). Both of these require some configuration and setup, and may be beyond what either you or your students wish to undertake at the time (i.e. if you are running a short-term course). This leads to a third option that costs money, but may save you valuable time on system administration: deploying your learnr tutorial on `shinyapps.io`.