Skip to contents

Function to create a wrapper version of the input function that run according to a logical condition. Useful for conditional pipelines. see https://community.rstudio.com/t/conditional-pipelines/6076/2

Usage

conditional(fun)

Arguments

fun

function