Rpkg: Formatting Style on URLs for packages on CRAN, Github, and...

View source: R/frmt.R

RpkgR Documentation

Formatting Style on URLs for packages on CRAN, Github, and Gitlab.

Description

Functions for controlling the look of package names in markdown created vignettes and easy curating of URLs for the packages.

Usage

Rpkg(pkg)

CRANpkg(pkg)

Githubpkg(pkg, username)

Gitlabpkg(pkg, username)

Arguments

pkg

The name of the package, will work as a quoted or raw name.

username

username for Github.com or Gitlab.com

Examples


Rpkg(qwraps2)
Rpkg("qwraps2")

CRANpkg(qwraps2)
CRANpkg("qwraps2")

Githubpkg(qwraps2, "dewittpe")
Githubpkg("qwraps2", dewittpe)

Gitlabpkg(qwraps2, "dewittpe")
Gitlabpkg("qwraps2", dewittpe)


dewittpe/qwraps2 documentation built on Jan. 4, 2024, 1:59 p.m.