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

Change local database file path #2

Closed
BorisDelange opened this issue Nov 3, 2021 · 1 comment
Closed

Change local database file path #2

BorisDelange opened this issue Nov 3, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@BorisDelange
Copy link
Owner

Change local database file path.
For now, it is on the library directory. So database is deleted when library is updated or when package is uninstalled.

@BorisDelange BorisDelange added the enhancement New feature or request label Nov 3, 2021
@BorisDelange
Copy link
Owner Author

Done, with setwd(find.package("cdwtools"))
And with an argument in cdwtools() : app_db_folder.

Restore initial wd at the end of the Shiny session.

initial_wd <- getwd()
onStop(function() setwd(initial_wd))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant