Closed allenmichael099 closed 3 years ago
Is there a way to make changes to the dashboard in RStudio without having to reinstall the package each time a change is made? I cloned emdash on my computer, and each time I want to test out my new changes, I use something like this:
detach("package:emdash", unload = TRUE) remotes::install_local(path = 'C:/Users/mallen2/emdash',upgrade="never",force = TRUE) library(emdash) emdash::run_app(mongo_url = 'mongodb://localhost:27017')
hi @allenmichael099, try ‘devtools::load_all()’.
https://www.r-project.org/nosvn/pandoc/devtools.html
No need to do ‘library(emdash)’ after.
For debugging see https://shiny.rstudio.com/articles/debugging.html.
Is there a way to make changes to the dashboard in RStudio without having to reinstall the package each time a change is made? I cloned emdash on my computer, and each time I want to test out my new changes, I use something like this:
detach("package:emdash", unload = TRUE) remotes::install_local(path = 'C:/Users/mallen2/emdash',upgrade="never",force = TRUE) library(emdash) emdash::run_app(mongo_url = 'mongodb://localhost:27017')