Open jdpye opened 2 years ago
Notes regarding this from working on #187:
plotly
seems to be unused and can be droppedtint
also doesn't seem to be used (at least in main
) and could be droppedknitr
can move from Imports to Suggests (it's only used to build vignettes)
rmarkdown
can also be moved, but I'm not 100%fasttime
was apparently removed in v0.3.0. lubridate
still calls it, but it may not need to be in glatos
dependenciesmagrittr
dependency could be removed if depending on R >= 4.1.0 and using the native pipe |>
. No dot functionality that magrittr
allows over the native pipe is used, so it'd just be a matter of finding and replacing.If you want to skip using pkgnet, you can see the dependencies (and their dependencies) a couple lines down the R-universe page: https://ocean-tracking-network.r-universe.dev/glatos
zip
is used in one place (position_heat_map
). Purposefully introduced in https://github.com/ocean-tracking-network/glatos/commit/e93d5ed2f5fc0b3a41c4fa25dd2b28d5559eccce. Added to DESCRIPTION
in https://github.com/ocean-tracking-network/glatos/pull/204/commits/c046cc51e598350b347417806188392a0ad08085
unit
is used in one place (vis-make_transition3
). Added to DESCRIPTION
in a50334a, seems to have been mistakenly removed in a merge conflict immediately after.
gdalUtilities
(gdalUtils
here) is used in one place (vis-make_transition
) and is warned for removal. gdalUtilities
dependency can be removed with refactoring to sf::gdal_utils
or final removal of make_transition
; see #234.
In GitLab by @jdpye on Mar 18, 2020, 09:50
Ran a dependency analysis with
pkgnet
and discovered a whole bunch of dependencies. Some of this can be mitigated by droppingplyr
wherever we're using it, but while we have this opportunity we should see what other packages we are hanging this one on and whether we can cut that down.NB: You can generate a report of your own, with an interactive node-tree diagram, as a HTML page set w/ pkgnet by running: