Learn R Programming

magrittr (version 1.0.1)

debug_pipe: Place a debug browser in a chain of commands.

Description

When using magrittr's piping syntax, it can be useful to to debug at certain steps within a chain. This is a simple wrapper around browser for this purpose.

Usage

debug_pipe(x)

Arguments

x
A value.

Value

  • returns the argument x.

Examples

Run this code
iris %>%
  debug_pipe %>%
  head

Run the code above in your browser using DataLab