This is the source code for Statistical Audit Sampling with R (SASR), a (work in progress) book intended as a practical guide to Bayesian and classical auditing in the programming language R, with hands-on examples. Read the full book at https://koenderks.github.io/sasr.