Nothing
#' Variety check
#'
#' Checks if varieties are into the allowed range (1,2 or 3).
#' @param df Dataframe variety column.
#' @return No return, only performs a check.
#' @export
check_variety <- function(df){
check_nom_num_df(df)
if(max(df) > 3){
stop('Allowed varieties: 1, 2 or 3 ')
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.