Insert Markdown text to link to a learnr tutorial.
learnr(
id,
title = NULL,
package,
toc = "",
text = "Now let's make the exercises in the following tutorial:",
toc.def = "Tutorial {id}",
rstudio.url = "start_rstudio.html",
connect.url = NULL,
tuto.img = "images/list-tuto.png",
tuto.link = "tutorial",
icourse = "",
institution = "",
acad_year = "",
term = "",
set = ""
)Identifier of the learnr tutorial (as tutorial:id in the YAML
section).
The title of the tutorial (title in the YAML section). If
NULL, the id is used instead.
Package where the learnr tutorial is defined.
Entry to use in the exercises table of content (NULL if no
entry, "" for a default entry based on toc.def =).
The text to display in the learnr block.
Text for a default toc entry using glue() syntax for
replacement, e.g., {id}.
The URL to open a page in RStudio server in the SciViews box.
The URL to open a page in Posit Connect. If provided, it
is used instead of rstudio.url.
The image to display in front of the toc entry
The link when the image is clicked (sends to an help page about learnr tutorials).
The course identifier, e.g., "MATH101".
The institution name, e.g., "My University".
The academic year, e.g., "2023-2024".
The term, e.g., "Q1".
The set identifier, e.g., "21M" where 21 is the year and M is a
set identifier.
The Markdown chunk to insert a learnr tutorial block in the document.