# NOT RUN {
path <- file.path(tempdir(), "myPackage")
unlink(path, recursive = TRUE)
usethis::create_package(path, open = FALSE)
repo <- git2r::init(path)
git2r::config(repo, user.name = "foobar", user.email = "foobar@nowhe.re")
git2r::add(repo = repo, path = "*")
git2r::commit(repo = repo, message = "Initial commit")
url <- provide_gitlab_url(path = path)
set_desc_url(url, path = path)
git2r::commits(repo)
git2r::status(repo)
readLines(file.path(path, "TODO.md"))
# }
Run the code above in your browser using DataLab