validate_arguments: Validate arguments

Description Usage Value

View source: R/validate_arguments.R

Description

Validates arguments that are frequently used in geckor functions

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
validate_arguments(
  arg_max_attempts = NULL,
  arg_coin_ids = NULL,
  arg_vs_currencies = NULL,
  arg_exchange_id = NULL,
  arg_include_market_cap = NULL,
  arg_include_24h_vol = NULL,
  arg_include_24h_change = NULL,
  arg_date = NULL
)

Value

This internal function is to be used for its side effects. If any of the checks is not passed, the respective error is returned. If all checks are passed successfully, nothing is returned.


geckor documentation built on Nov. 1, 2021, 5:07 p.m.