Skip to content

Remove DB query functions — migrate to fresh#20

Merged
NewGraphEnvironment merged 1 commit intomainfrom
issue-19-remove-query-functions
Mar 11, 2026
Merged

Remove DB query functions — migrate to fresh#20
NewGraphEnvironment merged 1 commit intomainfrom
issue-19-remove-query-functions

Conversation

@NewGraphEnvironment
Copy link
Copy Markdown
Owner

Summary

  • Remove fly_query_habitat(), fly_query_lakes(), and fly_trim_habitat() — these database query functions belong in fresh
  • Remove DBI, RPostgres from Suggests and glue from Imports
  • Remove skip_if_no_db() test helper
  • Clean up unused sf imports (st_zm, st_as_sf, st_set_crs)
  • Update CLAUDE.md to remove DB function references

Breaking change — package is new (v0.1.3) and we are the only users.

Fixes #19
Relates to NewGraphEnvironment/sred-2025-2026#17

Test plan

  • devtools::test() — 86 tests pass (9 DB tests removed)
  • No remaining references to removed functions in R/, tests/, or vignettes
  • glue confirmed only used by removed functions

🤖 Generated with Claude Code

Database query functions belong in fresh, not an airphoto tool.
Removes DBI, RPostgres, glue dependencies and skip_if_no_db helper.

Fixes #19

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@NewGraphEnvironment NewGraphEnvironment merged commit b452a5e into main Mar 11, 2026
1 check passed
@NewGraphEnvironment NewGraphEnvironment deleted the issue-19-remove-query-functions branch March 11, 2026 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove fly_query_* and fly_trim_habitat — migrate to fresh

1 participant