Skip to content

Commit

Permalink
Fix #310
Browse files Browse the repository at this point in the history
  • Loading branch information
spsanderson committed Oct 11, 2022
1 parent 5266a52 commit f64c517
Show file tree
Hide file tree
Showing 123 changed files with 869 additions and 726 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ passed arguments and fix `data.table` to directly pass ... arguments.
4. Fix #299 - Update `tidy_stat_tbl()`
5. Fix #309 - Add function for internal use to drop dependency of stringr. Function
is `dist_type_extractor()` which is used for several functions in the library.
6. Fix #310 - Update combine-multi-dist to use `dist_type_extractor()`

# TidyDensity 1.2.3

Expand Down
9 changes: 5 additions & 4 deletions R/combine-multi-single-dist-tbl.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,13 @@ tidy_multi_single_dist <- function(.tidy_dist = NULL,
atb <- dff$results[[1]] %>% attributes()

# Make Dist Type for column ----
dist_type <- stringr::str_remove(atb$tibble_type, "tidy_") %>%
stringr::str_replace_all(pattern = "_", " ") %>%
stringr::str_to_title()
# dist_type <- stringr::str_remove(atb$tibble_type, "tidy_") %>%
# stringr::str_replace_all(pattern = "_", " ") %>%
# stringr::str_to_title()

dist_type <- dist_type_extractor(atb$tibble_type)

# Get column names from the param_grid in order to make teh dist_type column ----
# Get column names from the param_grid in order to make the dist_type column ----
cols <- names(param_grid %>% dplyr::select(-c(.n, .num_sims)))

if (length(cols) == 1) {
Expand Down
20 changes: 10 additions & 10 deletions docs/articles/getting-started.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkgdown: 2.0.6
pkgdown_sha: ~
articles:
getting-started: getting-started.html
last_built: 2022-10-10T17:28Z
last_built: 2022-10-11T18:38Z
urls:
reference: https://www.spsanderson.com/TidyDensity/reference
article: https://www.spsanderson.com/TidyDensity/articles
Expand Down
Binary file modified docs/reference/Rplot002.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 22 additions & 22 deletions docs/reference/bootstrap_density_augment.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f64c517

Please sign in to comment.