Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 14 Aug 14:43
· 0 commits to b88d05172893e8aff23ed77864f18d23997fc5cb since this release

Changed

  • Restructured the repo from three independent components
    (_extensions/quartifyr/, styling/, r/) into a single installable
    R package (quartifyr) at the repo root
    , modeled on the sibling
    deckifyr project's architecture (issue #13):
    • styling/ moved to inst/python/ and is now called from R via a
      pyro bridge (R/run-python.R, styling_build_reference_docx()/
      styling_apply_layout()/etc.) instead of shelling out to a
      separately-managed CLI binary path; it's still independently
      pip/uv-installable as quartifyr-styling from the same source tree
      (repo-root pyproject.toml).
    • _extensions/quartifyr/ moved to inst/extensions/quartifyr/,
      installable via the new install_quartifyr_extension() or still via
      quarto add jprybylski/quartifyr.
    • r/'s render_report() is now quartifyr::render_report(), a real
      exported function rather than a source()d script; the toolkit_root/
      venv_bin parameters are gone (the package resolves its own bundled
      assets via system.file()). r/render.R's CLI wrapper is gone;
      examples/*/render.R now library(quartifyr) instead of source()-ing
      a sibling file.
    • New: initialize_quartifyr_project(), provisioning a report project's
      quartifyr pyro dependency group (call once per project, alongside
      reportifyr::initialize_report_project()).
    • The quartifyr R package itself is not renv-managed (no
      renv.lock at the package root); install it into a report project's
      own renv library with renv::install("jprybylski/quartifyr").
    • templates/org-reference.docx moved to inst/templates/.
  • Docs site moved from a hand-authored Jekyll site (docs/ as source) to
    pkgdown: narrative pages are now
    vignettes/articles/*.Rmd, function reference is generated from
    roxygen comments, and docs/ itself is pure build output (no longer
    committed). Terminal-recording GIFs/screenshots moved from
    docs/assets/img/ to man/figures/; VHS recipes moved from
    docs/assets/tapes/ to dev/tapes/.
  • Release automation ported from deckifyr's sibling project
    xpose.xtras: a VERSION file at the repo root drives
    .github/workflows/release.yaml, which syncs DESCRIPTION's
    Version and this file's own heading structure, tags, and publishes a
    GitHub release on push to main (.github/scripts/ sync-release-metadata.R). Never touches CRAN. CHANGELOG.md (Keep a
    Changelog format) is retired in favor of this file, the format the
    release automation and pkgdown's News page both expect natively.
  • DESCRIPTION gained Depends: R (>= 4.1.0), matching reportifyr/
    pyro's own floor (both already require it) -- not an arbitrary
    style constraint, so native pipes (|>) and lambda shorthand
    (\(...)) are fine to use in this package's own R code.

Added

  • action.yml: a reusable composite GitHub Action wrapping
    render_report(), so another repo can render its report (and upload
    the result as a workflow artifact) without hand-rolling the Quarto/R/
    reportifyr setup steps itself. See
    the GitHub Action article
    (issue #9). Its reference-doc input lets an external caller point a
    render at an org's own reference-doc instead of quartifyr's bundled
    default.