{
  "_id": "6af3a7dfbe2268deb4a3a8de",
  "Package": "learnr2",
  "Title": "Interactive Tutorials with 'Quarto' and 'WebR'",
  "Version": "0.1.3.9015",
  "Authors@R": "c(\nperson(\"David\", \"Kane\", , \"dave.kane@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-6660-3934\")),\nperson(\"Minh\", \"Vu\", , \"minhvu0514@gmail.com\", role = \"aut\")\n)",
  "Description": "Create interactive R tutorials that run entirely in the\nbrowser using 'Quarto' <https://quarto.org> and 'WebR'\n<https://docs.r-wasm.org/webr/latest/> via the 'quarto-live'\nextension. Provides 'learnr'-style authoring conveniences --\nscaffolding, exercises, hints, solutions, and quizzes --\nwithout 'Shiny', 'R Markdown', or a server.",
  "License": "MIT + file LICENSE",
  "Copyright": "See file inst/COPYRIGHTS for the bundled third-party\ncomponents.",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "quarto",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "pkgdown, rsconnect",
  "SystemRequirements": "Quarto command line tool\n(https://github.com/quarto-dev/quarto-cli).",
  "URL": "https://github.com/PPBDS/learnr2, https://ppbds.github.io/learnr2/",
  "BugReports": "https://github.com/PPBDS/learnr2/issues",
  "Config/roxygen2/version": "8.1.0",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "cmake make libuv1-dev zlib1g-dev",
  "Repository": "https://ppbds.r-universe.dev",
  "Date/Publication": "2026-11-10 22:43:59 UTC",
  "RemoteUrl": "https://github.com/ppbds/learnr2",
  "RemoteRef": "HEAD",
  "RemoteSha": "ea9b880f3252aa2e44d86b258e191f0a8b95a2de",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-10 23:21:47 UTC",
    "User": "root"
  },
  "Author": "David Kane [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-6660-3934>),\nMinh Vu [aut]",
  "Maintainer": "David Kane <dave.kane@gmail.com>",
  "_user": "ppbds",
  "_type": "src",
  "_file": "learnr2_0.1.3.9015.tar.gz",
  "_fileid": "https://r2.ropensci.org/2c132538da5ccce2a4e382762a57d29007c9ac253a18605cb4bfa17ed7f5bded",
  "_filesize": 725287,
  "_sha256": "2c132538da5ccce2a4e382762a57d29007c9ac253a18605cb4bfa17ed7f5bded",
  "_expires": "2027-02-18T23:25:17.000Z",
  "_created": "2026-11-10T23:21:47.000Z",
  "_published": "2026-11-10T23:25:19.023Z",
  "_upstream": "https://github.com/ppbds/learnr2",
  "_status": "success",
  "_maintainer": {
    "name": "David Kane",
    "email": "dave.kane@gmail.com",
    "login": "davidkane9",
    "orcid": "0000-0002-6660-3934",
    "description": "Visiting Assistant Professor of Techne, New College of Florida\n",
    "uuid": 4552851
  },
  "_jobs": [
    {
      "job": 130201507717,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13812623123"
    },
    {
      "job": 130201507747,
      "time": 152,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13812981697"
    },
    {
      "job": 130201507820,
      "time": 160,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13812557494"
    },
    {
      "job": 130201507792,
      "time": 169,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13812438286"
    },
    {
      "job": 130199954621,
      "time": 193,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13812667539"
    },
    {
      "job": 130201507640,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13813066247"
    },
    {
      "job": 130201507885,
      "time": 168,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13812842168"
    },
    {
      "job": 130201507905,
      "time": 157,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13812802214"
    },
    {
      "job": 130201507736,
      "time": 164,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13812152417"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ppbds/actions/runs/42922278926",
  "_commit": {
    "id": "ea9b880f3252aa2e44d86b258e191f0a8b95a2de",
    "author": "David Kane <dave.kane@gmail.com>",
    "committer": "David Kane <dave.kane@gmail.com>",
    "message": "path fix\n",
    "time": 1794350639
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "fs",
      "role": "Imports"
    },
    {
      "package": "htmltools",
      "role": "Imports"
    },
    {
      "package": "httpuv",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "quarto",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Imports"
    },
    {
      "package": "pkgload",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.2.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "ppbds",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-26",
      "n": 1
    },
    {
      "week": "2026-27",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 6
    },
    {
      "week": "2026-29",
      "n": 6
    },
    {
      "week": "2026-30",
      "n": 11
    },
    {
      "week": "2026-31",
      "n": 11
    },
    {
      "week": "2026-32",
      "n": 2
    },
    {
      "week": "2026-34",
      "n": 4
    },
    {
      "week": "2026-35",
      "n": 4
    },
    {
      "week": "2026-36",
      "n": 4
    },
    {
      "week": "2026-38",
      "n": 2
    },
    {
      "week": "2026-39",
      "n": 9
    },
    {
      "week": "2026-41",
      "n": 35
    },
    {
      "week": "2026-42",
      "n": 3
    },
    {
      "week": "2026-44",
      "n": 1
    },
    {
      "week": "2026-45",
      "n": 5
    },
    {
      "week": "2026-46",
      "n": 7
    }
  ],
  "_tags": [
    {
      "name": "cran-0.1.1",
      "date": "2026-09-27"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "davidkane9",
      "count": 82,
      "uuid": 4552851
    },
    {
      "user": "minhvu05",
      "count": 35,
      "uuid": 120968948
    }
  ],
  "_userbio": {
    "uuid": 67690252,
    "type": "organization",
    "name": "Preceptor's Primer",
    "followers": 15,
    "description": "Code for \"Preceptor's Primer for Bayesian Data Science: : Using the Cardinal Virtues for Inference\" and for some associated R packages."
  },
  "_downloads": {
    "count": 476,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/learnr2"
  },
  "_devurl": "https://github.com/ppbds/learnr2",
  "_pkgdown": "https://ppbds.github.io/learnr2/",
  "_searchresults": 88,
  "_quarto": true,
  "_topics": [
    "quarto"
  ],
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/learnr2.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/ppbds/learnr2",
  "_realowner": "ppbds",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.3",
      "date": "2026-10-20"
    }
  ],
  "_exports": [
    "add_live_extension",
    "answer",
    "available_tutorials",
    "check_submission",
    "check_tutorial",
    "check_tutorials",
    "create_tutorial",
    "download_answers_button",
    "extract_submission_media",
    "live_extension_dir",
    "load_tutorial",
    "prerender_tutorials",
    "question",
    "quiz",
    "render_tutorials",
    "run_tutorial",
    "show_file",
    "student_info",
    "submission_time",
    "tutorial_options"
  ],
  "_help": [
    {
      "page": "add_live_extension",
      "title": "Add the 'quarto-live' extension to a project",
      "topics": [
        "add_live_extension"
      ]
    },
    {
      "page": "answer",
      "title": "Define an answer choice for a quiz question",
      "topics": [
        "answer"
      ]
    },
    {
      "page": "available_tutorials",
      "title": "List tutorials bundled with learnr2 (or any installed package)",
      "topics": [
        "available_tutorials"
      ]
    },
    {
      "page": "check_submission",
      "title": "Check a submission's fingerprint and provenance",
      "topics": [
        "check_submission"
      ]
    },
    {
      "page": "check_tutorial",
      "title": "Check that a tutorial has the recommended components",
      "topics": [
        "check_tutorial"
      ]
    },
    {
      "page": "check_tutorials",
      "title": "Check every tutorial in a package",
      "topics": [
        "check_tutorials"
      ]
    },
    {
      "page": "create_tutorial",
      "title": "Create a new learnr2 tutorial",
      "topics": [
        "create_tutorial"
      ]
    },
    {
      "page": "download_answers_button",
      "title": "Add a \"download my answers\" button",
      "topics": [
        "download_answers_button"
      ]
    },
    {
      "page": "extract_submission_media",
      "title": "Write a submission's screenshots and recordings to files",
      "topics": [
        "extract_submission_media"
      ]
    },
    {
      "page": "live_extension_dir",
      "title": "Path to the bundled 'quarto-live' extension",
      "topics": [
        "live_extension_dir"
      ]
    },
    {
      "page": "load_tutorial",
      "title": "Reopen a tutorial with a student's downloaded answers filled in",
      "topics": [
        "load_tutorial"
      ]
    },
    {
      "page": "prerender_tutorials",
      "title": "Render every installed Quarto tutorial into the cache",
      "topics": [
        "prerender_tutorials"
      ]
    },
    {
      "page": "question",
      "title": "Create a quiz question",
      "topics": [
        "question"
      ]
    },
    {
      "page": "quiz",
      "title": "Group questions into a quiz",
      "topics": [
        "quiz"
      ]
    },
    {
      "page": "render_tutorials",
      "title": "Render tutorials, as a test that they build",
      "topics": [
        "render_tutorials"
      ]
    },
    {
      "page": "run_tutorial",
      "title": "Run a bundled tutorial",
      "topics": [
        "run_tutorial"
      ]
    },
    {
      "page": "show_file",
      "title": "Display all or part of a text file",
      "topics": [
        "show_file"
      ]
    },
    {
      "page": "student_info",
      "title": "Collect student identifying information",
      "topics": [
        "student_info"
      ]
    },
    {
      "page": "submission_time",
      "title": "Recover a submission's download time",
      "topics": [
        "submission_time"
      ]
    },
    {
      "page": "tutorial_options",
      "title": "Set tutorial-wide options",
      "topics": [
        "tutorial_options"
      ]
    }
  ],
  "_readme": "https://github.com/ppbds/learnr2/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "digest",
    "evaluate",
    "fastmap",
    "fontawesome",
    "fs",
    "highr",
    "htmltools",
    "httpuv",
    "jquerylib",
    "jsonlite",
    "knitr",
    "later",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "otel",
    "processx",
    "promises",
    "ps",
    "quarto",
    "R6",
    "rappdirs",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "rstudioapi",
    "sass",
    "tinytex",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "translating.qmd",
      "filename": "translating.html",
      "title": "Translating learnr Tutorials",
      "engine": "quarto::html",
      "headings": [
        "Where things go",
        "Quick reference",
        "The YAML header",
        "Setup chunks and boilerplate",
        "Chunk labels",
        "Hide the source of widget chunks",
        "Exercise cells",
        "Exercise setup",
        "Hints and solutions",
        "Grading",
        "Questions",
        "Screenshot questions",
        "Voice questions",
        "Images",
        "Sections and the Continue button",
        "Packages, and code that runs at render time",
        "The page needs nothing installed",
        "Don't mention the old packages",
        "Showing syntax without running it",
        "Code, commands and output",
        "Language",
        "Check it by rendering it",
        "One learnr2 tutorial in a classic learnr package"
      ],
      "created": "2026-10-08 15:40:07",
      "modified": "2026-11-10 22:19:46",
      "commits": 14
    },
    {
      "source": "ai.qmd",
      "filename": "ai.html",
      "title": "Tutorials in the Age of AI",
      "engine": "quarto::html",
      "headings": [
        "Introduction",
        "Philosophy",
        "Overview",
        "Topics",
        "Questions",
        "Submit once, then it's locked",
        "The flow of an exercise",
        "Code cells",
        "Knowledge drops",
        "Advice for knowledge drops",
        "Inputs",
        "Data",
        "Images",
        "Complex text",
        "Tutorial Introduction",
        "Tutorial Topics",
        "Plotting Questions",
        "Tutorial Summary",
        "Tutorials for a book",
        "Appendix: Checking a tutorial",
        "If devtools::check() fails",
        "Difficult bugs"
      ],
      "created": "2026-10-07 23:43:57",
      "modified": "2026-11-08 22:55:51",
      "commits": 11
    }
  ],
  "_score": 6.174931593528442,
  "_indexed": true,
  "_nocasepkg": "learnr2",
  "_universes": [
    "ppbds",
    "davidkane9"
  ],
  "_previous": "0.1.3.9014",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3.9015",
      "date": "2026-11-10T23:23:49.000Z",
      "distro": "resolute",
      "commit": "ea9b880f3252aa2e44d86b258e191f0a8b95a2de",
      "fileid": "https://r2.ropensci.org/f60341e3ad4490937e881f195e9785818c45cce2e5769cf13d0d88fc88326a78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ppbds/actions/runs/42922278926"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.3.9015",
      "date": "2026-11-10T23:23:51.000Z",
      "distro": "resolute",
      "commit": "ea9b880f3252aa2e44d86b258e191f0a8b95a2de",
      "fileid": "https://r2.ropensci.org/4252fb5e7823f3309789a57931ef836f6c2b8adf348c70aecc2624adc3051a37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ppbds/actions/runs/42922278926"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3.9015",
      "date": "2026-11-10T23:23:58.000Z",
      "commit": "ea9b880f3252aa2e44d86b258e191f0a8b95a2de",
      "fileid": "https://r2.ropensci.org/507aff30011ac17f95d00f0c2c7057572fd370eda7aa5e5f4726b64393044e39",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ppbds/actions/runs/42922278926"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.3.9015",
      "date": "2026-11-10T23:24:06.000Z",
      "commit": "ea9b880f3252aa2e44d86b258e191f0a8b95a2de",
      "fileid": "https://r2.ropensci.org/4c41650f8ad7fa14a92d2504b286d9f62d2027750c26d674857d5afcac582057",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ppbds/actions/runs/42922278926"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3.9015",
      "date": "2026-11-10T23:23:39.000Z",
      "commit": "ea9b880f3252aa2e44d86b258e191f0a8b95a2de",
      "fileid": "https://r2.ropensci.org/3e1883ddb6fa44800526c3bdce80a69363323eb4010bf0f249af3a0abf850efb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ppbds/actions/runs/42922278926"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3.9015",
      "date": "2026-11-10T23:23:24.000Z",
      "commit": "ea9b880f3252aa2e44d86b258e191f0a8b95a2de",
      "fileid": "https://r2.ropensci.org/b5696898e6b72dc20ff76f53460d9da7967207b136b3eb80bd3becfb8816ce1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ppbds/actions/runs/42922278926"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3.9015",
      "date": "2026-11-10T23:23:18.000Z",
      "commit": "ea9b880f3252aa2e44d86b258e191f0a8b95a2de",
      "fileid": "https://r2.ropensci.org/2beeadbee497efbe97d603a3a3eee219ced603c8359c93c044ed07dad8b80e38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ppbds/actions/runs/42922278926"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.3.9015",
      "date": "2026-11-10T23:23:22.000Z",
      "commit": "ea9b880f3252aa2e44d86b258e191f0a8b95a2de",
      "fileid": "https://r2.ropensci.org/d5ce469031effbe0b4f95729a464d112d030d92c3ef1525ed37c4ca2721f37a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ppbds/actions/runs/42922278926"
    }
  ]
}