Skip to content

Add function and run_tutorial parameter to delete cached html file before running tutorial #333

@schloerke

Description

@schloerke

Sometimes it's nice to have a fresh state when running a tutorial.

  • reset_tutorial(name, package)

    • Wrapper to rmarkdown::shiny_prerendered_clean
  • run_tutorial(name, package, ..., reset = FALSE)

    • Add reset = FALSE
    • Add the ... for "future parameter expansion" or "ignored".
    • If isTrue(reset) call reset_tutorial(name, package) before doing anything else

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty: intermediateEnterprising community members could helpeffort: low< 1 day of workhelp wantedSolution is well-specified enough that any community member could fixpriority: mediumCould be fixed before next releasetype: enhancementAdds a new, backwards-compatible feature

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions