diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..5b6a0652566d10360493952aec6d4a4febc77083 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.Rproj.user +.Rhistory +.RData +.Ruserdata diff --git a/tutorial_page.Rmd b/tutorial_page.Rmd new file mode 100644 index 0000000000000000000000000000000000000000..922a1f3ab9fdbb1b4a3dc1195be4a23213fa37a3 --- /dev/null +++ b/tutorial_page.Rmd @@ -0,0 +1,75 @@ +--- +title: "Tutorial" +output: learnr::tutorial +runtime: shiny_prerendered +--- + +```{r setup, include=FALSE} +library(learnr) +knitr::opts_chunk$set(echo = FALSE) +``` + + +## Topic 1 + +### Exercise + +*Here's a simple exercise with an empty code chunk provided for entering the answer.* + +Write the R code required to add two plus two: + +```{r two-plus-two, exercise=TRUE} + +``` + +### Exercise with Code + +*Here's an exercise with some prepopulated code as well as `exercise.lines = 5` to provide a bit more initial room to work.* + +Now write a function that adds any two numbers and then call it: + +```{r add-function, exercise=TRUE, exercise.lines = 5} +add <- function() { + +} +``` + +## Topic 2 + +### Exercise with Hint + +*Here's an exercise where the chunk is pre-evaluated via the `exercise.eval` option (so the user can see the default output we'd like them to customize). We also add a "hint" to the correct solution via the chunk immediate below labeled `print-limit-hint`.* + +Modify the following code to limit the number of rows printed to 5: + +```{r print-limit, exercise=TRUE, exercise.eval=TRUE} +mtcars +``` + +```{r print-limit-hint} +head(mtcars) +``` + +### Quiz + +*You can include any number of single or multiple choice questions as a quiz. Use the `question` function to define a question and the `quiz` function for grouping multiple questions together.* + +Some questions to verify that you understand the purposes of various base and recommended R packages: + +```{r quiz} +quiz( + question("Which package contains functions for installing other R packages?", + answer("base"), + answer("tools"), + answer("utils", correct = TRUE), + answer("codetools") + ), + question("Which of the R packages listed below are used to create plots?", + answer("lattice", correct = TRUE), + answer("tools"), + answer("stats"), + answer("grid", correct = TRUE) + ) +) +``` + diff --git a/tutorial_page.html b/tutorial_page.html new file mode 100644 index 0000000000000000000000000000000000000000..b9b19357ff29e883fed5d1d39f0aaffefc233b12 --- /dev/null +++ b/tutorial_page.html @@ -0,0 +1,462 @@ +<!DOCTYPE html> + +<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> + +<head> + +<meta charset="utf-8"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<meta name="generator" content="pandoc" /> + + + +<meta name="progressive" content="false" /> +<meta name="allow-skip" content="false" /> +<meta name="learnr-version-prerender" content="0.11.5" /> + +<title>Tutorial</title> + +<!-- header-includes START --> +<!-- HEAD_CONTENT --> +<!-- header-includes END --> +<!-- HEAD_CONTENT --> + +<!-- highlightjs --> +<style type="text/css">code{white-space: pre;}</style> +<style type="text/css"> + pre:not([class]) { + background-color: white; + } +</style> +<script type="text/javascript"> +if (window.hljs) { + hljs.configure({languages: []}); + hljs.initHighlightingOnLoad(); + if (document.readyState && document.readyState === "complete") { + window.setTimeout(function() { hljs.initHighlighting(); }, 0); + } +} +</script> + + +<!-- taken from https://github.com/rstudio/rmarkdown/blob/de8a9c38618903627ca509f5401d50a0876079f7/inst/rmd/h/default.html#L293-L343 --> +<!-- tabsets --> +<style type="text/css"> +.tabset-dropdown > .nav-tabs { + display: inline-table; + max-height: 500px; + min-height: 44px; + overflow-y: auto; + border: 1px solid #ddd; + border-radius: 4px; +} + +.tabset-dropdown > .nav-tabs > li.active:before { + content: ""; + font-family: 'Glyphicons Halflings'; + display: inline-block; + padding: 10px; + border-right: 1px solid #ddd; +} + +.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before { + content: ""; + border: none; +} + +.tabset-dropdown > .nav-tabs.nav-tabs-open:before { + content: ""; + font-family: 'Glyphicons Halflings'; + display: inline-block; + padding: 10px; + border-right: 1px solid #ddd; +} + +.tabset-dropdown > .nav-tabs > li.active { + display: block; +} + +.tabset-dropdown > .nav-tabs > li > a, +.tabset-dropdown > .nav-tabs > li > a:focus, +.tabset-dropdown > .nav-tabs > li > a:hover { + border: none; + display: inline-block; + border-radius: 4px; + background-color: transparent; +} + +.tabset-dropdown > .nav-tabs.nav-tabs-open > li { + display: block; + float: none; +} + +.tabset-dropdown > .nav-tabs > li { + display: none; +} +</style> +<!-- end tabsets --> + + +</head> + +<body> +<a class='sr-only sr-only-focusable visually-hidden-focusable' href='#learnr-tutorial-content'>Skip to Tutorial Content</a> + + + +<div class="pageContent band"> +<main class="bandContent page"> + +<article class="topics" id="learnr-tutorial-content"> + +<div id="section-topic-1" class="section level2"> +<h2>Topic 1</h2> +<div id="section-exercise" class="section level3"> +<h3>Exercise</h3> +<p><em>Here’s a simple exercise with an empty code chunk provided for +entering the answer.</em></p> +<p>Write the R code required to add two plus two:</p> +<div class="tutorial-exercise" data-label="two-plus-two" +data-completion="1" data-diagnostics="1" data-startover="1" +data-lines="0" data-pipe="|>"> +<script type="application/json" data-ui-opts="1">{"engine":"r","has_checker":false,"caption":"<span data-i18n=\"text.enginecap\" data-i18n-opts=\"{"engine":"R"}\">R Code<\/span>"}</script> +</div> +</div> +<div id="section-exercise-with-code" class="section level3"> +<h3>Exercise with Code</h3> +<p><em>Here’s an exercise with some prepopulated code as well as +<code>exercise.lines = 5</code> to provide a bit more initial room to +work.</em></p> +<p>Now write a function that adds any two numbers and then call it:</p> +<div class="tutorial-exercise" data-label="add-function" +data-completion="1" data-diagnostics="1" data-startover="1" +data-lines="5" data-pipe="|>"> +<pre class="text"><code>add <- function() { + +}</code></pre> +<script type="application/json" data-ui-opts="1">{"engine":"r","has_checker":false,"caption":"<span data-i18n=\"text.enginecap\" data-i18n-opts=\"{"engine":"R"}\">R Code<\/span>"}</script> +</div> +</div> +</div> +<div id="section-topic-2" class="section level2"> +<h2>Topic 2</h2> +<div id="section-exercise-with-hint" class="section level3"> +<h3>Exercise with Hint</h3> +<p><em>Here’s an exercise where the chunk is pre-evaluated via the +<code>exercise.eval</code> option (so the user can see the default +output we’d like them to customize). We also add a “hint†to the correct +solution via the chunk immediate below labeled +<code>print-limit-hint</code>.</em></p> +<p>Modify the following code to limit the number of rows printed to +5:</p> +<div class="tutorial-exercise" data-label="print-limit" +data-completion="1" data-diagnostics="1" data-startover="1" +data-lines="0" data-pipe="|>"> +<pre class="text"><code>mtcars</code></pre> +<div data-pagedtable="false"> +<script data-pagedtable-source type="application/json"> +{"columns":[{"label":[""],"name":["_rn_"],"type":[""],"align":["left"]},{"label":["mpg"],"name":[1],"type":["dbl"],"align":["right"]},{"label":["cyl"],"name":[2],"type":["dbl"],"align":["right"]},{"label":["disp"],"name":[3],"type":["dbl"],"align":["right"]},{"label":["hp"],"name":[4],"type":["dbl"],"align":["right"]},{"label":["drat"],"name":[5],"type":["dbl"],"align":["right"]},{"label":["wt"],"name":[6],"type":["dbl"],"align":["right"]},{"label":["qsec"],"name":[7],"type":["dbl"],"align":["right"]},{"label":["vs"],"name":[8],"type":["dbl"],"align":["right"]},{"label":["am"],"name":[9],"type":["dbl"],"align":["right"]},{"label":["gear"],"name":[10],"type":["dbl"],"align":["right"]},{"label":["carb"],"name":[11],"type":["dbl"],"align":["right"]}],"data":[{"1":"21.0","2":"6","3":"160.0","4":"110","5":"3.90","6":"2.620","7":"16.46","8":"0","9":"1","10":"4","11":"4","_rn_":"Mazda RX4"},{"1":"21.0","2":"6","3":"160.0","4":"110","5":"3.90","6":"2.875","7":"17.02","8":"0","9":"1","10":"4","11":"4","_rn_":"Mazda RX4 Wag"},{"1":"22.8","2":"4","3":"108.0","4":"93","5":"3.85","6":"2.320","7":"18.61","8":"1","9":"1","10":"4","11":"1","_rn_":"Datsun 710"},{"1":"21.4","2":"6","3":"258.0","4":"110","5":"3.08","6":"3.215","7":"19.44","8":"1","9":"0","10":"3","11":"1","_rn_":"Hornet 4 Drive"},{"1":"18.7","2":"8","3":"360.0","4":"175","5":"3.15","6":"3.440","7":"17.02","8":"0","9":"0","10":"3","11":"2","_rn_":"Hornet Sportabout"},{"1":"18.1","2":"6","3":"225.0","4":"105","5":"2.76","6":"3.460","7":"20.22","8":"1","9":"0","10":"3","11":"1","_rn_":"Valiant"},{"1":"14.3","2":"8","3":"360.0","4":"245","5":"3.21","6":"3.570","7":"15.84","8":"0","9":"0","10":"3","11":"4","_rn_":"Duster 360"},{"1":"24.4","2":"4","3":"146.7","4":"62","5":"3.69","6":"3.190","7":"20.00","8":"1","9":"0","10":"4","11":"2","_rn_":"Merc 240D"},{"1":"22.8","2":"4","3":"140.8","4":"95","5":"3.92","6":"3.150","7":"22.90","8":"1","9":"0","10":"4","11":"2","_rn_":"Merc 230"},{"1":"19.2","2":"6","3":"167.6","4":"123","5":"3.92","6":"3.440","7":"18.30","8":"1","9":"0","10":"4","11":"4","_rn_":"Merc 280"},{"1":"17.8","2":"6","3":"167.6","4":"123","5":"3.92","6":"3.440","7":"18.90","8":"1","9":"0","10":"4","11":"4","_rn_":"Merc 280C"},{"1":"16.4","2":"8","3":"275.8","4":"180","5":"3.07","6":"4.070","7":"17.40","8":"0","9":"0","10":"3","11":"3","_rn_":"Merc 450SE"},{"1":"17.3","2":"8","3":"275.8","4":"180","5":"3.07","6":"3.730","7":"17.60","8":"0","9":"0","10":"3","11":"3","_rn_":"Merc 450SL"},{"1":"15.2","2":"8","3":"275.8","4":"180","5":"3.07","6":"3.780","7":"18.00","8":"0","9":"0","10":"3","11":"3","_rn_":"Merc 450SLC"},{"1":"10.4","2":"8","3":"472.0","4":"205","5":"2.93","6":"5.250","7":"17.98","8":"0","9":"0","10":"3","11":"4","_rn_":"Cadillac Fleetwood"},{"1":"10.4","2":"8","3":"460.0","4":"215","5":"3.00","6":"5.424","7":"17.82","8":"0","9":"0","10":"3","11":"4","_rn_":"Lincoln Continental"},{"1":"14.7","2":"8","3":"440.0","4":"230","5":"3.23","6":"5.345","7":"17.42","8":"0","9":"0","10":"3","11":"4","_rn_":"Chrysler Imperial"},{"1":"32.4","2":"4","3":"78.7","4":"66","5":"4.08","6":"2.200","7":"19.47","8":"1","9":"1","10":"4","11":"1","_rn_":"Fiat 128"},{"1":"30.4","2":"4","3":"75.7","4":"52","5":"4.93","6":"1.615","7":"18.52","8":"1","9":"1","10":"4","11":"2","_rn_":"Honda Civic"},{"1":"33.9","2":"4","3":"71.1","4":"65","5":"4.22","6":"1.835","7":"19.90","8":"1","9":"1","10":"4","11":"1","_rn_":"Toyota Corolla"},{"1":"21.5","2":"4","3":"120.1","4":"97","5":"3.70","6":"2.465","7":"20.01","8":"1","9":"0","10":"3","11":"1","_rn_":"Toyota Corona"},{"1":"15.5","2":"8","3":"318.0","4":"150","5":"2.76","6":"3.520","7":"16.87","8":"0","9":"0","10":"3","11":"2","_rn_":"Dodge Challenger"},{"1":"15.2","2":"8","3":"304.0","4":"150","5":"3.15","6":"3.435","7":"17.30","8":"0","9":"0","10":"3","11":"2","_rn_":"AMC Javelin"},{"1":"13.3","2":"8","3":"350.0","4":"245","5":"3.73","6":"3.840","7":"15.41","8":"0","9":"0","10":"3","11":"4","_rn_":"Camaro Z28"},{"1":"19.2","2":"8","3":"400.0","4":"175","5":"3.08","6":"3.845","7":"17.05","8":"0","9":"0","10":"3","11":"2","_rn_":"Pontiac Firebird"},{"1":"27.3","2":"4","3":"79.0","4":"66","5":"4.08","6":"1.935","7":"18.90","8":"1","9":"1","10":"4","11":"1","_rn_":"Fiat X1-9"},{"1":"26.0","2":"4","3":"120.3","4":"91","5":"4.43","6":"2.140","7":"16.70","8":"0","9":"1","10":"5","11":"2","_rn_":"Porsche 914-2"},{"1":"30.4","2":"4","3":"95.1","4":"113","5":"3.77","6":"1.513","7":"16.90","8":"1","9":"1","10":"5","11":"2","_rn_":"Lotus Europa"},{"1":"15.8","2":"8","3":"351.0","4":"264","5":"4.22","6":"3.170","7":"14.50","8":"0","9":"1","10":"5","11":"4","_rn_":"Ford Pantera L"},{"1":"19.7","2":"6","3":"145.0","4":"175","5":"3.62","6":"2.770","7":"15.50","8":"0","9":"1","10":"5","11":"6","_rn_":"Ferrari Dino"},{"1":"15.0","2":"8","3":"301.0","4":"335","5":"3.54","6":"3.570","7":"14.60","8":"0","9":"1","10":"5","11":"8","_rn_":"Maserati Bora"},{"1":"21.4","2":"4","3":"121.0","4":"109","5":"4.11","6":"2.780","7":"18.60","8":"1","9":"1","10":"4","11":"2","_rn_":"Volvo 142E"}],"options":{"columns":{"min":{},"max":[10]},"rows":{"min":[10],"max":[10]},"pages":{}}} + </script> +</div> +<script type="application/json" data-ui-opts="1">{"engine":"r","has_checker":false,"caption":"<span data-i18n=\"text.enginecap\" data-i18n-opts=\"{"engine":"R"}\">R Code<\/span>"}</script> +</div> +<div class="tutorial-exercise-support" data-label="print-limit-hint" +data-completion="1" data-diagnostics="1" data-startover="1" +data-lines="0" data-pipe="|>"> +<pre class="text"><code>head(mtcars)</code></pre> +</div> +</div> +<div id="section-quiz" class="section level3"> +<h3>Quiz</h3> +<p><em>You can include any number of single or multiple choice questions +as a quiz. Use the <code>question</code> function to define a question +and the <code>quiz</code> function for grouping multiple questions +together.</em></p> +<p>Some questions to verify that you understand the purposes of various +base and recommended R packages:</p> +<div class="panel-heading tutorial-quiz-title"><span data-i18n="text.quiz">Quiz</span></div> +<div class="panel panel-default tutorial-question-container"> +<div data-label="quiz-1" class="tutorial-question panel-body"> +<div id="quiz-1-answer_container" class="shiny-html-output"></div> +<div id="quiz-1-message_container" class="shiny-html-output"></div> +<div id="quiz-1-action_button_container" class="shiny-html-output"></div> +<script>if (Tutorial.triggerMathJax) Tutorial.triggerMathJax()</script> +</div> +</div> +<div class="panel panel-default tutorial-question-container"> +<div data-label="quiz-2" class="tutorial-question panel-body"> +<div id="quiz-2-answer_container" class="shiny-html-output"></div> +<div id="quiz-2-message_container" class="shiny-html-output"></div> +<div id="quiz-2-action_button_container" class="shiny-html-output"></div> +<script>if (Tutorial.triggerMathJax) Tutorial.triggerMathJax()</script> +</div> +</div> +<p> +<script type="application/shiny-prerendered" data-context="server-start"> +library(learnr) +knitr::opts_chunk$set(echo = FALSE) +</script> + +<script type="application/shiny-prerendered" data-context="server"> +learnr:::register_http_handlers(session, metadata = NULL) +</script> + + +<script type="application/shiny-prerendered" data-context="server"> +learnr:::prepare_tutorial_state(session) +</script> + +<script type="application/shiny-prerendered" data-context="server"> +learnr:::i18n_observe_tutorial_language(input, session) +</script> + + +<script type="application/shiny-prerendered" data-context="server"> +session$onSessionEnded(function() { + learnr:::event_trigger(session, "session_stop") + }) +</script> + +<script type="application/shiny-prerendered" data-context="server"> +`tutorial-exercise-two-plus-two-result` <- learnr:::setup_exercise_handler(reactive(req(input$`tutorial-exercise-two-plus-two-code-editor`)), session) +output$`tutorial-exercise-two-plus-two-output` <- renderUI({ + `tutorial-exercise-two-plus-two-result`() +}) +</script> + + +<script type="application/shiny-prerendered" data-context="server"> +learnr:::store_exercise_cache(structure(list(label = "two-plus-two", global_setup = structure(c("library(learnr)", +"knitr::opts_chunk$set(echo = FALSE)"), chunk_opts = list(label = "setup", + include = FALSE)), setup = NULL, chunks = list(list(label = "two-plus-two", + code = "", opts = list(label = "\"two-plus-two\"", exercise = "TRUE"), + engine = "r")), code_check = NULL, error_check = NULL, check = NULL, + solution = NULL, tests = NULL, options = list(eval = FALSE, + echo = TRUE, results = "markup", tidy = FALSE, tidy.opts = NULL, + collapse = FALSE, prompt = FALSE, comment = NA, highlight = FALSE, + size = "normalsize", background = "#F7F7F7", strip.white = TRUE, + cache = 0, cache.path = "tutorial_page_cache/html/", + cache.vars = NULL, cache.lazy = TRUE, dependson = NULL, + autodep = FALSE, cache.rebuild = FALSE, fig.keep = "high", + fig.show = "asis", fig.align = "default", fig.path = "tutorial_page_files/figure-html/", + dev = "png", dev.args = NULL, dpi = 192, fig.ext = "png", + fig.width = 6.5, fig.height = 4, fig.env = "figure", + fig.cap = NULL, fig.scap = NULL, fig.lp = "fig:", fig.subcap = NULL, + fig.pos = "", out.width = 624, out.height = NULL, out.extra = NULL, + fig.retina = 2, external = TRUE, sanitize = FALSE, interval = 1, + aniopts = "controls,loop", warning = TRUE, error = FALSE, + message = TRUE, render = NULL, ref.label = NULL, child = NULL, + engine = "r", split = FALSE, include = TRUE, purl = TRUE, + max.print = 1000, label = "two-plus-two", exercise = TRUE, + code = "", out.width.px = 624, out.height.px = 384, params.src = "two-plus-two, exercise=TRUE", + fig.num = 0L, exercise.df_print = "paged", exercise.checker = "NULL"), + engine = "r", version = "4"), class = c("r", "tutorial_exercise" +))) +</script> + +<script type="application/shiny-prerendered" data-context="server"> +`tutorial-exercise-add-function-result` <- learnr:::setup_exercise_handler(reactive(req(input$`tutorial-exercise-add-function-code-editor`)), session) +output$`tutorial-exercise-add-function-output` <- renderUI({ + `tutorial-exercise-add-function-result`() +}) +</script> + + +<script type="application/shiny-prerendered" data-context="server"> +learnr:::store_exercise_cache(structure(list(label = "add-function", global_setup = structure(c("library(learnr)", +"knitr::opts_chunk$set(echo = FALSE)"), chunk_opts = list(label = "setup", + include = FALSE)), setup = NULL, chunks = list(list(label = "add-function", + code = "add <- function() {\n \n}", opts = list(label = "\"add-function\"", + exercise = "TRUE", exercise.lines = "5"), engine = "r")), + code_check = NULL, error_check = NULL, check = NULL, solution = NULL, + tests = NULL, options = list(eval = FALSE, echo = TRUE, results = "markup", + tidy = FALSE, tidy.opts = NULL, collapse = FALSE, prompt = FALSE, + comment = NA, highlight = FALSE, size = "normalsize", + background = "#F7F7F7", strip.white = TRUE, cache = 0, + cache.path = "tutorial_page_cache/html/", cache.vars = NULL, + cache.lazy = TRUE, dependson = NULL, autodep = FALSE, + cache.rebuild = FALSE, fig.keep = "high", fig.show = "asis", + fig.align = "default", fig.path = "tutorial_page_files/figure-html/", + dev = "png", dev.args = NULL, dpi = 192, fig.ext = "png", + fig.width = 6.5, fig.height = 4, fig.env = "figure", + fig.cap = NULL, fig.scap = NULL, fig.lp = "fig:", fig.subcap = NULL, + fig.pos = "", out.width = 624, out.height = NULL, out.extra = NULL, + fig.retina = 2, external = TRUE, sanitize = FALSE, interval = 1, + aniopts = "controls,loop", warning = TRUE, error = FALSE, + message = TRUE, render = NULL, ref.label = NULL, child = NULL, + engine = "r", split = FALSE, include = TRUE, purl = TRUE, + max.print = 1000, label = "add-function", exercise = TRUE, + exercise.lines = 5, code = c("add <- function() {", " ", + "}"), out.width.px = 624, out.height.px = 384, params.src = "add-function, exercise=TRUE, exercise.lines = 5", + fig.num = 0, exercise.df_print = "paged", exercise.checker = "NULL"), + engine = "r", version = "4"), class = c("r", "tutorial_exercise" +))) +</script> + +<script type="application/shiny-prerendered" data-context="server"> +`tutorial-exercise-print-limit-result` <- learnr:::setup_exercise_handler(reactive(req(input$`tutorial-exercise-print-limit-code-editor`)), session) +output$`tutorial-exercise-print-limit-output` <- renderUI({ + `tutorial-exercise-print-limit-result`() +}) +</script> + + +<script type="application/shiny-prerendered" data-context="server"> +learnr:::store_exercise_cache(structure(list(label = "print-limit", global_setup = structure(c("library(learnr)", +"knitr::opts_chunk$set(echo = FALSE)"), chunk_opts = list(label = "setup", + include = FALSE)), setup = NULL, chunks = list(list(label = "print-limit", + code = "mtcars", opts = list(label = "\"print-limit\"", exercise = "TRUE", + exercise.eval = "TRUE"), engine = "r")), code_check = NULL, + error_check = NULL, check = NULL, solution = NULL, tests = NULL, + options = list(eval = TRUE, echo = TRUE, results = "markup", + tidy = FALSE, tidy.opts = NULL, collapse = FALSE, prompt = FALSE, + comment = NA, highlight = FALSE, size = "normalsize", + background = "#F7F7F7", strip.white = TRUE, cache = 0, + cache.path = "tutorial_page_cache/html/", cache.vars = NULL, + cache.lazy = TRUE, dependson = NULL, autodep = FALSE, + cache.rebuild = FALSE, fig.keep = "high", fig.show = "asis", + fig.align = "default", fig.path = "tutorial_page_files/figure-html/", + dev = "png", dev.args = NULL, dpi = 192, fig.ext = "png", + fig.width = 6.5, fig.height = 4, fig.env = "figure", + fig.cap = NULL, fig.scap = NULL, fig.lp = "fig:", fig.subcap = NULL, + fig.pos = "", out.width = 624, out.height = NULL, out.extra = NULL, + fig.retina = 2, external = TRUE, sanitize = FALSE, interval = 1, + aniopts = "controls,loop", warning = TRUE, error = FALSE, + message = TRUE, render = NULL, ref.label = NULL, child = NULL, + engine = "r", split = FALSE, include = TRUE, purl = TRUE, + max.print = 1000, label = "print-limit", exercise = TRUE, + exercise.eval = TRUE, code = "mtcars", out.width.px = 624, + out.height.px = 384, params.src = "print-limit, exercise=TRUE, exercise.eval=TRUE", + fig.alt = NULL, fig.num = 0, exercise.df_print = "paged", + exercise.checker = "NULL"), engine = "r", version = "4"), class = c("r", +"tutorial_exercise"))) +</script> + +<script type="application/shiny-prerendered" data-context="server"> +learnr:::question_prerendered_chunk(structure(list(type = "learnr_radio", label = "quiz-1", question = structure("Which package contains functions for installing other R packages?", html = TRUE, class = c("html", +"character")), answers = list(structure(list(id = "lnr_ans_4fdf23c", + option = "base", value = "base", label = structure("base", html = TRUE, class = c("html", + "character")), correct = FALSE, message = NULL, type = "literal"), class = c("tutorial_question_answer", +"tutorial_quiz_answer")), structure(list(id = "lnr_ans_2e0655d", + option = "tools", value = "tools", label = structure("tools", html = TRUE, class = c("html", + "character")), correct = FALSE, message = NULL, type = "literal"), class = c("tutorial_question_answer", +"tutorial_quiz_answer")), structure(list(id = "lnr_ans_488bd11", + option = "utils", value = "utils", label = structure("utils", html = TRUE, class = c("html", + "character")), correct = TRUE, message = NULL, type = "literal"), class = c("tutorial_question_answer", +"tutorial_quiz_answer")), structure(list(id = "lnr_ans_66ce8da", + option = "codetools", value = "codetools", label = structure("codetools", html = TRUE, class = c("html", + "character")), correct = FALSE, message = NULL, type = "literal"), class = c("tutorial_question_answer", +"tutorial_quiz_answer"))), button_labels = list(submit = structure("<span data-i18n=\"button.questionsubmit\">Submit Answer<\u002fspan>", html = TRUE, class = c("html", +"character")), try_again = structure("<span data-i18n=\"button.questiontryagain\">Try Again<\u002fspan>", html = TRUE, class = c("html", +"character"))), messages = list(correct = structure("Correct!", html = TRUE, class = c("html", +"character")), try_again = structure("Incorrect", html = TRUE, class = c("html", +"character")), incorrect = structure("Incorrect", html = TRUE, class = c("html", +"character")), message = NULL, post_message = NULL), ids = list( + answer = "quiz-1-answer", question = "quiz-1"), loading = NULL, + random_answer_order = FALSE, allow_retry = FALSE, seed = 1925648562.1033, + options = list()), class = c("learnr_radio", "tutorial_question" +)), session = session) +</script> + + +<script type="application/shiny-prerendered" data-context="server"> +learnr:::question_prerendered_chunk(structure(list(type = "learnr_checkbox", label = "quiz-2", question = structure("Which of the R packages listed below are used to create plots?", html = TRUE, class = c("html", +"character")), answers = list(structure(list(id = "lnr_ans_8af68bc", + option = "lattice", value = "lattice", label = structure("lattice", html = TRUE, class = c("html", + "character")), correct = TRUE, message = NULL, type = "literal"), class = c("tutorial_question_answer", +"tutorial_quiz_answer")), structure(list(id = "lnr_ans_9708a27", + option = "tools", value = "tools", label = structure("tools", html = TRUE, class = c("html", + "character")), correct = FALSE, message = NULL, type = "literal"), class = c("tutorial_question_answer", +"tutorial_quiz_answer")), structure(list(id = "lnr_ans_eb75489", + option = "stats", value = "stats", label = structure("stats", html = TRUE, class = c("html", + "character")), correct = FALSE, message = NULL, type = "literal"), class = c("tutorial_question_answer", +"tutorial_quiz_answer")), structure(list(id = "lnr_ans_222623d", + option = "grid", value = "grid", label = structure("grid", html = TRUE, class = c("html", + "character")), correct = TRUE, message = NULL, type = "literal"), class = c("tutorial_question_answer", +"tutorial_quiz_answer"))), button_labels = list(submit = structure("<span data-i18n=\"button.questionsubmit\">Submit Answer<\u002fspan>", html = TRUE, class = c("html", +"character")), try_again = structure("<span data-i18n=\"button.questiontryagain\">Try Again<\u002fspan>", html = TRUE, class = c("html", +"character"))), messages = list(correct = structure("Correct!", html = TRUE, class = c("html", +"character")), try_again = structure("Incorrect. Be sure to select every correct answer.", html = TRUE, class = c("html", +"character")), incorrect = structure("Incorrect", html = TRUE, class = c("html", +"character")), message = NULL, post_message = NULL), ids = list( + answer = "quiz-2-answer", question = "quiz-2"), loading = NULL, + random_answer_order = FALSE, allow_retry = FALSE, seed = 516800032.759346, + options = list()), class = c("learnr_checkbox", "tutorial_question" +)), session = session) +</script> +</p> +<!--html_preserve--> +<script type="application/shiny-prerendered" data-context="dependencies"> +{"type":"list","attributes":{},"value":[{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["header-attrs"]},{"type":"character","attributes":{},"value":["2.25"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["rmd/h/pandoc"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["header-attrs.js"]},{"type":"NULL"},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["rmarkdown"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["2.25"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["jquery"]},{"type":"character","attributes":{},"value":["3.6.0"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["lib/3.6.0"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["jquery-3.6.0.min.js"]},{"type":"NULL"},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["jquerylib"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["0.1.4"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["bootstrap"]},{"type":"character","attributes":{},"value":["3.3.5"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["rmd/h/bootstrap"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["viewport"]}},"value":[{"type":"character","attributes":{},"value":["width=device-width, initial-scale=1"]}]},{"type":"character","attributes":{},"value":["js/bootstrap.min.js","shim/html5shiv.min.js","shim/respond.min.js"]},{"type":"character","attributes":{},"value":["css/cerulean.min.css"]},{"type":"character","attributes":{},"value":["<style>h1 {font-size: 34px;}\n h1.title {font-size: 38px;}\n h2 {font-size: 30px;}\n h3 {font-size: 24px;}\n h4 {font-size: 18px;}\n h5 {font-size: 16px;}\n h6 {font-size: 12px;}\n code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}\n pre:not([class]) { background-color: white }<\/style>"]},{"type":"NULL"},{"type":"character","attributes":{},"value":["rmarkdown"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["2.25"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["pagedtable"]},{"type":"character","attributes":{},"value":["1.1"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["rmd/h/pagedtable-1.1"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["js/pagedtable.js"]},{"type":"character","attributes":{},"value":["css/pagedtable.css"]},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["rmarkdown"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["2.25"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["highlightjs"]},{"type":"character","attributes":{},"value":["9.12.0"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["rmd/h/highlightjs"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["highlight.js"]},{"type":"character","attributes":{},"value":["textmate.css"]},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["rmarkdown"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["2.25"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["tutorial"]},{"type":"character","attributes":{},"value":["0.11.5"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["lib/tutorial"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["tutorial.js"]},{"type":"character","attributes":{},"value":["tutorial.css"]},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["learnr"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["0.11.5"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["i18n"]},{"type":"character","attributes":{},"value":["21.6.10"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["lib/i18n"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["i18next.min.js","tutorial-i18n-init.js"]},{"type":"NULL"},{"type":"character","attributes":{},"value":["<script id=\"i18n-cstm-trns\" type=\"application/json\">{\"language\":\"en\",\"resources\":{\"en\":{\"translation\":{\"button\":{\"runcode\":\"Run Code\",\"runcodetitle\":\"$t(button.runcode) ({{kbd}})\",\"hint\":\"Hint\",\"hint_plural\":\"Hints\",\"hinttitle\":\"$t(button.hint)\",\"hintnext\":\"Next Hint\",\"hintprev\":\"Previous Hint\",\"solution\":\"Solution\",\"solutiontitle\":\"$t(button.solution)\",\"copyclipboard\":\"Copy to Clipboard\",\"startover\":\"Start Over\",\"startovertitle\":\"$t(button.startover)\",\"continue\":\"Continue\",\"submitanswer\":\"Submit Answer\",\"submitanswertitle\":\"$t(button.submitanswer)\",\"previoustopic\":\"Previous Topic\",\"nexttopic\":\"Next Topic\",\"questionsubmit\":\"$t(button.submitanswer)\",\"questiontryagain\":\"Try Again\"},\"text\":{\"startover\":\"Start Over\",\"areyousure\":\"Are you sure you want to start over? (all exercise progress will be reset)\",\"youmustcomplete\":\"You must complete the\",\"exercise\":\"exercise\",\"exercise_plural\":\"exercises\",\"inthissection\":\"in this section before continuing.\",\"code\":\"Code\",\"enginecap\":\"{{engine}} $t(text.code)\",\"quiz\":\"Quiz\",\"blank\":\"blank\",\"blank_plural\":\"blanks\",\"exercisecontainsblank\":\"This exercise contains {{count}} $t(text.blank).\",\"pleasereplaceblank\":\"Please replace {{blank}} with valid code.\",\"unparsable\":\"It looks like this might not be valid R code. R cannot determine how to turn your text into a complete command. You may have forgotten to fill in a blank, to remove an underscore, to include a comma between arguments, or to close an opening <code>"<\\/code>, <code>'<\\/code>, <code>(<\\/code> or <code>{<\\/code> with a matching <code>"<\\/code>, <code>'<\\/code>, <code>)<\\/code> or <code>}<\\/code>.\\n\",\"unparsablequotes\":\"<p>It looks like your R code contains specially formatted quotation marks or "curly" quotes (<code>{{character}}<\\/code>) around character strings, making your code invalid. R requires character values to be contained in straight quotation marks (<code>"<\\/code> or <code>'<\\/code>).<\\/p> {{code}} <p>Don't worry, this is a common source of errors when you copy code from another app that applies its own formatting to text. You can try replacing the code on that line with the following. There may be other places that need to be fixed, too.<\\/p> {{suggestion}}\\n\",\"unparsableunicode\":\"<p>It looks like your R code contains an unexpected special character (<code>{{character}}<\\/code>) that makes your code invalid.<\\/p> {{code}} <p>Sometimes your code may contain a special character that looks like a regular character, especially if you copy and paste the code from another app. Try deleting the special character from your code and retyping it manually.<\\/p>\\n\",\"unparsableunicodesuggestion\":\"<p>It looks like your R code contains an unexpected special character (<code>{{character}}<\\/code>) that makes your code invalid.<\\/p> {{code}} <p>Sometimes your code may contain a special character that looks like a regular character, especially if you copy and paste the code from another app. You can try replacing the code on that line with the following. There may be other places that need to be fixed, too.<\\/p> {{suggestion}}\\n\",\"and\":\"and\",\"or\":\"or\",\"listcomma\":\", \",\"oxfordcomma\":\",\"}}},\"fr\":{\"translation\":{\"button\":{\"runcode\":\"Lancer le Code\",\"runcodetitle\":\"$t(button.runcode) ({{kbd}})\",\"hint\":\"Indication\",\"hint_plural\":\"Indications\",\"hinttitle\":\"$t(button.hint)\",\"hintnext\":\"Indication Suivante\",\"hintprev\":\"Indication Précédente\",\"solution\":\"Solution\",\"solutiontitle\":\"$t(button.solution)\",\"copyclipboard\":\"Copier dans le Presse-papier\",\"startover\":\"Recommencer\",\"startovertitle\":\"$t(button.startover)\",\"continue\":\"Continuer\",\"submitanswer\":\"Soumettre\",\"submitanswertitle\":\"$t(button.submitanswer)\",\"previoustopic\":\"Chapitre Précédent\",\"nexttopic\":\"Chapitre Suivant\",\"questionsubmit\":\"$t(button.submitanswer)\",\"questiontryagain\":\"Réessayer\"},\"text\":{\"startover\":\"Recommencer\",\"areyousure\":\"Êtes-vous certains de vouloir recommencer? (La progression sera remise à zéro)\",\"youmustcomplete\":\"Vous devez d'abord compléter\",\"exercise\":\"l'exercice\",\"exercise_plural\":\"des exercices\",\"inthissection\":\"de cette section avec de continuer.\",\"code\":\"Code\",\"enginecap\":\"$t(text.code) {{engine}}\",\"quiz\":\"Quiz\",\"and\":\"et\",\"or\":\"ou\",\"oxfordcomma\":\"\"}}},\"es\":{\"translation\":{\"button\":{\"runcode\":\"Ejecutar código\",\"runcodetitle\":\"$t(button.runcode) ({{kbd}})\",\"hint\":\"Pista\",\"hint_plural\":\"Pistas\",\"hinttitle\":\"$t(button.hint)\",\"hintnext\":\"Siguiente pista\",\"hintprev\":\"Pista anterior\",\"solution\":\"Solución\",\"solutiontitle\":\"$t(button.solution)\",\"copyclipboard\":\"Copiar al portapapeles\",\"startover\":\"Reiniciar\",\"startovertitle\":\"$t(button.startover)\",\"continue\":\"Continuar\",\"submitanswer\":\"Enviar respuesta\",\"submitanswertitle\":\"$t(button.submitanswer)\",\"previoustopic\":\"Tema anterior\",\"nexttopic\":\"Tema siguiente\",\"questionsubmit\":\"$t(button.submitanswer)\",\"questiontryagain\":\"Volver a intentar\"},\"text\":{\"startover\":\"Reiniciar\",\"areyousure\":\"¿De verdad quieres empezar de nuevo? (todo el progreso del ejercicio se perderá)\",\"youmustcomplete\":\"Debes completar\",\"exercise\":\"el ejercicio\",\"exercise_plural\":\"los ejercicios\",\"inthissection\":\"en esta sección antes de continuar.\",\"code\":\"Código\",\"enginecap\":\"$t(text.code) {{engine}}\",\"quiz\":\"Cuestionario\",\"and\":\"y\",\"or\":\"o\",\"oxfordcomma\":\"\"}}},\"pt\":{\"translation\":{\"button\":{\"runcode\":\"Executar código\",\"runcodetitle\":\"$t(button.runcode) ({{kbd}})\",\"hint\":\"Dica\",\"hint_plural\":\"Dicas\",\"hinttitle\":\"$t(button.hint)\",\"hintnext\":\"Próxima dica\",\"hintprev\":\"Dica anterior\",\"solution\":\"Solução\",\"solutiontitle\":\"$t(button.solution)\",\"copyclipboard\":\"Copiar para a área de transferência\",\"startover\":\"Reiniciar\",\"startovertitle\":\"$t(button.startover)\",\"continue\":\"Continuar\",\"submitanswer\":\"Enviar resposta\",\"submitanswertitle\":\"$t(button.submitanswer)\",\"previoustopic\":\"Tópico anterior\",\"nexttopic\":\"Próximo tópico\",\"questionsubmit\":\"$t(button.submitanswer)\",\"questiontryagain\":\"Tentar novamente\"},\"text\":{\"startover\":\"Reiniciar\",\"areyousure\":\"Tem certeza que deseja começar novamente? (todo o progresso feito será perdido)\",\"youmustcomplete\":\"Você deve completar\",\"exercise\":\"o exercÃcio\",\"exercise_plural\":\"os exercÃcios\",\"inthissection\":\"nesta seção antes de continuar.\",\"code\":\"Código\",\"enginecap\":\"$t(text.code) {{engine}}\",\"quiz\":\"Quiz\",\"and\":\"e\",\"or\":\"ou\",\"oxfordcomma\":\"\"}}},\"tr\":{\"translation\":{\"button\":{\"runcode\":\"Çalıştırma Kodu\",\"runcodetitle\":\"$t(button.runcode) ({{kbd}})\",\"hint\":\"Ipucu\",\"hint_plural\":\"İpuçları\",\"hinttitle\":\"$t(button.hint)\",\"hintnext\":\"Sonraki İpucu\",\"hintprev\":\"Önceki İpucu\",\"solution\":\"Çözüm\",\"solutiontitle\":\"$t(button.solution)\",\"copyclipboard\":\"Pano'ya Kopyala\",\"startover\":\"BaÅŸtan BaÅŸlamak\",\"startovertitle\":\"$t(button.startover)\",\"continue\":\"Devam et\",\"submitanswer\":\"Cevabı onayla\",\"submitanswertitle\":\"$t(button.submitanswer)\",\"previoustopic\":\"Önceki Konu\",\"nexttopic\":\"Sonraki Konu\",\"questionsubmit\":\"$t(button.submitanswer)\",\"questiontryagain\":\"Tekrar Deneyin\"},\"text\":{\"startover\":\"BaÅŸtan BaÅŸlamak\",\"areyousure\":\"BaÅŸtan baÅŸlamak istediÄŸinizden emin misiniz? (tüm egzersiz ilerlemesi kaybolacak)\",\"youmustcomplete\":\"Tamamlamalısın\",\"exercise\":\"egzersiz\",\"exercise_plural\":\"egzersizler\",\"inthissection\":\"devam etmeden önce bu bölümde\",\"code\":\"Kod\",\"enginecap\":\"$t(text.code) {{engine}}\",\"quiz\":\"Sınav\",\"oxfordcomma\":\"\"}}},\"emo\":{\"translation\":{\"button\":{\"runcode\":\"ðŸƒ\",\"runcodetitle\":\"$t(button.runcode) ({{kbd}})\",\"hint\":\"💡\",\"hint_plural\":\"$t(button.hint)\",\"hinttitle\":\"$t(button.hint)\",\"solution\":\"🎯\",\"solutiontitle\":\"$t(button.solution)\",\"copyclipboard\":\"📋\",\"startover\":\"â®\",\"startovertitle\":\"Start Over\",\"continue\":\"✅\",\"submitanswer\":\"🆗\",\"submitanswertitle\":\"Submit Answer\",\"previoustopic\":\"⬅\",\"nexttopic\":\"âž¡\",\"questionsubmit\":\"$t(button.submitanswer)\",\"questiontryagain\":\"ðŸ”\"},\"text\":{\"startover\":\"â®\",\"areyousure\":\"🤔\",\"youmustcomplete\":\"âš ï¸ ðŸ‘‰ 🧑â€ðŸ’»\",\"exercise\":\"\",\"exercise_plural\":\"\",\"inthissection\":\"\",\"code\":\"💻\",\"enginecap\":\"$t(text.code) {{engine}}\",\"oxfordcomma\":\"\"}}},\"eu\":{\"translation\":{\"button\":{\"runcode\":\"Kodea egikaritu\",\"runcodetitle\":\"$t(button.runcode) ({{kbd}})\",\"hint\":\"Laguntza\",\"hint_plural\":\"Laguntza\",\"hinttitle\":\"$t(button.hint)\",\"hintnext\":\"Aurreko laguntza\",\"hintprev\":\"Hurrengo laguntza\",\"solution\":\"Ebazpena\",\"solutiontitle\":\"$t(button.solution)\",\"copyclipboard\":\"Arbelean kopiatu\",\"startover\":\"Berrabiarazi\",\"startovertitle\":\"$t(button.startover)\",\"continue\":\"Jarraitu\",\"submitanswer\":\"Erantzuna bidali\",\"submitanswertitle\":\"$t(button.submitanswer)\",\"previoustopic\":\"Aurreko atala\",\"nexttopic\":\"Hurrengo atala\",\"questionsubmit\":\"$t(button.submitanswer)\",\"questiontryagain\":\"Berriro saiatu\"},\"text\":{\"startover\":\"Berrabiarazi\",\"areyousure\":\"Berriro hasi nahi duzu? (egindako lana galdu egingo da)\",\"youmustcomplete\":\"Aurrera egin baino lehen atal honetako\",\"exercise\":\"ariketa egin behar duzu.\",\"exercise_plural\":\"ariketak egin behar dituzu.\",\"inthissection\":\"\",\"code\":\"Kodea\",\"enginecap\":\"$t(text.code) {{engine}}\",\"quiz\":\"Galdetegia\",\"oxfordcomma\":\"\"}}},\"de\":{\"translation\":{\"button\":{\"runcode\":\"Code ausführen\",\"runcodetitle\":\"$t(button.runcode) ({{kbd}})\",\"hint\":\"Tipp\",\"hint_plural\":\"Tipps\",\"hinttitle\":\"$t(button.hint)\",\"hintnext\":\"Nächster Tipp\",\"hintprev\":\"Vorheriger Tipp\",\"solution\":\"Lösung\",\"solutiontitle\":\"$t(button.solution)\",\"copyclipboard\":\"In die Zwischenablage kopieren\",\"startover\":\"Neustart\",\"startovertitle\":\"$t(button.startover)\",\"continue\":\"Weiter\",\"submitanswer\":\"Antwort einreichen\",\"submitanswertitle\":\"$t(button.submitanswer)\",\"previoustopic\":\"Vorheriges Kapitel\",\"nexttopic\":\"Nächstes Kapitel\",\"questionsubmit\":\"$t(button.submitanswer)\",\"questiontryagain\":\"Nochmal versuchen\"},\"text\":{\"startover\":\"Neustart\",\"areyousure\":\"Bist du sicher, dass du neustarten willst? (der gesamte Lernfortschritt wird gelöscht)\",\"youmustcomplete\":\"Vervollstädinge\",\"exercise\":\"die Übung\",\"exercise_plural\":\"die Übungen\",\"inthissection\":\"in diesem Kapitel, bevor du fortfährst.\",\"code\":\"Code\",\"enginecap\":\"$t(text.code) {{engine}}\",\"quiz\":\"Quiz\",\"blank\":\"Lücke\",\"blank_plural\":\"Lücken\",\"pleasereplaceblank\":\"Bitte ersetze {{blank}} mit gültigem Code.\",\"unparsable\":\"Dies scheint kein gültiger R Code zu sein. R kann deinen Text nicht in einen gültigen Befehl übersetzen. Du hast vielleicht vergessen, die Lücke zu füllen, einen Unterstrich zu entfernen, ein Komma zwischen Argumente zu setzen oder ein eröffnendes <code>"<\\/code>, <code>'<\\/code>, <code>(<\\/code> oder <code>{<\\/code> mit einem zugehörigen <code>"<\\/code>, <code>'<\\/code>, <code>)<\\/code> oder <code>}<\\/code> zu schließen.\\n\",\"and\":\"und\",\"or\":\"oder\",\"listcomma\":\", \",\"oxfordcomma\":\",\"}}},\"ko\":{\"translation\":{\"button\":{\"runcode\":\"코드 실행\",\"runcodetitle\":\"$t(button.runcode) ({{kbd}})\",\"hint\":\"힌트\",\"hint_plural\":\"힌트들\",\"hinttitle\":\"$t(button.hint)\",\"hintnext\":\"ë‹¤ìŒ ížŒíŠ¸\",\"hintprev\":\"ì´ì „ 힌트\",\"solution\":\"솔루션\",\"solutiontitle\":\"$t(button.solution)\",\"copyclipboard\":\"í´ë¦½ë³´ë“œì— 복사\",\"startover\":\"재학습\",\"startovertitle\":\"$t(button.startover)\",\"continue\":\"ë‹¤ìŒ í•™ìŠµìœ¼ë¡œ\",\"submitanswer\":\"ì •ë‹µ ì œì¶œ\",\"submitanswertitle\":\"$t(button.submitanswer)\",\"previoustopic\":\"ì´ì „ í† í”½\",\"nexttopic\":\"ë‹¤ìŒ í† í”½\",\"questionsubmit\":\"$t(button.submitanswer)\",\"questiontryagain\":\"재시ë„\"},\"text\":{\"startover\":\"재학습\",\"areyousure\":\"다시 시작 í•˜ì‹œê² ìŠµë‹ˆê¹Œ? (ëª¨ë“ ì˜ˆì œì˜ ì§„í–‰ ì •ë³´ê°€ ìž¬ì„¤ì •ë©ë‹ˆë‹¤)\",\"youmustcomplete\":\"ë‹¹ì‹ ì€ ì™„ë£Œí•´ì•¼ 합니다\",\"exercise\":\"ì—°ìŠµë¬¸ì œ\",\"exercise_plural\":\"ì—°ìŠµë¬¸ì œë“¤\",\"inthissection\":\"ì´ ì„¹ì…˜ì„ ì‹¤í–‰í•˜ê¸° ì „ì—\",\"code\":\"코드\",\"enginecap\":\"$t(text.code) {{engine}}\",\"quiz\":\"퀴즈\",\"blank\":\"공백\",\"blank_plural\":\"공백들\",\"exercisecontainsblank\":\"ì´ ì—°ìŠµë¬¸ì œì—는 {{count}}ê°œì˜ $t(text.blank)ì´ í¬í•¨ë˜ì–´ 있습니다.\",\"pleasereplaceblank\":\"{{blank}}를 ìœ íš¨í•œ 코드로 바꾸ì‹ì‹œì˜¤.\",\"unparsable\":\"ì´ê²ƒì€ ìœ íš¨í•œ R 코드가 ì•„ë‹ ìˆ˜ 있습니다. Rì€ í…스트를 ì™„ì „í•œ ëª…ë ¹ìœ¼ë¡œ 변환하는 ë°©ë²•ì„ ê²°ì •í• ìˆ˜ 없습니다. ë‹¹ì‹ ì€ ê³µë°±ì´ë‚˜ ë°‘ì¤„ì„ ëŒ€ì²´í•˜ì—¬ 채우기, ì¸ìˆ˜ë¥¼ 컴마로 구분하기, ë˜ëŠ” <code>"<\\/code>, <code>'<\\/code>, <code>(<\\/code> , <code>{<\\/code>로 시작하는 êµ¬ë¬¸ì„ ë‹«ëŠ” <code>"<\\/code>, <code>'<\\/code>, <code>)<\\/code>, <code>}<\\/code>ì„ ìžŠì—ˆì„ ìˆ˜ë„ ìžˆìŠµë‹ˆë‹¤.\\n\",\"and\":\"ê·¸ë¦¬ê³ \",\"or\":\"혹ì€\",\"listcomma\":\", \",\"oxfordcomma\":\"\"}}},\"zh\":{\"translation\":{\"button\":{\"runcode\":\"è¿è¡Œä»£ç \",\"runcodetitle\":\"$t(button.runcode) ({{kbd}})\",\"hint\":\"æç¤º\",\"hint_plural\":\"æç¤º\",\"hinttitle\":\"$t(button.hint)\",\"hintnext\":\"下一个æç¤º\",\"hintprev\":\"上一个æç¤º\",\"solution\":\"ç”æ¡ˆ\",\"solutiontitle\":\"$t(button.solution)\",\"copyclipboard\":\"å¤åˆ¶åˆ°å‰ªåˆ‡æ¿\",\"startover\":\"釿–°å¼€å§‹\",\"startovertitle\":\"$t(button.startover)\",\"continue\":\"ç»§ç»\",\"submitanswer\":\"æäº¤ç”案\",\"submitanswertitle\":\"$t(button.submitanswer)\",\"previoustopic\":\"上一专题\",\"nexttopic\":\"下一专题\",\"questionsubmit\":\"$t(button.submitanswer)\",\"questiontryagain\":\"å†è¯•一次\"},\"text\":{\"startover\":\"é‡ç½®\",\"areyousure\":\"ä½ ç¡®å®šè¦é‡æ–°å¼€å§‹å—? (所有当å‰è¿›åº¦å°†è¢«é‡ç½®)\",\"youmustcomplete\":\"ä½ å¿…é¡»å®Œæˆ\",\"exercise\":\"ç»ƒä¹ \",\"exercise_plural\":\"ç»ƒä¹ \",\"inthissection\":\"在进行本节之å‰\",\"code\":\"代ç \",\"enginecap\":\"$t(text.code) {{engine}}\",\"quiz\":\"测试\",\"blank\":\"空\",\"blank_plural\":\"空\",\"exercisecontainsblank\":\"æœ¬ç»ƒä¹ åŒ…å«{{count}}个$t(text.blank)\",\"pleasereplaceblank\":\"请在{{blank}}内填写æ°å½“的代ç \",\"unparsable\":\"è¿™ä¼¼ä¹Žä¸æ˜¯æœ‰æ•ˆçš„R代ç 。 Rä¸çŸ¥é“如何将您的文本转æ¢ä¸ºå®Œæ•´çš„命令。 您是å¦å¿˜äº†å¡«ç©ºï¼Œå¿˜äº†åˆ é™¤ä¸‹åˆ’çº¿ï¼Œå¿˜äº†åœ¨å‚æ•°ä¹‹é—´åŒ…å«é€—å·ï¼Œæˆ–者是忘了用<code>"<\\/code>, <code>'<\\/code>, <code>)<\\/code>,<code>}<\\/code>æ¥å°é—<code>"<\\/code>, <code>'<\\/code>, <code>(<\\/code>。 or <code>{<\\/code>。\\n\",\"unparsablequotes\":\"<p>您的R代ç ä¸ä¼¼ä¹Žå«æœ‰ç‰¹æ®Šæ ¼å¼çš„引å·ï¼Œæˆ–者弯引å·(<code>{{character}}<\\/code>) 在å—符串å‰åŽï¼Œåœ¨Rä¸å—符串应该被直引å·(<code>"<\\/code> 或者 <code>'<\\/code>)包裹。<\\/p> {{code}} <p>别担心,该错误ç»å¸¸åœ¨å¤åˆ¶ç²˜è´´åŒ…嫿 ¼å¼çš„ä»£ç æ—¶é‡åˆ°ï¼Œ 您å¯ä»¥å°è¯•将该行ä¸çš„ä»£ç æ›¿æ¢ä¸ºä»¥ä¸‹ä»£ç ,也许还有其他地方需è¦ä¿®æ”¹ã€‚<\\/p> {{suggestion}}\\n\",\"unparsableunicode\":\"<p>您的代ç ä¸ä¼¼ä¹ŽåŒ…嫿œ‰å¼‚常å—符(<code>{{character}}<\\/code>),å¯¼è‡´ä»£ç æ— 效。<\\/p> {{code}} <p>æœ‰æ—¶å€™ä½ çš„ä»£ç å¯èƒ½å«æœ‰çœ‹ä¼¼æ£å¸¸å—符的特殊å—ç¬¦ï¼Œç‰¹åˆ«æ˜¯å½“ä½ å¤åˆ¶ç²˜è´´å…¶ä»–æ¥æºä»£ç 的时候。 请试ç€åˆ 除这些特殊å—符,釿–°è¾“å…¥<\\/p>\\n\",\"unparsableunicodesuggestion\":\"<p>您的代ç ä¸ä¼¼ä¹ŽåŒ…嫿œ‰å¼‚常å—符(<code>{{character}}<\\/code>),å¯¼è‡´ä»£ç æ— 效。<\\/p> {{code}} <p>æœ‰æ—¶å€™ä½ çš„ä»£ç å¯èƒ½å«æœ‰çœ‹ä¼¼æ£å¸¸å—符的特殊å—ç¬¦ï¼Œç‰¹åˆ«æ˜¯å½“ä½ å¤åˆ¶ç²˜è´´å…¶ä»–æ¥æºä»£ç 的时候。 请试ç€åˆ 除这些特殊å—符,釿–°è¾“å…¥<\\/p>\\n\",\"and\":\"且\",\"or\":\"或\",\"listcomma\":\",\",\"oxfordcomma\":\",\"}}},\"pl\":{\"translation\":{\"button\":{\"runcode\":\"Uruchom kod\",\"runcodetitle\":\"$t(button.runcode) ({{kbd}})\",\"hint\":\"Podpowiedź\",\"hint_plural\":\"Podpowiedzi\",\"hinttitle\":\"$t(button.hint)\",\"hintnext\":\"NastÄ™pna podpowiedź\",\"hintprev\":\"Poprzednia podpowiedź\",\"solution\":\"RozwiÄ…zanie\",\"solutiontitle\":\"$t(button.solution)\",\"copyclipboard\":\"Kopiuj do schowka\",\"startover\":\"Zacznij od poczÄ…tku\",\"startovertitle\":\"$t(button.startover)\",\"continue\":\"Kontynuuj\",\"submitanswer\":\"WyÅ›lij\",\"submitanswertitle\":\"$t(button.submitanswer)\",\"previoustopic\":\"Poprzednia sekcja\",\"nexttopic\":\"NastÄ™pna sekcja\",\"questionsubmit\":\"$t(button.submitanswer)\",\"questiontryagain\":\"Spróbuj ponownie\"},\"text\":{\"startover\":\"Zacznij od poczÄ…tku\",\"areyousure\":\"Czy na pewno chcesz zacząć od poczÄ…tku? (caÅ‚y postÄ™p w zadaniu zostanie utracony)\",\"youmustcomplete\":\"Musisz ukoÅ„czyć\",\"exercise\":\"ćwiczenie\",\"exercise_plural\":\"ćwiczenia\",\"inthissection\":\"w tej sekcji przed kontynuowaniem\",\"code\":\"Kod\",\"enginecap\":\"$t(text.code) {{engine}}\",\"quiz\":\"Quiz\",\"blank\":\"luka\",\"blank_plural\":\"luk(i)\",\"exercisecontainsblank\":\"To ćwiczenie zawiera {{count}} $t(text.blank).\",\"pleasereplaceblank\":\"ProszÄ™ uzupeÅ‚nić {{blank}} prawidÅ‚owym kodem.\",\"unparsable\":\"WyglÄ…da na to, że może to nie być prawidÅ‚owy kod R. R nie jest w stanie przetworzyć Twojego tekstu na polecenie. MogÅ‚eÅ›(-aÅ›) zapomnieć wypeÅ‚nić luki, usunąć podkreÅ›lnik, umieÅ›cić przecinka miÄ™dzy argumentami, lub zamknąć znak <code>"<\\/code>, <code>'<\\/code>, <code>(<\\/code> lub <code>{<\\/code> odpowiadajÄ…cym <code>"<\\/code>, <code>'<\\/code>, <code>)<\\/code> lub <code>}<\\/code>.\\n\",\"unparsablequotes\":\"<p>WyglÄ…da na to, że Twój kod zawiera szczególnie sformatowane cudzysÅ‚owy lub cudzysÅ‚owy typograficzne (<code>{{character}}<\\/code>) przy ciÄ…gach znaków, co sprawia, że kod jest niepoprawny. R wymaga cudzysÅ‚owów prostych (<code>"<\\/code> albo <code>'<\\/code>).<\\/p> {{code}} <p>Nie martw siÄ™, to powszechne źródÅ‚o błędów, gdy kopiuje się kod z innego programu, który sam formatuje teskt. Możesz spróbować zastÄ…pić swój kod nastÄ™pujÄ…cym kodem. MogÄ… być też inne miejsca, które wymagajÄ… poprawienia.<\\/p> {{suggestion}}\\n\",\"unparsableunicode\":\"<p>WyglÄ…da na to, że Twój kod zawiera niespodziewany znak specjalny (<code>{{character}}<\\/code>), co sprawia, że kod jest niepoprawny.<\\/p> {{code}} <p>Czasami Twój kod może zawierać znak specjalny, który wyglÄ…da jak zwykÅ‚y znak, zwÅ‚aszcza jeÅ›li kopiujesz kod z innego programu. Spróbuj usunąć znak specjalny i wpisać do ponownie rÄ™cznie.<\\/p>\\n\",\"unparsableunicodesuggestion\":\"<p>WyglÄ…da na to, że Twój kod zawiera niespodziewany znak specjalny (<code>{{character}}<\\/code>), co sprawia, że kod jest niepoprawny.<\\/p> {{code}} <p>Czasami Twój kod może zawierać znak specjalny, który wyglÄ…da jak zwykÅ‚y znak, zwÅ‚aszcza jeÅ›li kopiujesz kod z innego programu. Możesz spróbować zastÄ…pić swój kod nastÄ™pujÄ…cym kodem. MogÄ… być też inne miejsca, które wymagajÄ… poprawienia.<\\/p> {{suggestion}}\\n\",\"and\":\"i\",\"or\":\"lub\",\"listcomma\":\", \",\"oxfordcomma\":\"\"}}}}}<\/script>"]},{"type":"NULL"},{"type":"character","attributes":{},"value":["learnr"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["0.11.5"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["tutorial-format"]},{"type":"character","attributes":{},"value":["0.11.5"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["rmarkdown/templates/tutorial/resources"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["tutorial-format.js"]},{"type":"character","attributes":{},"value":["tutorial-format.css","rstudio-theme.css"]},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["learnr"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["0.11.5"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["jquery"]},{"type":"character","attributes":{},"value":["3.6.0"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["lib/3.6.0"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["jquery-3.6.0.min.js"]},{"type":"NULL"},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["jquerylib"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["0.1.4"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["navigation"]},{"type":"character","attributes":{},"value":["1.1"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["rmd/h/navigation-1.1"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["tabsets.js"]},{"type":"NULL"},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["rmarkdown"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["2.25"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["highlightjs"]},{"type":"character","attributes":{},"value":["9.12.0"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["rmd/h/highlightjs"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["highlight.js"]},{"type":"character","attributes":{},"value":["default.css"]},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["rmarkdown"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["2.25"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["jquery"]},{"type":"character","attributes":{},"value":["3.6.0"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["lib/3.6.0"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["jquery-3.6.0.min.js"]},{"type":"NULL"},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["jquerylib"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["0.1.4"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["font-awesome"]},{"type":"character","attributes":{},"value":["6.4.2"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["fontawesome"]}]},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["css/all.min.css","css/v4-shims.min.css"]},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["fontawesome"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["0.5.2"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["bootbox"]},{"type":"character","attributes":{},"value":["5.5.2"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["lib/bootbox"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["bootbox.min.js"]},{"type":"NULL"},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["learnr"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["0.11.5"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["idb-keyvalue"]},{"type":"character","attributes":{},"value":["3.2.0"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["lib/idb-keyval"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["idb-keyval-iife-compat.min.js"]},{"type":"NULL"},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["learnr"]},{"type":"logical","attributes":{},"value":[false]},{"type":"character","attributes":{},"value":["0.11.5"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["tutorial"]},{"type":"character","attributes":{},"value":["0.11.5"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["lib/tutorial"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["tutorial.js"]},{"type":"character","attributes":{},"value":["tutorial.css"]},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["learnr"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["0.11.5"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["ace"]},{"type":"character","attributes":{},"value":["1.10.1"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["lib/ace"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["ace.js"]},{"type":"NULL"},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["learnr"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["0.11.5"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["clipboardjs"]},{"type":"character","attributes":{},"value":["2.0.10"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["lib/clipboardjs"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["clipboard.min.js"]},{"type":"NULL"},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["learnr"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["0.11.5"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["ace"]},{"type":"character","attributes":{},"value":["1.10.1"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["lib/ace"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["ace.js"]},{"type":"NULL"},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["learnr"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["0.11.5"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["clipboardjs"]},{"type":"character","attributes":{},"value":["2.0.10"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["lib/clipboardjs"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["clipboard.min.js"]},{"type":"NULL"},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["learnr"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["0.11.5"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["ace"]},{"type":"character","attributes":{},"value":["1.10.1"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["lib/ace"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["ace.js"]},{"type":"NULL"},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["learnr"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["0.11.5"]}]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["name","version","src","meta","script","stylesheet","head","attachment","package","all_files","pkgVersion"]},"class":{"type":"character","attributes":{},"value":["html_dependency"]}},"value":[{"type":"character","attributes":{},"value":["clipboardjs"]},{"type":"character","attributes":{},"value":["2.0.10"]},{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["file"]}},"value":[{"type":"character","attributes":{},"value":["lib/clipboardjs"]}]},{"type":"NULL"},{"type":"character","attributes":{},"value":["clipboard.min.js"]},{"type":"NULL"},{"type":"NULL"},{"type":"NULL"},{"type":"character","attributes":{},"value":["learnr"]},{"type":"logical","attributes":{},"value":[true]},{"type":"character","attributes":{},"value":["0.11.5"]}]}]} +</script> +<!--/html_preserve--> +<!--html_preserve--> +<script type="application/shiny-prerendered" data-context="execution_dependencies"> +{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["packages"]}},"value":[{"type":"list","attributes":{"names":{"type":"character","attributes":{},"value":["packages","version"]},"class":{"type":"character","attributes":{},"value":["data.frame"]},"row.names":{"type":"integer","attributes":{},"value":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45]}},"value":[{"type":"character","attributes":{},"value":["backports","base","bslib","cachem","checkmate","cli","commonmark","compiler","datasets","digest","ellipsis","evaluate","fastmap","fontawesome","graphics","grDevices","htmltools","htmlwidgets","httpuv","jquerylib","jsonlite","knitr","later","learnr","lifecycle","magrittr","markdown","methods","mime","promises","R6","Rcpp","rlang","rmarkdown","rprojroot","sass","shiny","stats","tools","utils","vctrs","withr","xfun","xtable","yaml"]},{"type":"character","attributes":{},"value":["1.4.1","4.3.2","0.6.1","1.0.8","2.3.1","3.6.1","1.9.0","4.3.2","4.3.2","0.6.33","0.3.2","0.23","1.1.1","0.5.2","4.3.2","4.3.2","0.5.7","1.6.4","1.6.13","0.1.4","1.8.8","1.45","1.3.2","0.11.5","1.0.3","2.0.3","1.12","4.3.2","0.12","1.2.1","2.5.1","1.0.11","1.1.1","2.25","2.0.4","0.4.8","1.8.0","4.3.2","4.3.2","4.3.2","0.6.4","2.5.2","0.41","1.8-4","2.3.8"]}]}]} +</script> +<!--/html_preserve--> +</div> +</div> + +</article> <!-- topics --> + +<div class="topicsContainer"> +<div class="topicsPositioner"> +<div class="band"> +<div class="bandContent topicsListContainer"> + +<!-- begin doc-metadata --> +<div id="doc-metadata"> +<h1 class="title toc-ignore" style="display:none;">Tutorial</h1> +</div> +<!-- end doc-metadata --> + +</div> <!-- bandContent.topicsListContainer --> +</div> <!-- band --> +</div> <!-- topicsPositioner --> +</div> <!-- topicsContainer --> + + +</main> <!-- bandContent page --> +</div> <!-- pageContent band --> + + + +<!-- Build Tabsets --> +<script> +$(document).ready(function () { + window.buildTabsets("section-TOC"); +}); + +$(document).ready(function () { + $('.tabset-dropdown > .nav-tabs > li').click(function () { + $(this).parent().toggleClass('nav-tabs-open') + }); +}); +</script> + +<script> +// add bootstrap table styles to pandoc tables +function bootstrapStylePandocTables() { + $('tr.header').parent('thead').parent('table').addClass('table table-condensed'); +} +$(document).ready(function () { + bootstrapStylePandocTables(); +}); +</script> + + +<!-- dynamically load mathjax for compatibility with self-contained --> +<script> + (function () { + var script = document.createElement("script"); + script.type = "text/javascript"; + script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"; + document.getElementsByTagName("head")[0].appendChild(script); + })(); +</script> + + +</body> + +</html>