Skip to contents

Unzip the slides folder

Usage

setup_slides(
  folder,
  zipfile = "slides.zip",
  slidefolder = "slides",
  destfolder = "slides"
)

Arguments

folder

The destination to copy to within the user's home. This must be supplied by the user.

zipfile

The name of the bundled slide file.

slidefolder

The name of the course packet folder to be created

Value

The zipfile is copied to folder and its contents expanded into a directory, the slidefolder.

Details

Copy slide scaffolding in slides.zip to the slides folder

Transfers an included zip file from the package to slides. Since we now make the CSS, JS, and other components available via a md document format that wraps Xaringan's moon_reader, and also provide a template that will create a directory etc, we don't need this way of doing things anymore when using the package locally. But it is still useful when e.g. putting slides in a Quarto website and the libs folder needs to be provided.

Author

Kieran Healy

Examples

if (FALSE) {
if(interactive()){
 #EXAMPLE1
 }
}
setup_slides()
#> Error in setup_slides(): You must specify a destination for the notes, e.g., 'here::here()'