lintr: Help with dplyr command construction

Description Usage Arguments Details Examples

Description

lintr() opens an interactive (shiny) app that lets you edit interactively a potentially complex dplyr chain of commands. It provides documentation and argument vetting.

Usage

1
lintr(Input)

Arguments

Input

A data frame or piped input from a chain of dplyr commands.

Details

On return, lintr() opens and editor to display and run the command. Often, the user will cut and paste this into a chunk in an Rmd document.

The name "lintr" refers to the famous lint program distributed with UNIX that checks C program files against common mistakes.

Examples

1
2
3
4
5
## Not run: require(mosaicData)
KidsFeet %>%
select( sex, age, length, width, biggerfoot)
%>% lintr()
## End(Not run)

dtkaplan/CommandHelper documentation built on May 15, 2019, 4:57 p.m.