Skip to content

Commit

Permalink
Notes on revdep breakage before the roll back
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Dec 21, 2023
1 parent 04df415 commit 603c7ad
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions revdep/issue308-is-environment.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
deparse(revdepcheck::cloud_broken(install_failures = TRUE))

revdepcheck::cloud_check(revdep_packages = c(
"codebook", "diseasystore", "odin", "params",
"shinyCohortBuilder", "table.glue", "tidytable", "vegawidget"
))

# oops, I failed to include TriDriRegression above
# but it's failing because rstantools is unavailble, so seemingly unrelated

# diseasystore
# was some other, intermittent problem that seems to have disappeared

# shinyCohortBuilder
# not on GitHub, sent an email to maintainer on 2023-12-21

# odin
# data is sometimes a list
# PR made: https://github.com/mrc-ide/odin/pull/310
glue_whisker <- function(template, data) {
glue::glue(template, .envir = data, .open = "{{", .close = "}}",
.trim = FALSE)
}

# params
# lst might be a character vector
# PR made: https://github.com/sahilseth/params/pull/15/files
glue::glue(lst[[i]], .envir = lst, .open = "{{{", .close = "}}}")

# codebook
# couldn't dig in due to depedencies being missing from CRAN
# issue opened: https://github.com/rubenarslan/codebook/issues/77

# table.glue
# passes a list as .envir in a few places
# PR made: https://github.com/bcjaeger/table.glue/pull/1

# tidytable
# fix would require greater knowledge of tidytable / data.table than I possess
# issue opened: https://github.com/markfairbanks/tidytable/issues/788

# vegawidget
# fix involves messing with a function that might be used in multiple ways
# issue opened: https://github.com/vegawidget/vegawidget/issues/227

0 comments on commit 603c7ad

Please sign in to comment.