all_codes_allowed: Check Species Codes for Compliance with a Given Coding

View source: R/fe_species_helper_functions.R

all_codes_allowedR Documentation

Check Species Codes for Compliance with a Given Coding

Description

Check Species Codes for Compliance with a Given Coding

Usage

all_codes_allowed(x, coding)

Arguments

x

Object of one of the fe_species_id classes or a character vector

coding

Name of the coding against which x is to be checked. Must be one of the entries in the column species_coding in the data file species_codings

Value

A list with two elements: 1) rqmt_ok which is TRUE if the requirement is fulfilled and FALSE otherwise; 2) err_message, the body of an error message to be used by the calling function (mentions all problematic elements of x)


ForestElementsR documentation built on April 3, 2025, 7:47 p.m.