inbo / etn

R package to access data from the European Tracking Network
https://inbo.github.io/etn/
MIT License
6 stars 5 forks source link

304 move connection to first position but warn as deprecated when used #310

Closed PietrH closed 1 month ago

PietrH commented 1 month ago

In this PR I'm moving the connection argument back to the first position for all functions, even though it's no longer used we suspect that many users will still have calls like : function(my_connection) in their scripts where the first argument is the ETN database connection. The next few developments are towards an elegant failure mode for this user story where the user is warned that this is no longer needed, but the function will still work. This PR is the first step towards this goal.