Skip to content

Commit

Permalink
Merge 9888c41 into cd83fc5
Browse files Browse the repository at this point in the history
  • Loading branch information
edelarua authored Jun 13, 2023
2 parents cd83fc5 + 9888c41 commit bf14cc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

### Bug Fixes
* Fixed bug in `split_text_grob` preventing titles and footnotes from being properly formatted and printed by `decorate_grob`.
* Fixed bug in `g_lineplot` preventing lines from being added to the plot when midpoint statistic calculations result in `NA` value(s).

### Miscellaneous
* Updated README to include installation instructions for CRAN.
Expand Down
2 changes: 1 addition & 1 deletion R/g_lineplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ g_lineplot <- function(df,
.groups = "drop"
)

df_stats <- df_stats %>% dplyr::filter(!is.na(mid))
df_stats <- df_stats[!is.na(df_stats[[mid]]), ]

# add number of objects N in strata
if (!is.null(strata) && !is.null(alt_counts_df)) {
Expand Down

0 comments on commit bf14cc7

Please sign in to comment.