Source: `r sprintf("https://github.com/curso-r/auth0/blob/master/inst/%s", rmarkdown::metadata$title)`

Don't forget to configure your environment variables.

Also, set the port, running something like options(shiny.port = 8080).

global.R

knitr::opts_chunk$set(eval=FALSE)
f <- system.file(sprintf("%s/global.R", rmarkdown::metadata$title), package = "auth0")
knitr::spin_child(f)

ui.R

f <- system.file(sprintf("%s/ui.R", rmarkdown::metadata$title), package = "auth0")
knitr::spin_child(f)

server.R

f <- system.file(sprintf("%s/server.R", rmarkdown::metadata$title), package = "auth0")
knitr::spin_child(f)

_auth0.yml

f <- system.file(sprintf("%s/_auth0.yml", rmarkdown::metadata$title), package = "auth0")
cat(readLines(f), sep = "\n")


curso-r/auth0 documentation built on Feb. 18, 2024, 6:05 p.m.