- Improvements and bug fixes:
- Removed
LazyData
and addedtibble
toSuggests:
inDESCRIPTION
to silence NOTEs.
- Removed
- New functionality:
provide_parameters
replaces your oldrmarkdown::render(..., params = list(x = x, y = y))
calls with a simplerrmarkdown::render(..., params = provide_parameters(x, y))
bulk_replace
will change a string across all of a list of provided files, making it easier to change variables as needed.
- Functionality changes:
heddle
now warns you when it doesn't find your placeholder in the pattern, and lets you replicate patterns without replacement by providingNA
as argument to...
- Documentation changes:
heddle
's miniature essay on...
has moved to a separate sectionexport_template
now strips carriage returns from documents by default, preventing your templates from turning into extremely sparse haikus. To keep your \r intact, setstrip.carriage.returns
toFALSE
- Documentation changes:
heddle
's miniature essay on...
has moved to a separate section
- Internal changes:
- Development now happens on feature branches, with
master
reflecting the (more) stable development branch and CRAN reflecting the release version.
- Development now happens on feature branches, with
- Deprecations:
assemble_draft
has been deprecated in favor ofimport_draft
, and will be removed in a future release.import_draft
works exactly the same asassemble_draft
(in fact,assemble_draft
is just an alias forimport_draft
) and more clearly communicates the relationship withimport_pattern
while also making the distinction fromextract_draft
more obvious.
- New functionality:
extract_pattern
now helps you extract individual patterns from a larger plaintext file, by indicating via signpost keywords what to importextract_draft
makes it easy to extract multiple patterns from the same file in a single function call, returning a single draft objectuse_parameters
lets you add parameter boilerplate to your templates easily, including objects in your YAML header and initializing them in an R chunk to let you use the same objects in your report that you used to make it
- Functionality changes:
heddle
now can handle patterns vectors with length > 1 (in case you want to store your pattern as a column in a dataframe next to the data you're replacing it with)
- Documentation changes:
- Examples now utilize
tempdir()
to hopefully pass CRAN checks
- Examples now utilize
- Internal changes:
- Code now (mostly) passes
goodpractices::gp()
- Removed DATE from DESCRIPTION
- Travis builds now cache packages
- Code now (mostly) passes
- This will be the first version submitted to CRAN
- Functionality changes:
- make_template now uses vectorized
vapply
functions instead of loops heddle
stops you a second earlier if yourstrip.whitespace
argument is bad
- make_template now uses vectorized
- Documentation changes:
- Functions are now grouped into families for easier reference
- More involved example vignette edited, links to final product
- Examples added to function documentation
- Typo fixed in flexdashboard vignette
- Website overhauled
README
edits
- Internal changes:
- Added
codemeta
- Added
- Functionality changes:
assemble_draft()
now wraps anlapply
call and is much more open to different naming conventions- Remove
utils-tidy-eval
, as it doesn't provide much utility and makes finding functions inheddlr::
harder. - Fixed a few latent bugs in heddle:
- Export methods in order to, well, use the methods
- Fixed a few latent bugs in make_template:
- Export methods in order to, well, use the methods
- Fix vector handling so nested vectors are flattened properly
- Export export_template and fix documentation
- Documentation changes:
- Add documentation page for
?heddlr
- Add URLs to
DESCRIPTION
- Add links between vignettes
- Remove
README.Rmd
until needed - Remove most
README
content in favor of vignette - Change package
lifecycle
to maturing - Add
CII
badge (closes issue #7) - New vignettes introducing the concepts behind heddlr
- New hidden docs pages to be linked from vignettes and other docs
- Add Suggests section for vignettes
- Add date to
DESCRIPTION
- Edit
DESCRIPTION
to passR CMD CHECK
- Add documentation page for
- Internal changes:
- Remove most
tidyverse
links from GitHub customizations - Add quick "do this before committing" shell script
- Style .R and .Rmd files
- Only test on r-oldrel, r-release, and r-devel (Linux and Windows only)
- Remove most
- Implement
heddle
function, making it easy to swap out placeholder keywords in piped code - Implement
make_template
function, letting you combineheddle
elements into single exportable templates - Code styled and documentation properly linked (I think!)
- Github project pieces added (Contributing guidelines, code of conduct, issue templates)
- Builds now test against every version of R on Linux and Mac with support in Travis and rlang