Skip to content

Commit

Permalink
Merge branch 'main' into 1265_fix_typo@main
Browse files Browse the repository at this point in the history
  • Loading branch information
ayogasekaram authored Jul 12, 2024
2 parents c4935db + 99f9c3d commit 06e6baa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: tern
Title: Create Common TLGs Used in Clinical Trials
Version: 0.9.5.9003
Date: 2024-07-01
Version: 0.9.5.9004
Date: 2024-07-10
Authors@R: c(
person("Joe", "Zhu", , "[email protected]", role = c("aut", "cre")),
person("Daniel", "Sabanés Bové", , "[email protected]", role = "aut"),
Expand Down
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# tern 0.9.5.9003
# tern 0.9.5.9004
### Enhancements
* Added `errorbar_width` and `linetype` parameters to `g_lineplot`.

### Bug Fixes
* Fixed a bug in `a_surv_time` that threw an error when split only has `"is_event"`.
* Added defaults for `d_count_cumulative` parameters as described in the documentation.
* Empty levels on `g_lineplot` x-axis are not shown in either plots.
* Fixed disappearing line in `g_lineplot` when using only one group or strata level.

Expand Down
2 changes: 1 addition & 1 deletion R/count_cumulative.R
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ h_count_cumulative <- function(x,
#' @return Labels for [s_count_cumulative()].
#'
#' @export
d_count_cumulative <- function(threshold, lower_tail, include_eq) {
d_count_cumulative <- function(threshold, lower_tail = TRUE, include_eq = TRUE) {
checkmate::assert_numeric(threshold)
lg <- if (lower_tail) "<" else ">"
eq <- if (include_eq) "=" else ""
Expand Down
2 changes: 1 addition & 1 deletion man/d_count_cumulative.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 06e6baa

Please sign in to comment.