shiny
htmltools
req()
seq()
on.exit()
observe()
isolate
observeEvent
eventReactive
reactiveTimer()
invalidateLater(ms)
git
Turn your app into a package
Create a test file for each function
R/module.R
usethis::use_test()
tests/testthat/test-module.R
expect_
test_that()
test_that("as.vector() strips names", { # ARRANGE (GIVEN) x <- c(a = 1, b = 2) # ACT (WHEN) x_unnamed <- as.vector(x) # ASSERT (THEN) expect_equal(x_unnamed, c(1, 2)) })