Skip to content

Commit

Permalink
fix cran note
Browse files Browse the repository at this point in the history
  • Loading branch information
gowerc committed Oct 11, 2024
1 parent a226aea commit c0ff3bf
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions R/analyse.R
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,14 @@ analyse <- function(
}

# Mangle name to avoid any conflicts with user defined objects if running in a cluster
..rbmi..analysis..imputations <- imputations
..rbmi..analysis..delta <- delta
..rbmi..analysis..fun <- fun
objects <- list(
..rbmi..analysis..imputations = imputations,
..rbmi..analysis..delta = delta,
..rbmi..analysis..fun = fun
..rbmi..analysis..imputations = ..rbmi..analysis..imputations,
..rbmi..analysis..delta = ..rbmi..analysis..delta,
..rbmi..analysis..fun = ..rbmi..analysis..fun
)
list2env(objects, envir = environment())

cl <- make_rbmi_cluster(ncores)

Expand Down

0 comments on commit c0ff3bf

Please sign in to comment.