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

Travis build status AppVeyor build status Coverage status

inspectoRGadget

inspectoRGadget hex sticker

The goal of inspectoRGadget is to meet an urgent need spelled out in this twitter plea

tweet call to arms

Installation

You can install the development version of inspectoRGadget from github with:

# install.packages("devtools")
devtools::install_github("adam-gruer/inspectoRGadget")

Example

Step 1: gadgetize your favourite installed package by calling gogo_gadget_arms() Wowsers! All that package's functions and objects can now be used by typing gogo_{function/object}

library(inspectoRGadget)

gogo_gadget_arms("dplyr")
library(inspectoRGadget)
gogo_gadget_arms("dplyr")

Step 2: gogo_ all the things! Here we gogo_filter() the beaver1 dataset to find when the critter was active

gogo_filter(beaver1, activ == 1)

All those gogo_s now live in your search path in an environment called gadget_arms (thanks for the tip Hadley Wickam!)

This is not really important unless you have already loaded an important, useful package also called gadget_arms. In that case, sorry, together we probably busted something, I see error messages in your future.

Please note there are probably lots of reasons this is not a good idea but neither Brain nor Penny was around to stop us

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.



adam-gruer/inspectoRGadget documentation built on May 17, 2019, 11:06 a.m.