Date: 2017-07-13 12:16 Sender: Will KewLooks like this is an R > 3.4 related issue. R3.3.3 and 3.3.1 seem to work OK.
Could it be related to the following change for 3.4.0 :
https://cran.r-project.org/doc/manuals/r-release/NEWS.html
Arithmetic, logic (&, |) and comparison (aka ‘relational’, e.g., <, ==) operations with arrays now behave consistently, notably for arrays of length zero.
Arithmetic between length-1 arrays and longer non-arrays had silently dropped the array attributes and recycled. This now gives a warning and will signal an error in the future, as it has always for logic and comparison operations in these cases (e.g., compare matrix(1,1) + 2:3 and matrix(1,1) < 2:3). |