marinebon / infographiqR

R functions for creation of interactive intelligent infographics, ie infographiq
https://marinebon.github.io/infographiqR
MIT License
11 stars 2 forks source link

rm error msg in modal with no plots #30

Closed reikopm closed 7 years ago

reikopm commented 7 years ago

Jennifer wanted text and a link to the SB LTER site for the kelp canopy icon, so there is no graph. I added the text to the modal caption which appears with error messages. Can these be removed? kelp_canopy_errors

7yl4r commented 7 years ago

fun R tidbit of the day: for (i in 1:0) runs twice because of decrementing range indexing, so all this needed was an extra if(nrow(data) > 0)

> for(i in 1:0){ print(".")}
[1] "."
[1] "."