The previous object cdo_version
in CDORemap() caused problem if the version has non-numeric value like "1.9.9rc1". It returned error "Error: invalid version specification '1.9.9rc1'
" because cdo_version
was used in as.numeric_version(). The problem is solved by removing the non-numeric part before the checks (it is what .LoadDataFile() in Utils.R does, actually.)