To explain functionality and handling of the package a pdf build with Sweave or Rmarkdown is needed. It can also work as a basic package code test because it needs to be executable without error during package build.