For example: Within fitted.FPCA, Hmisc::approxExtrap(...) can probably be dropped in favour of stats::spline( method = "natural", ... ). The performance deterioration will probably be minimal but we will be able to drop the depend to Hmisc which is a big dependency. Similarly dependencies on pracma and/or MASS probably could be trimmed too.
For example: Within
fitted.FPCA,Hmisc::approxExtrap(...)can probably be dropped in favour ofstats::spline( method = "natural", ... ). The performance deterioration will probably be minimal but we will be able to drop the depend toHmiscwhich is a big dependency. Similarly dependencies onpracmaand/orMASSprobably could be trimmed too.