Movatterモバイル変換


[0]ホーム

URL:


heddlr:Functional Programming Concepts for R Markdown Documents

Travis CI StatusCodecov CoverageCII Best PracticesPackage LifecycleRepo StatusCRAN VersionAppVeyor build statusHeddlr hex badge

R Markdown is anincredible tool, allowing you to trivially create professional-qualityHTML (and PDF and more) documents from simple Markdown documents.However, if those documents have sections which repeat multiple timesfor different slices of your data, you can wind up spending a lot oftime copying and pasting parts of your document. This can make it trickyto update your documents if you decide you want to tweak pieces of yourreport, and can force you to spend a lot of time updating anddouble-checking your document if you’re trying to report on informationfrom an changing data set.

heddlr seeks to address these challenges by providingtools to make your R Markdown DRYer (that is,don’trepeat yourself). By making it easier to dynamically piece togethercomponents of your document based on your data source,heddlr makes it easier for you to write cleaner documentsand create your reports faster.

For examples of what this looks like, check out theintrovignette and themoreinvolved example.

Installation

If the CRAN version badge above is green, you can install thereleased version of heddlr fromCRAN with:

install.packages("heddlr")

You can always get the most up-to-date development version with:

# install.packages("devtools")devtools::install_github("mikemahoney218/heddlr")

[8]ページ先頭

©2009-2025 Movatter.jp