ESMValGroup / ESMValTool

ESMValTool: A community diagnostic and performance metrics tool for routine evaluation of Earth system models in CMIP
https://www.esmvaltool.org
Apache License 2.0
210 stars 121 forks source link

Broken R recipes from v2.11.0 due to use of R v4.3.0 #3674

Closed ehogan closed 5 days ago

ehogan commented 1 week ago

Describe the bug The following R recipes failed in the recent ESMValCore v2.11.0rc1 testing:

According to https://cran.r-project.org/doc/manuals/r-release/NEWS.html, v4.3.0 introduced the following change:

Calling && or || with LHS or (if evaluated) RHS of length greater than one is now always an error, with a report of the form

'length = 4' in coercion to 'logical(1)'

Possible solutions: