Releases: jacobbien/litr-project
litr 0.9.2
Major changes
- created
draft_*()
functions for more conveniently working from template - chunk references are formatted more nicely
litr::render()
now has an argumentfresh_session
. Setting this toFALSE
is useful for debugging a package since one can usedebug()
andbrowser()
interactively
litr 0.9.0
This release fixes an issue that arose when usethis
version 2.2.0 was released.
Note: To create version 0.9.0 of litr
(using version 0.8.0) required reverting to the previous released version of usethis
:
remotes::install_github("r-lib/[email protected]")
Another notable change in this release is that litr::render()
now has a fresh_session
argument. Setting this to FALSE is convenient for debugging. This variable by default is TRUE, matching the previous behavior.
litr 0.8.0
The main changes:
- Added
pkgdown
link to packages-in-the-wild page - Avoid a
litr::load_all()
error that occurs when package is copied to a directory where it already exists - Fix a problem with reference chunk hyperlinks within
bookdown
- Give a nicer error message for nonexistent chunk references
- Allow
add_vignettes()
to take non-rmd files (see #46) - Make
RcppArmadillo
work and add template (see #47)
litr 0.7.0
The main changes:
- add
with_cleanup()
, which ensures that litr hash gets written to DESCRIPTION file if an error occurs during rendering (see issues #34 and #35) - ANSI stuff to fix the way some devtools output is displayed (see issue #26)
- add
litr::load_all()
andminimal_eval = TRUE
option for better workflow (see issue #25) - fix skipped chunk behavior for when
echo = FALSE
andinclude = FALSE
are used (see issue #29)
litr 0.6.0
The main changes:
- make
pkgdown
'sdocs/
live outside of package where github pages can find it - add
send_to
option to allow user to specify where code should go - fix "corrupt .rdb file" issue by unloading package before installing
litr 0.5.0
The main changes:
- use the new 0.4.0 functionality to include README, hex sticker, vignettes, and pkgdown.
- refine pkgdown site
- add basic-example.Rmd vignette to pkgdown
- define custom output formats:
litr_html_document
,litr_pdf_document
, andlitr_gitbook
(andlitrify_output_format()
, which is used by these). - rewrite
add_*_hyperlinks()
functions to accommodate multiple .html files (for thebookdown
case) - rework
litr::render()
in light of the output formats and rewrite the description accordingly
litr 0.4.0
The main changes from the previous version are the following:
- Use the features in 0.0.3 within
create-litr.Rmd
- Add
examples/
folder with the results of litr-knitting each template and create a table in the README - Add table of real R packages that use
litr
. - Knuth-style referencing of code chunks (in which <> does not get replaced with the actual code but rather becomes a link).
- Functionality for adding "extras" such as a README, vignettes, a pkgdown site, and a package hex sticker.
Note: We changed the version numbering system from 0.0.x to 0.x.0 (previous releases should be thought of as 0.x.0)
litr 0.0.3
The main changes from the previous version are the following:
- Change criterion for a code block to be sent to the package as a test.
- Call
usethis::use_testthat()
internally (when there is at least one test) so that it does not need to be increate-pkg.Rmd
anymore. - Change how testing of
litr
is done so that correct version is tested. (This is a substantial change that slows down the render time ofcreate-litr.Rmd
.) - Add
Rcpp
functionality and a template. - Add
package_doc
language engine for creating package-level documentation. - Get rid of setup code chunk in
skeleton.Rmd
by moving this code intolitr::render()
. - Be explicit about the version of
litr
used to rendercreate-pkg.Rmd
by including it in the DESCRIPTION. Also, make sure that the version oflitr
used when renderingcreate-litr.Rmd
is from the latest release on github.
litr 0.0.2
This is the first version of litr
that was written using literate programming. The package is functionally equivalent to v0.0.1, but this time it was created using litr::render("create-litr.Rmd")
. See README for more details.
litr 0.0.1
This is the "progenitor" litr
version. That is, it will be the last version of litr
written in the traditional, non-literate-programming way. From now on, each subsequent version of litr
will be the output of a call to litr::render()
from the previous version. This will allow us to use literate programming (and in particular litr
) for litr
.