Skip to content

Commit

Permalink
Merge branch 'main' of github.com:poissonconsulting/runbisonpic
Browse files Browse the repository at this point in the history
  • Loading branch information
aylapear committed Jul 12, 2024
2 parents 47a92bc + 146896c commit 46b279e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: runbisonpic
Title: Shiny App for Modeling Wood Bison Camera Trap Data
Version: 0.1.0
Version: 0.2.0
Authors@R: c(
person("Ayla", "Pearson", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-7388-1222")),
Expand Down Expand Up @@ -43,4 +43,4 @@ Remotes:
Config/testthat/edition: 3
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<!-- NEWS.md is maintained by https://fledge.cynkra.com, contributors should not edit this file -->

# runbisonpic 0.2.0

- Add button to download an example dataset

# runbisonpic 0.1.0

- Added a `NEWS.md` file to track changes to the package.
4 changes: 4 additions & 0 deletions R/mod-model.R
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ mod_model_server <- function(id, upload) {
silent = TRUE
)

current_analysis_mode <- embr::get_analysis_mode()
on.exit(options(current_analysis_mode))
embr::set_analysis_mode(input$model_type)

if (is_try_error(rv$analysis)) {
w$hide()
cat(rv$analysis[1])
Expand Down

0 comments on commit 46b279e

Please sign in to comment.