flux_fun_check: checking that arguments and columns are in the correct class

View source: R/flux_fun_check.R

flux_fun_checkR Documentation

checking that arguments and columns are in the correct class

Description

checking that arguments and columns are in the correct class

Usage

flux_fun_check(args, fn, msg, name_df = NA)

Arguments

args

list of arguments or dataframe to check

fn

list of functions used to check (is.numeric, is.character, ...)

msg

list of messages to return in case of failed check

name_df

in case args is a df with selected columns to check origdf is the original df to take the name from for a more obvious error message

Author(s)

Adam Klimes


fluxible documentation built on June 25, 2025, 1:08 a.m.