provide_gitlab_url {packager}R Documentation

Provide a ⁠gitlab⁠ URL for a Given Path

Description

Provide a ⁠gitlab⁠ URL for a Given Path

Usage

provide_gitlab_url(path = ".")

Arguments

path

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

Value

a character string giving a ⁠github⁠ URL.

Examples

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)

[Package packager version 1.15.3 Index]