Learn R Programming

qwraps2 (version 0.5.2)

Rpkg: 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

Run this code
# NOT RUN {
Rpkg(qwraps2)
Rpkg("qwraps2")

CRANpkg(qwraps2)
CRANpkg("qwraps2")

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

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

# }

Run the code above in your browser using DataLab