Learn R Programming

packager (version 1.15.2)

provide_gitlab_url: Provide a gitlab URL for a Given Path

Description

Provide a gitlab URL for a Given Path

Usage

provide_gitlab_url(path = ".")

Value

a character string giving a github

URL.

Arguments

path

Path to the package directory (see devtools::as.package).

Examples

Run this code
path <- file.path(tempdir(), "myPackage")
unlink(path, recursive = TRUE)
usethis::create_package(path, open = FALSE)
try(provide_gitlab_url(path))
gert::git_init(path)
provide_gitlab_url(path)
invisible(desc::desc_set(Package = "bar", file = path))
provide_gitlab_url(path)

Run the code above in your browser using DataLab