datastorm-open / suncalc

R package for calculating sun/moon positions and phases, linked to suncalc.js
Other
43 stars 10 forks source link

Error when length of keep =1 #1

Closed mdwhitby closed 7 years ago

mdwhitby commented 7 years ago

Hello, great package - just what I need.

There is an error if a user only specifies one item to keep. ( I get around it by specifying a second, and then subsetting)

sunset <- getSunlightTimes(date=NIGHTS,

bthieurmel commented 7 years ago

Thanks. Fix for all functions on github, and so 0.2 coming soon on CRAN.