Skip to content

Fix failing roxygen examples and broken conceptual vignette #3

Description

@danmcgraw94

Several function examples fail when invoked via the Help tab's "Run examples" link because they reference variables defined outside the example block. Additionally, the conceptual realization vignette fails to build.

Failing examples

  • mod_puls_routing()scaled_hydrograph not found
  • rfaR()peakStages not found
  • scale_hydrograph()cc_inflowhydro_15min and cc_inflowhydro_6hr not found

Fix by making each example self-contained, following the standard pipeline:
jmd_hydro_jun1965_15minhydrograph_setup()scale_hydrograph()mod_puls_routing().

Failing vignette

  • rfaR-Realization-Conceptual.Rmdtheme_rfar_conceptual not found. Likely a missing library(rfaR) call in the vignette setup chunk, or a namespace issue.

Feedback source

Raised by Sadie.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentationpriority: highBlocks release or breaks core functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions