Skip to content
Snippets Groups Projects

Resolve "Migrate `getDataPath` function and environment"

Merged David Dorchies requested to merge 2-migrate-getdatapath-function-and-environment into main
Files
40
+ 2
0
@@ -8,9 +8,11 @@
#' @export
#'
#' @examples
#' \dontrun{
#' path <- tempdir()
#' add_gitignore(path = path)
#' readLines(file.path(path, ".gitignore"))
#' }
add_gitignore <- function(path = ".",
url = "https://raw.githubusercontent.com/github/gitignore/main/R.gitignore",
additional_patterns = c("/public")) {
Loading