View source: R/site_make_child.R
site_make_child | R Documentation |
Copies baseline files from an existing data site. Useful for making different sites based on the same data.
site_make_child(parent, dir, update = FALSE, overwrite = FALSE,
protect = "site.R", include = NULL, quiet = !interactive())
parent |
Directory or GitHub repository name of the existing site to be copied. |
dir |
Directory of the child site to put copies in. |
update |
Logical; if |
overwrite |
Logical; if |
protect |
A vector of file paths to prevent from being overwritten, relative to the site directory. |
include |
A vector of paths to additional files to update from the parent site, relative to the site's base directory. |
quiet |
Logical; if |
Invisible path to the child directory.
## Not run:
site_make_child("uva-bi-sdad/community_example", "../community_example")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.