aphalo / photobiology

Package ‘photobiology’ defines a system of classes for storing spectral data and accompanying methods and operators. This is the core of a suite of R packages for photobiological calculations.
4 stars 1 forks source link

Move "astronomy" and "atmosphere" related code to a separate package #25

Open aphalo opened 9 months ago

aphalo commented 9 months ago

These functions are used at least by one reverse dependency 'afthd' and depending on 'photobiology' indirectly adds irrelevant dependencies to 'afthd', still these functions depend on 'lubridate'.

Another advantage would be that a separate package would be easier to find for possible users. Vignettes are already separate, so the split should be rather easy.

What would be a good name? maybe 'suncalcMeeus' as 'suncalc' already exists in CRAN and uses a different set of equations.

aphalo commented 3 months ago

I see a note in CRAN about the size of the R an man folders. The package has grown in size, just because of the shear number of methods and functions it defines. The astronomy-related code is the only rather independent group of functions and can be rather easily moved to a new package.