RETURN-project / makeDataCube

Data management
Apache License 2.0
0 stars 0 forks source link

Test "make mask without fire data" failing #32

Open PabRod opened 3 years ago

PabRod commented 3 years ago

The test "make mask without fire data" is failing.

The problem seems to be in line:

https://github.com/RETURN-project/makeDataCube/blob/b512a87726c2879042aa789c297c44737c274569/tests/testthat/test-Prep_supporting_data.R#L127

Error in e1@ptr$logic_numb(e2, oper, .terra_environment$options@ptr) : 
  Expecting a single value: [extent=0].
  In addition: Warning message:
  In `names<-`(`*tmp*`, value = lcDates) :

 Error in e1@ptr$logic_numb(e2, oper, .terra_environment$options@ptr) : 
  Expecting a single value: [extent=0]. 
wandadk commented 3 years ago

Hi Pablo, I tried to reproduce the error, but everything seems to run without problems on my laptop. I'm not sure what might cause this bug.

PabRod commented 3 years ago

Then it is most likely related with me using an outdated version of Force.

I'll look into it and let you know.

PabRod commented 3 years ago

My hypothesis was wrong. The error persists also under FORCE 3.6.3 (latest version at the moment).