Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No need for restez_connect() #62

Closed
joelnitta opened this issue Sep 6, 2022 · 1 comment
Closed

No need for restez_connect() #62

joelnitta opened this issue Sep 6, 2022 · 1 comment

Comments

@joelnitta
Copy link

joelnitta commented Sep 6, 2022

As of restez v2.1.0, there is no need for the user to call restez_connect(). Making unnecessary connections to the database can cause warnings or errors, so this should be avoided.

That means lines like this:

phylotaR/R/stage2.R

Lines 24 to 25 in 861fa66

suppressMessages(restez::restez_connect())
on.exit(restez::restez_disconnect())

can (and should) be safely deleted.

@ShixiangWang
Copy link
Member

@joelnitta Thanks :)

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

No branches or pull requests

2 participants