assertAndRetrieveTidyValue: Retriever of `tidyselect`
Description
As forestpot has evolved we now primarily use `tidyverse` select style. This
function helps with backward compatibility
Usage
assertAndRetrieveTidyValue(
x,
value,
name = deparse(substitute(value)),
optional = FALSE
)
Value
value with attribute
Arguments
- x
The data with the potential value
- value
The value
- name
The name of the value
- optional
Is the value optional