knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

colonoscopy

Codecov test coverage Lifecycle: experimental R-CMD-check

colonoscopy provides functions and RStudio addins to easily add or remove explicit package scoping (::, :::)

Installation

# install.packages("devtools")
devtools::install_github("TylerGrantSmith/colonoscopy")

Example

scope will modify expressions or functions by appending explicit package references.

library(colonoscopy)
library(ggplot2)
scope("aes")
aes
scope(aes)
scope(aes, inPackage = FALSE)

unscope will modify expressions or functions by removing :: and ::: operators (and the package name).

unscope("ggplot2::alpha")
alpha
unscope(alpha)


TylerGrantSmith/colonoscopy documentation built on Aug. 22, 2022, 11:58 p.m.