-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I broke my link between github and my dekstop
- Loading branch information
1 parent
06213e3
commit e3c1815
Showing
3 changed files
with
2,909 additions
and
2,904 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,67 @@ | ||
Package: mpaviewer | ||
Title: MPA Viewer | ||
Version: 0.0.0.9000 | ||
Authors@R: person('Brooke', 'Gibbons', email = 'brooke.gibbons@uwa.edu.au', role = c('cre', 'aut')) | ||
Description: An interactive overview of selected biodiversity assets in Marine Protected Areas of Western Australia. | ||
License: MIT + file LICENSE | ||
URL: https://github.com/dbca-wa/mpaviewer | ||
BugReports: https://github.com/dbca-wa/mpaviewer/issues | ||
Depends: | ||
R (>= 4.1) | ||
Imports: | ||
cachem, | ||
ckanr (>= 0.7.0), | ||
config (>= 0.3.1), | ||
cowplot (>= 1.1.1), | ||
data.table, | ||
devtools (>= 2.4.5), | ||
dplyr (>= 1.1.2), | ||
forcats (>= 1.0.0), | ||
fs (>= 1.6.2), | ||
ggbreak, | ||
ggh4x, | ||
ggplot2 (>= 3.4.2), | ||
GlobalArchive (>= 0.1), | ||
glue (>= 1.6.2), | ||
golem (>= 0.3.1), | ||
googledrive, | ||
googlesheets4, | ||
grid, | ||
here (>= 1.0.1), | ||
htmltools (>= 0.5.5), | ||
httr (>= 1.4.5), | ||
leafgl (>= 0.1.1), | ||
leaflegend, | ||
leaflet (>= 2.1.2), | ||
lutz, | ||
magrittr (>= 2.0.3), | ||
plyr (>= 1.8.8), | ||
purrr (>= 1.0.1), | ||
readr (>= 2.1.4), | ||
rlang, | ||
scales, | ||
sf, | ||
shiny (>= 1.7.1), | ||
shinycssloaders (>= 1.0.0), | ||
shinydashboard (>= 0.7.2), | ||
shinydashboardPlus (>= 2.0.3), | ||
shinyWidgets (>= 0.7.6), | ||
stringr (>= 1.5.0), | ||
thinkr, | ||
tidyr (>= 1.3.0), | ||
utils | ||
Suggests: | ||
knitr (>= 1.42), | ||
rmarkdown (>= 2.21), | ||
spelling (>= 2.2.1), | ||
testthat (>= 3.0.0) | ||
VignetteBuilder: | ||
knitr | ||
Remotes: | ||
github::GlobalArchiveManual/CheckEM | ||
Config/testthat/edition: 3 | ||
Encoding: UTF-8 | ||
Language: en-US | ||
LazyData: true | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.3.1 | ||
Package: mpaviewer | ||
Title: MPA Viewer | ||
Version: 0.0.0.9000 | ||
Authors@R: person('Brooke', 'Gibbons', email = 'brooke.gibbons@uwa.edu.au', role = c('cre', 'aut')) | ||
Description: An interactive overview of selected biodiversity assets in Marine Protected Areas of Western Australia. | ||
License: MIT + file LICENSE | ||
URL: https://github.com/dbca-wa/mpaviewer | ||
BugReports: https://github.com/dbca-wa/mpaviewer/issues | ||
Depends: | ||
R (>= 4.1) | ||
Imports: | ||
cachem, | ||
ckanr (>= 0.7.0), | ||
config (>= 0.3.1), | ||
cowplot (>= 1.1.1), | ||
data.table, | ||
devtools (>= 2.4.5), | ||
dplyr (>= 1.1.2), | ||
forcats (>= 1.0.0), | ||
fs (>= 1.6.2), | ||
ggbreak, | ||
ggh4x, | ||
ggplot2 (>= 3.4.2), | ||
GlobalArchive (>= 0.1), | ||
glue (>= 1.6.2), | ||
golem (>= 0.3.1), | ||
googledrive, | ||
googlesheets4, | ||
grid, | ||
here (>= 1.0.1), | ||
htmltools (>= 0.5.5), | ||
httr (>= 1.4.5), | ||
leafgl (>= 0.1.1), | ||
leaflegend, | ||
leaflet (>= 2.1.2), | ||
lutz, | ||
magrittr (>= 2.0.3), | ||
plyr (>= 1.8.8), | ||
purrr (>= 1.0.1), | ||
readr (>= 2.1.4), | ||
rlang, | ||
scales, | ||
sf, | ||
shiny (>= 1.7.1), | ||
shinycssloaders (>= 1.0.0), | ||
shinydashboard (>= 0.7.2), | ||
shinydashboardPlus (>= 2.0.3), | ||
shinyWidgets (>= 0.7.6), | ||
stringr (>= 1.5.0), | ||
thinkr, | ||
tidyr (>= 1.3.0), | ||
utils | ||
Suggests: | ||
knitr (>= 1.42), | ||
rmarkdown (>= 2.21), | ||
spelling (>= 2.2.1), | ||
testthat (>= 3.0.0) | ||
VignetteBuilder: | ||
knitr | ||
Remotes: | ||
github::GlobalArchiveManual/CheckEM | ||
Config/testthat/edition: 3 | ||
Encoding: UTF-8 | ||
Language: en-US | ||
LazyData: true | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,47 @@ | ||
## Launch the ShinyApp (Do not remove this comment) | ||
# To deploy, run: rsconnect::deployApp() | ||
# Or use the blue button on top of this file | ||
|
||
# # Google Sheets Auth ---- | ||
# options(gargle_oauth_cache = ".secrets") | ||
# # check the value of the option, if you like | ||
# gargle::gargle_oauth_cache() | ||
# googlesheets4::gs4_auth() | ||
# 2 | ||
|
||
# Step 1. Load all functions from package | ||
pkgload::load_all(export_all = FALSE, helpers = FALSE, attach_testthat = FALSE) | ||
|
||
# Step 2. Download all data from GoogleDrive (only if it has been updated) | ||
# mpaviewer::googledrive_download_data() # takes 11 minutes | ||
|
||
# Step 3. Generate new data | ||
# Sys.time() # takes 7 mins | ||
# mpaviewer::generate_data() | ||
# Sys.time() | ||
|
||
# Step 4. Generate new plots | ||
# Sys.time() # Takes a few hours to run | ||
# mpaviewer::generate_plots() # TODO figure out how to get this to work | ||
# Sys.time() | ||
|
||
# Step 5. Run demo app | ||
options("golem.app.prod" = TRUE) | ||
|
||
# RUN app | ||
mpaviewer::run_app() | ||
|
||
# Step 6. Deploy to shiny server for testing | ||
# rsconnect::deployApp() | ||
|
||
# # For profiling app | ||
# profvis::profvis({ | ||
# print( | ||
# mpaviewer::run_app() | ||
# ) | ||
# }) | ||
## Launch the ShinyApp (Do not remove this comment) | ||
# To deploy, run: rsconnect::deployApp() | ||
# Or use the blue button on top of this file | ||
|
||
# # Google Sheets Auth ---- | ||
# options(gargle_oauth_cache = ".secrets") | ||
# # check the value of the option, if you like | ||
# gargle::gargle_oauth_cache() | ||
# googlesheets4::gs4_auth() | ||
# 2 | ||
|
||
## If CheckEM package has changed | ||
# remove.packages("CheckEM") | ||
# renv::install("GlobalArchiveManual/CheckEM") | ||
# devtools::install_github("GlobalArchiveManual/CheckEM") | ||
|
||
# Step 1. Load all functions from package | ||
pkgload::load_all(export_all = FALSE, helpers = FALSE, attach_testthat = FALSE) | ||
|
||
# Step 2. Download all data from GoogleDrive (only if it has been updated) | ||
# mpaviewer::googledrive_download_data() # takes 11 minutes | ||
|
||
# Step 3. Generate new data | ||
# Sys.time() # takes 7 mins | ||
# mpaviewer::generate_data() | ||
# Sys.time() | ||
|
||
# Step 4. Generate new plots | ||
# Sys.time() # Takes a few hours to run | ||
# mpaviewer::generate_plots() # TODO figure out how to get this to work | ||
# Sys.time() | ||
|
||
# Step 5. Run demo app | ||
options("golem.app.prod" = TRUE) | ||
|
||
# RUN app | ||
mpaviewer::run_app() | ||
|
||
# Step 6. Deploy to shiny server for testing | ||
# rsconnect::deployApp() | ||
|
||
# # For profiling app | ||
# profvis::profvis({ | ||
# print( | ||
# mpaviewer::run_app() | ||
# ) | ||
# }) |
Oops, something went wrong.