simpr icon indicating copy to clipboard operation
simpr copied to clipboard

Tidyverse-friendly simulations and power analysis

Results 10 simpr issues
Sort by recently updated
recently updated
newest added

`generate()` doesn't clearly discuss fact that `simpr` already includes futures. Also, `vignette("Optimization")` should be `vignette("optimization")`. HT @FallingPineapples

documentation

If something is already written as a simulation package, the only way to interface `simpr` with that package is to have that package simulate one value at a time, which...

enhancement

Ignores unnamed arguments: ``` r library(simpr) #> #> Attaching package: 'simpr' #> The following object is masked from 'package:stats': #> #> filter #> The following objects are masked from 'package:base':...

Currently `specify` generates a warning and no output when arguments have differing numbers of rows: ``` r suppressPackageStartupMessages(library(simpr)) sim = specify(pre = ~ rnorm(n1), post = ~ rnorm(n2)) %>% define(n1...

This is confusing for users of other tidiers, such as those provided by `broom.mixed`, and somewhat works against the purpose of having general methods in `generics`.

Showcase article for pkgdown site with example simpr simulations with more reasonable numbers of reps (not a vignette, too slow). Draw from inst/showcase.R and the existing interaction example on the...

`specify()` with a single formula provides a huge variety of mysterious output: ``` r suppressPackageStartupMessages(library(simpr)) specify(y ~ 1 + 2) #> Formula specification for 'x' detected. Assuming 'x' is the...

VERY useful if I can find a way of incrementally saving simulation results (either through `produce` or `fit`). I hacked together some code for a recent simulation project that could...

Currently `simpr` uses `purrr::safely` and captures the error message as a string, but it's rather hard to actually debug the code and figure out where things went wrong. This added...