The Online Companion to the Network Science in Archaeology book was generated as an R Bookdown project.
The full project and tutorials are available here (opens in a new tab): https://book.archnetworks.net
The code, data, and other materials used to generate the tutorials are available on GitHub here: https://github.com/mpeeples2008/ArchNetSci