PredictiveEcology / LandWeb

Shared repository for Landweb modules
https://predictiveecology.github.io/LandWeb/
GNU General Public License v3.0
3 stars 2 forks source link

warnings running simulations #106

Closed achubaty closed 5 years ago

achubaty commented 5 years ago

Following recent module and package changes, I'm now seeing the following warnings when running simulations:

There were 50 or more warnings (use warnings() to see the first 50)
> warnings()
Warning messages:
1: Removed 1 rows containing missing values (position_stack).
2: Removed 1 rows containing missing values (position_stack).
3: Removed 1 rows containing missing values (position_stack).
4: Removed 1 rows containing missing values (position_stack).
5: Removed 1 rows containing missing values (position_stack).
6: Removed 1 rows containing missing values (position_stack).
7: Removed 1 rows containing missing values (position_stack).
8: Removed 1 rows containing missing values (position_stack).
9: Removed 1 rows containing missing values (position_stack).
10: Removed 1 rows containing missing values (position_stack).
...

These are repeated to the max of 50 times, but with different number of rows reported to contain missing values.

achubaty commented 5 years ago

@ianmseddy @CeresBarros @eliotmcintire I'm not sure where these are being generated, so any suggestions you have are appreciated

eliotmcintire commented 5 years ago

Done -- these were from ggplot with a data.frame with NA values, which occurs whenever there was a plot with NA values. This would occur commonly, for example, where FRI was < 30, there would be an entry in the ggplot data source for FRI = 20.