PecanProject / pecan

The Predictive Ecosystem Analyzer (PEcAn) is an integrated ecological bioinformatics toolbox.
www.pecanproject.org
Other
202 stars 234 forks source link

assume nothing about characters after "PEcAn" in package name #3028

Closed infotroph closed 2 years ago

infotroph commented 2 years ago

Description

Updates the matching rule for treating a dependency as a PEcAn package, from "starts with PEcAn followed by at least one other character" to simply "starts with PEcAn"

Motivation and Context

generate_dependencies.R identifies dependencies between PEcAn packages by parsing DESCRIPTION files and looking for dependencies matching "^PEcAn.". The dot is treated as a wildcard, so this works as intended, but is confusing to read since it will be matching a literal dot in most but not all packages. Removing the dot makes it clearer that we don't care that characters come after the prefix.

Review Time Estimate

Types of changes

Checklist: