Wama [ˈvama] noun German acronym for Waschmaschine (washer)
When iterating during local development, there's a lot of lather, rinse, repeat. wama does it for you, in the background.
For example, you might often want to run:
devtools::document()
pkgdown::build_site()
pkgdown::preview_site()
and other such workflows.
Existing keyboard shortcuts are a great help, but sometimes even that is too much of a hassle.
For rapid iterations, especially on shiny apps or when polishing the documentation, automatically re-running these steps saves time and helps you stay focused.
wama watches relevant files and folders for changes, and then automatically triggers these jobs in the background.
Important to note:
man/
and NAMESPACE
.DESCRIPTION
.option(shiny.autoreload = TRUE)
is a native shiny feature to automatically reload a shiny app during development when relevant files are changed.
However, it doesn't work with shiny apps in packages, or which rely on changes in packages under development.testthat::auto_test()
watches source and test files and reruns relevant tests.
However, it seems to be retired.And I'm really hoping I didn't miss something and am uselessy reinventing the wheel here ... 😬.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.