Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Aariq
Copy link
Collaborator

@Aariq Aariq commented Mar 25, 2025

  • Removes unused & commented out code
  • removes internal function npn_createArgList() and replaces fully with explode_query()
  • adds validation to check that climate_data argument is length 1 logical
  • fixes a bug I noticed with npn_get_data() when an empty list is returned. Was producing an uniformative error, now returns an emtpy tibble
  • modifies some tests to use smaller taxanomic groups to reduce data size
  • unskips a bunch of tests that no longer take a long time to run because they can be mocked with vcr
  • improves tests that check for missing column names ('Uninitialized column' warnings in skipped tests #116)

@Aariq Aariq changed the title Cleanup TODOs Cleanup TODOs & unskip tests Apr 4, 2025
@Aariq Aariq linked an issue Apr 22, 2025 that may be closed by this pull request
Copy link
Collaborator

@ezylstra ezylstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I installed rnpn at this stage (#108 ), I still got unhelpful error messages when npn_get_data() didn't return any records. However, I think the issue is subsequently resolved with fixes in #123.

I think everything else looks good, though I didn't go through all the changes made to tests since that's not stuff I'm yet familiar with.

@Aariq Aariq mentioned this pull request Jul 25, 2025
@Aariq
Copy link
Collaborator Author

Aariq commented Jul 29, 2025

Ok, merging one more PR to go into the CRAN patch. This unskips some tests, but anything without a vcr fixture is still skipped on CRAN so shouldn't be a problem.

@Aariq Aariq merged commit adae6ce into master Jul 29, 2025
9 checks passed
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.

'Uninitialized column' warnings in skipped tests

2 participants