Add a package's dependencies from its DESCRIPTION
Source:R/pixi_import.R
pixi_import_description.RdFor package developers: add what the package in the project needs to the
project, from its DESCRIPTION.
DependsandImports(andLinkingTo) go into the default feature, with their version constraints.Suggestsgo into atestfeature, with atestenvironment of the default andtestfeatures. It's in the same solve group as the default environment, so it tests the same versions.Depends: R (>= 4.1)becomes a constraint on R, if the project doesn't have R yet.
Each package is looked up on conda-forge, as r-<name>, and then on
bioconda, as bioconductor-<name>. Packages that are on neither are left
out, and listed.