check_arguments: Check if arguments are valid (internal)

View source: R/utils.R

check_argumentsR Documentation

Check if arguments are valid (internal)

Description

This function checks whether user arguments are valid in terms of being an available argument or of the correct class.

Usage

check_arguments(x, ref)

Arguments

x

list. The user-query list to compare against ref.

ref

list. The reference list to compare x against.

Value

Error messages or TRUE if all arguments are valid.


rmacrostrat documentation built on Oct. 18, 2024, 5:10 p.m.