Skip to content

Commit

Permalink
fix verdepcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelru committed Mar 25, 2024
1 parent 19067f0 commit 728f750
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ name: Scheduled 🕰️
on:
schedule:
- cron: '45 3 * * 0'
push:
branches:
- fix_verdepcheck
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Imports:
broom (>= 0.5.4),
car (>= 3.0-13),
checkmate (>= 2.1.0),
cowplot (>= 0.7.0),
cowplot (>= 1.0.0),
dplyr (>= 1.0.0),
emmeans (>= 1.8.0),
forcats (>= 1.0.0),
Expand Down
2 changes: 1 addition & 1 deletion R/g_forest.R
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ g_forest <- function(tbl,
all(which_arrow) ~ "both",
which_arrow[1] ~ "first",
which_arrow[2] ~ "last",
TRUE ~ NA
TRUE ~ NA_character_
)

# Add CI lines
Expand Down
2 changes: 1 addition & 1 deletion R/utils_ggplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ df2gg <- function(df,
hline = TRUE,
bg_fill = NULL) {
# convert NAs to text
df <- as.data.frame(apply(df, 1:2, tidyr::replace_na, replace = "NA"))
df <- as.data.frame(apply(df, 1:2, tidyr::replace_na, replace = NA))

if (col_labels) {
df <- as.matrix(df)
Expand Down

0 comments on commit 728f750

Please sign in to comment.