Skip to content

Remove fly_query_* and fly_trim_habitat — migrate to fresh #19

@NewGraphEnvironment

Description

@NewGraphEnvironment

Problem

fly_query_habitat(), fly_query_lakes(), and fly_trim_habitat() query bcfishpass/fwapg databases. These are spatial database functions that belong in fresh, not in an airphoto tool.

They also pull in DBI and RPostgres as Suggests dependencies that non-DB users don't need.

Proposed Solution

Remove:

  • R/fly_query_habitat.R, R/fly_query_lakes.R, R/fly_trim_habitat.R
  • tests/testthat/test-fly_query_habitat.R, tests/testthat/test-fly_query_lakes.R
  • man/fly_query_habitat.Rd, man/fly_query_lakes.Rd, man/fly_trim_habitat.Rd
  • DBI and RPostgres from DESCRIPTION Suggests
  • skip_if_no_db() test helper
  • CLAUDE.md reference to DB functions

Bump to v0.2.0 (breaking change — functions removed). Package is new (v0.1.3) and we are the only users. No deprecation cycle needed.

Not referenced in vignettes or README — clean removal.

Related

Functions should migrate to fresh where they fit alongside other FWA/bcfishpass query functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions