Skip to content

Commit

Permalink
prep for CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
spsanderson committed Oct 30, 2023
1 parent 69dc4d2 commit 1d00e88
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 15 deletions.
2 changes: 1 addition & 1 deletion R/utils-convert-to-ts.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ convert_to_ts <- function(.data, .return_ts = TRUE, .pivot_longer = FALSE){
df <- df |>
base::split(~ sim_number) |>
base::lapply(function(x) x[,"y"] |>
ts())
stats::ts())
df <- base::do.call(cbind, df)

# Return TS
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@ library(ggplot2)

tidy_normal()
#> # A tibble: 50 × 7
#> sim_number x y dx dy p q
#> <fct> <int> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 1 1 0.926 -3.70 0.000226 0.823 0.926
#> 2 1 2 -0.471 -3.55 0.000595 0.319 -0.471
#> 3 1 3 -0.438 -3.41 0.00141 0.331 -0.438
#> 4 1 4 1.65 -3.27 0.00304 0.950 1.65
#> 5 1 5 0.396 -3.13 0.00595 0.654 0.396
#> 6 1 6 -1.45 -2.99 0.0106 0.0736 -1.45
#> 7 1 7 0.247 -2.84 0.0174 0.597 0.247
#> 8 1 8 0.409 -2.70 0.0264 0.659 0.409
#> 9 1 9 0.799 -2.56 0.0372 0.788 0.799
#> 10 1 10 1.11 -2.42 0.0493 0.867 1.11
#> sim_number x y dx dy p q
#> <fct> <int> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 1 1 1.69 -2.91 0.000292 0.954 1.69
#> 2 1 2 0.323 -2.78 0.000855 0.627 0.323
#> 3 1 3 -0.880 -2.65 0.00222 0.189 -0.880
#> 4 1 4 2.09 -2.53 0.00511 0.982 2.09
#> 5 1 5 0.226 -2.40 0.0105 0.589 0.226
#> 6 1 6 0.125 -2.27 0.0194 0.550 0.125
#> 7 1 7 -0.719 -2.14 0.0324 0.236 -0.719
#> 8 1 8 0.0652 -2.01 0.0494 0.526 0.0652
#> 9 1 9 1.55 -1.88 0.0694 0.940 1.55
#> 10 1 10 0.232 -1.75 0.0916 0.592 0.232
#> # ℹ 40 more rows
```

Expand Down
3 changes: 1 addition & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@

0 errors | 0 warnings | 1 note

* Add some functions
* Fix performance bug.
* Fix a bug and add a couple functions.
Binary file modified man/figures/README-more_than_nine_simulations-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-more_than_nine_simulations-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-more_than_nine_simulations-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-more_than_nine_simulations-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-plot_density-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-plot_density-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-plot_density-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-plot_density-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1d00e88

Please sign in to comment.