This update is in part the result of comparing the values returned by functions
day_night() to those returned by equivalent functions from other R packages and to the online NOAA Solar Calculator (considered the best implementation of Meuus astronomical algirithms, which are currently the most precise available). To see the whole story as it develops, please, have a look at my post describing these tests.
Changes from version 0.9.26, the most recent CRAN release, are:
- Improve performance of
day_night()and implement Meuus algorithm for julian day. End result is slightly slower performance but higher precision and broader range of dates that are handled correctly.
- Make sure functions work correctly when a tibble is passed as argument to parameter geocode. In addition tolerate
addresscolumn being a factor.
- Values returned by
day_night()have changed very slightly as a result of the improved julian day calculation.
Documentation web site at http://docs.r4photobiology.info/photobiology/ includes all help pages, with output from all examples, and vignettes in HTML format.
NOTE: The updated package is on its way to CRAN.
Please raise issues concerning bugs or enhancements to this package through Bitbucket https://bitbucket.org/aphalo/photobiology/issues