Closed etiennebacher closed 1 year ago
Looks like fields
was updated, thanks @dnychka
pak::pkg_deps_tree("fields")
#> fields 15.2 [new][dl] (4.05 MB)
#> ├─spam 2.9-1 [new][dl] (2.70 MB)
#> │ └─dotCall64 1.0-2 [new][dl] (138.21 kB)
#> ├─viridisLite 0.4.2 [new][dl] (1.30 MB)
#> └─maps 3.4.1 [new][dl] (3.10 MB)
#>
#> Key: [new] new | [dl] download
Created on 2023-08-30 with reprex v2.0.2
Hello, I see that
fields
is used as a dependency in a lot of packages. Therefore, I think it would be a good idea to reduce the number offields
's dependencies to reduce the risk of failures for all these packages.fields
depends onviridis
which itself depends onggplot2
, which has a large number of dependencies:viridis
importsggplot2
because it provides somescale_
functions. However it seems thatfields
only usesviridis
to create some colour palettes. This can be done withviridisLite
(which has no dependencies):I quickly skimmed through the code so maybe I missed something, but could you replace
viridis
byviridisLite
in theDepends
?