tutorials function

Open and extract code from tutorials

Open and extract code from tutorials

These functions make it easy to use the tutorials in the {manynet} and {migraph} packages:

  • run_tute() runs a {learnr} tutorial from either the {manynet} or {migraph} packages, wraps learnr::run_tutorial() with some convenience.
  • extract_tute() extracts and opens just the solution code from a {manynet} or {migraph} tutorial, saving the .R script to the current working directory.
run_tute(tute) extract_tute(tute)

Arguments

  • tute: String, name of the tutorial (e.g. "tutorial2").
  • Maintainer: James Hollway
  • License: MIT + file LICENSE
  • Last published: 2024-11-05