Skip to content

Commit

Permalink
resolve lints
Browse files Browse the repository at this point in the history
  • Loading branch information
wjakethompson committed Aug 9, 2024
1 parent a646451 commit cf8fd92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .lintr
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
linters: linters_with_defaults(
indentation_linter = NULL
indentation_linter = NULL,
return_linter = NULL
)
exclusions: list(
"R/stanmodels.R",
Expand Down
2 changes: 1 addition & 1 deletion R/ppmc.R
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ ppmc_odds_ratio <- function(model, post_data, probs, return_draws) {
tidyr::pivot_wider(names_from = "item",
values_from = "value") %>%
dplyr::select(-"resp") %>%
tidyr::nest(dat = !starts_with(".")) %>%
tidyr::nest(dat = !dplyr::starts_with(".")) %>%
dplyr::mutate(dat = lapply(.data$dat, pw_or)) %>%
tidyr::unnest("dat") %>%
tidyr::nest(samples = -c("item_1", "item_2")) %>%
Expand Down

0 comments on commit cf8fd92

Please sign in to comment.