PEcAn.utils::mstmipvar()
condition has length > 1 error
#2981
Labels
PEcAn.utils::mstmipvar()
condition has length > 1 error
#2981
pecan/base/utils/R/utils.R
Line 38 in fbfcd2f
Should this line be
is.null()
instead ofis.na()
? When this gets called bymodel2netcdf.ED2()
,time
is a complex nested list.This results in a warning in older versions of R but are errors in R > 4.2.0 (see NEWS)
Tests run on older versions of R should be run with with
_R_CHECK_LENGTH_1_CONDITION_=true
to catch these as errors (I will open a separate issue for this though once I confirm if they currently are not run like this)The text was updated successfully, but these errors were encountered: