e-sensing / sits

Satellite image time series in R
https://e-sensing.github.io/sitsbook/
GNU General Public License v2.0
479 stars 78 forks source link

Remove dependencies on packages "ptw", "signal" and "MASS" #407

Closed gilbertocamara closed 3 years ago

gilbertocamara commented 3 years ago

It is important to remove the dependencies of "sits", to improve portability and reduce loading time. Package "ptw" is only used in one function (sits_whitakker). Package "signal" is only used in sits_sgolay. Package MASS is only needed for linear and quadratic discriminant analysis. To remove these dependencies, do as follows:

(1) Lift codes from "ptw" and "signal" packages and put them inside sits. (2) Remove linear and quadratic discriminant analysis from machine learning methods.

gilbertocamara commented 3 years ago

Also include removal of dependency on "flexclust".