Skip to content

Commit

Permalink
v2.0.0.9123
Browse files Browse the repository at this point in the history
* fix: Modify taxatrans hack for noteworthy to only trigger if present
  • Loading branch information
leppott committed Dec 1, 2023
1 parent b147360 commit b00f85c
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: BCGcalc
Type: Package
Title: Biological Condition Gradient, calculator
Version: 2.0.0.9122
Version: 2.0.0.9123
Authors@R: c(
person("Erik W.", "Leppo", email="Erik.Leppo@tetratech.com", role=c("aut","cre")),
person("Jen", "Stamp", email="Jen.Stamp@tetratech.com", role="ctb"),
Expand Down
8 changes: 6 additions & 2 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
BCGcalc-NEWS
================
<Erik.Leppo@tetratech.com>
2023-12-01 08:26:50.27944
2023-12-01 15:52:48.602803

<!-- NEWS.md is generated from NEWS.Rmd. Please edit that file -->

#> Last Update: 2023-12-01 08:26:50.298339
#> Last Update: 2023-12-01 15:52:48.632879

# BCGcalc 2.0.0.9123 (2023-12-01)

- fix: Modify taxatrans hack for noteworthy to only trigger if present

# BCGcalc 2.0.0.9122 (2023-12-01)

Expand Down
8 changes: 6 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
BCGcalc-NEWS
================
<Erik.Leppo@tetratech.com>
2023-12-01 08:26:50.27944
2023-12-01 15:52:48.602803

<!-- NEWS.md is generated from NEWS.Rmd. Please edit that file -->

#> Last Update: 2023-12-01 08:26:50.298339
#> Last Update: 2023-12-01 15:52:48.632879

# BCGcalc 2.0.0.9123 (2023-12-01)

- fix: Modify taxatrans hack for noteworthy to only trigger if present

# BCGcalc 2.0.0.9122 (2023-12-01)

Expand Down
4 changes: 4 additions & 0 deletions NEWS.rmd
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ knitr::opts_chunk$set(
cat(paste0("Last Update: ",Sys.time()))
```

# BCGcalc 2.0.0.9123 (2023-12-01)

* fix: Modify taxatrans hack for noteworthy to only trigger if present

# BCGcalc 2.0.0.9122 (2023-12-01)

* refactor: BCG calculation user column select to lower case
Expand Down
9 changes: 6 additions & 3 deletions inst/shiny-examples/BCGcalc/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -676,9 +676,12 @@ shinyServer(function(input, output) {

# Hack/Fix
# Noteworthy NA causing issue later in Shiny app
taxatrans_results$merge$Noteworthy <- ifelse(is.na(taxatrans_results$merge$Noteworthy)
, FALSE
, TRUE)
# 20231201, only if have Noteworthy
if ("NOTEWORTHY" %in% toupper(taxatrans_results$merge)) {
taxatrans_results$merge$Noteworthy <- ifelse(is.na(taxatrans_results$merge$Noteworthy)
, FALSE
, TRUE)
}## IF ~ Noteworthy


## Calc, 04, Save Results ----
Expand Down

0 comments on commit b00f85c

Please sign in to comment.