Skip to content

Conversation

@brownag
Copy link
Member

@brownag brownag commented Jan 6, 2026

For soilDB 2.9.x milestone, to be merged into #426 if testing succeeds.

Draft PR to remove dependency on httr and xml2 within SDA_query. httr is basically just syntactic sugar around curl, and xml2 is only needed for parsing ServiceExceptions when errors occur. jsonlite (or perhaps yyjsonr replacement) can be moved to imports. That way any installation of soilDB with imports only can run SDA_query without installing any additional packages.

  • review unescaping logic, test with more service exception types
  • move jsonlite to imports, or replace with yyjsonr

 - the "daily maintenance" response is not a standard JSON/XML service exception, just an HTML page
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.

1 participant