paste is being used incorrectly when constructing error message reporting invalid exclude_vars in range_bag.R:
|
if(!is.null(exclude_vars) && !all(exclude_vars %in% bioclim_vars)) { |
|
stop(paste("Only the following variables can be excluded:", |
|
bioclim_vars)) |
|
} |
This leads to:
Only the following variables can be excluded: bio01Only the following variables can be excluded: bio02Only the following variables can be excluded: bio03Only the following variables can be excluded: bio04Only the following variables can be excluded: bio05Only the following variables can be excluded: bio06Only the following variables can be excluded: bio07Only the following variables can be excluded: bio08Only the following variables can be excluded: bio09Only the following variables can be excluded: bio10Only the following variables can be excluded: bio11Only the following variables can be excluded: bio12Only the following variables can be excluded: bio13Only the following variables can be excluded: bio14Only the following variables can be excluded: bio15Only the following variables can be excluded: bio16Only the following variables can be excluded: bio17Only the following variables can be excluded: bio18Only the following variables can be excluded: bio19
pasteis being used incorrectly when constructing error message reporting invalidexclude_varsinrange_bag.R:edmaps/R/range_bag.R
Lines 100 to 103 in f57e423
This leads to: