powered by
A fake repository allows to create reproducible examples for this package functions
fake_repo(path = tempfile(pattern = "git2r-"), as.package = FALSE)
Path to fake repository
Logical. Whether to add R/ and vignettes/ directories to fake a package
Character. Path of a fake repository used for reproducible examples. Fake repository contains a few files with an initiated git repository.
# NOT RUN { # Fake repository with git fake_repo() # Fake repository that looks like package with git fake_repo(as.package = TRUE) # }
Run the code above in your browser using DataLab