Skip to content

Commit

Permalink
Update version and NEWS (#372)
Browse files Browse the repository at this point in the history
* Update version and NEWS

* Switch to Plausible for more ethical usage tracking

fix weecology/portal-forecast-web#55
  • Loading branch information
henrykironde committed Jan 2, 2024
1 parent 0a4c07d commit e882877
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ contact_links:
- name: PortalData
url: https://github.com/weecology/PortalData
about: Direct issues associated with the raw data to the PortalData repo.
- name: portalPredictions
url: https://github.com/weecology/portalPredictions
about: Issues on the CI/CD system should be directed to the portalPredictions repo.
- name: portal-forecasts
url: https://github.com/weecology/portal-forecasts
about: Issues on the CI/CD system should be directed to the portal-forecasts repo.
- name: portal-forecast-web
url: https://github.com/weecology/portal-forecast-web
about: Website issues belong in the website repo.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: portalcasting
Title: Model and Forecast Portal Rodent Dynamics
Version: 0.60.2
Version: 0.60.4
Authors@R: c(
person(c("Juniper", "L."), "Simonis",
email = "[email protected]", role = c("aut", "cre"),
Expand Down
11 changes: 11 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# portalcasting (development version)

Version numbers follow [Semantic Versioning](https://semver.org/).
# [portalcasting 0.60.4](https://github.com/weecology/portalcasting/releases/tag/v0.60.4)
*01-01-2024*

## Zip resources forecast
* Zipping forecast folder in resources

# [portalcasting 0.60.3](https://github.com/weecology/portalcasting/releases/tag/v0.60.3)
*12-16-2023*

## Add tests
* Tests for zip and unszip functions

# [portalcasting 0.60.2](https://github.com/weecology/portalcasting/releases/tag/v0.60.2)
*11-16-2023*
Expand Down
17 changes: 14 additions & 3 deletions R/webapp_ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ subtitle_panel <- function ( ) {
about_tab <- function (global = global_list( )) {

tabPanel(title = "About",
tags$head(tags$script(defer = "defer", data_domain = "portal.naturecast.org", src = "https://plausible.io/js/script.js")),
includeMarkdown(global$about_md_path))

}
Expand All @@ -172,6 +173,7 @@ about_tab <- function (global = global_list( )) {
models_tab <- function (global = global_list( )) {

tabPanel(title = "Models",
tags$head(tags$script(defer = "defer", data_domain = "portal.naturecast.org", src = "https://plausible.io/js/script.js")),
includeHTML(global$models_html_path))

}
Expand All @@ -183,6 +185,7 @@ models_tab <- function (global = global_list( )) {
rodents_profiles_tab <- function (global = global_list( )) {

tabPanel(title = "Rodent Profiles",
tags$head(tags$script(defer = "defer", data_domain = "portal.naturecast.org", src = "https://plausible.io/js/script.js")),
includeHTML(global$rodents_profiles_html_path))

}
Expand All @@ -202,9 +205,10 @@ forecast_tab <- function (global = global_list( )) {
} else {

tabPanel(title = "Forecast",
tags$head(tags$script(defer = "defer", data_domain = "portal.naturecast.org", src = "https://plausible.io/js/script.js")),
br( ),
forecast_tab_input_selection_row(global = global),
# forecast_tab_input_selection_checks_row( ), # used for checking reactive inputs in dev
#forecast_tab_input_selection_checks_row( ), # used for checking reactive inputs in dev
plotOutput("forecast_tab_ts_plot", height = "300px"),
br( ),
plotOutput("forecast_tab_ss_plot"),
Expand Down Expand Up @@ -319,9 +323,12 @@ evaluation_tab <- function (global = global_list( )) {
} else {

tabPanel(title = "Evaluation",
tags$head(tags$script(defer = "defer", data_domain = "portal.naturecast.org", src = "https://plausible.io/js/script.js")),
br( ),
HTML('<script defer data-domain="portal.naturecast.org" src="https://plausible.io/js/script.js"></script>'),
br( ),
evaluation_tab_input_selection_row(global = global),
# evaluation_tab_input_selection_checks_row( ), # used for checking reactive inputs in dev
#evaluation_tab_input_selection_checks_row( ), # used for checking reactive inputs in dev
plotOutput("evaluation_tab_sp_plot"),
br( ),
plotOutput("evaluation_tab_RMSE_plot", height = "300px"),
Expand Down Expand Up @@ -453,7 +460,10 @@ covariates_tab <- function (global = global_list( )) {
br( ))
} else {

tabPanel(title = "Covariates",
tabPanel(title = "Covariates",
tags$head(tags$script(defer = "defer", data_domain = "portal.naturecast.org", src = "https://plausible.io/js/script.js")),
br( ),
HTML('<script defer data-domain="portal.naturecast.org" src="https://plausible.io/js/script.js"></script>'),
br( ),
p("These are the covariates (without lags imposed) used in forecasting models. Solid lines are historic data, dashed lines are forecasts."),
br( ),
Expand Down Expand Up @@ -576,6 +586,7 @@ write_rodents_profiles_tab_html <- function (main = ".") {
padding: 15px;
}
</style>
<script defer data-domain="portal.naturecast.org" src="https://plausible.io/js/script.js"></script>
</head>
<body>
<br>
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
"@type": "SoftwareSourceCode",
"identifier": "portalcasting",
"description": "Create a directory, populate it with data, build models, forecast rodent populations, and visualize the results. This package provides the functionality underlying the Portal Predictions Project <https://github.com/weecology/portalpredictions> as well as support for exploring and developing new models in sandbox environments.",
"description": "Create a directory, populate it with data, build models, forecast rodent populations, and visualize the results. This package provides the functionality underlying the Portal Predictions forecasts Project <https://github.com/weecology/portal-forecasts> as well as support for exploring and developing new models in sandbox environments.",
"name": "portalcasting: Functions Used in Predicting Portal Rodent Dynamics",
"relatedLink": "https://weecology.github.io/portalcasting/",
"codeRepository": "https://github.com/weecology/portalcasting",
Expand Down

0 comments on commit e882877

Please sign in to comment.