diff --git a/TODO.md b/TODO.md index 6c1b6d3..48b96d3 100644 --- a/TODO.md +++ b/TODO.md @@ -3,6 +3,7 @@ *Inspired by * - [x] Implement site builder for a collection of notebooks leveraging the [rmarkdown site generator](https://bookdown.org/yihui/rmarkdown/rmarkdown-site.html), [render_site](https://rdrr.io/cran/rmarkdown/man/render_site.html) +- [x] Update `DESCRIPTION` and use description data in `README.Rmd` - [ ] Add problems and solutions to the training log, including how to get around the limitation that you can't debug R Notebooks. (considered and rejected the knitr-spin.R approach) - [ ] Add notes on resolving the error message generated by `use_package("tidyverse")` - [ ] Write a utility/maintenance function to verify: `renv::status`, `renv::clean`, and possibly `renv::update` - see @@ -10,5 +11,13 @@ - [ ] Review for ideas to include here - [ ] Review for ideas to include here - [ ] Add notes from -- [ ] Refactor site builder as an R function ? +- [ ] Refactor site builder as an R function + - wrapper for `rmarkdown::render_site()` + - run the build in a temporary directory like `render_site()` + - re-use code from `render_site()` to create list of R Notebooks + - dynamically build the `_site.yml` file using [yaml](https://github.com/viking/r-yaml/) with configuration settings passed to the wrapper function + - dynamically build the `index.Rmd` using `DESCRIPTION` + - support for additional links in the navbar + - order links by Title, not filename + - better logic for converting `html_notebook` to `html_document` - [ ] Implement [pkgdown](https://pkgdown.r-lib.org) ?