Skip to content

Commit

Permalink
flag to dos
Browse files Browse the repository at this point in the history
  • Loading branch information
emitanaka committed Oct 14, 2023
1 parent 61d03cf commit 6d8b88c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions R/simulate.R
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ get_rcrd_values <- function(rname, prov, aggfn, .data, y, censor) {
rname,
get_record_type(vrcrds, rname),
class(y))
# TODO: this is a problem when we have nested_labels
vals <- aggregate_values(y, .data[[uname]], agg_fn)
if(rname %in% names(vrcrds)) {
if(is.list(censor) && rname %in% names(censor)) {
Expand Down
8 changes: 8 additions & 0 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -409,5 +409,13 @@ print.edbl_fct <- function(x, ...) {
attrs = lnode$attrs)
}
}

# TODO: add these components when adding design
# validation,
# anatomy,
# simulate,
# context
des2 <- edbl_design(e2)
for(code in des2$recipe) e1 <- add_edibble_code(e1, code)
return_edibble_with_graph(e1, prov1)
}

0 comments on commit 6d8b88c

Please sign in to comment.