Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove function summarise_trait_means #125

Merged
merged 3 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export(plot_site_locations)
export(plot_trait_distribution_beeswarm)
export(separate_trait_values)
export(summarise_database)
export(summarise_trait_means)
export(trait_pivot_longer)
export(trait_pivot_wider)
import(RefManageR)
Expand Down
64 changes: 0 additions & 64 deletions R/summarise_trait_values.R

This file was deleted.

2 changes: 1 addition & 1 deletion R/trait_pivot_longer.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#' @param wide_data output from trait_pivot_wider. For <= v3.0.2 list object containing wide data generated,For > v3.0.2 a tibble of wide data
#' @return A tibble in long format
#' @details
#' - If `bind_trait_values` or `summarise_trait_means` was applied prior to `trait_pivot_wider` for AusTraits
#' - If `bind_trait_values` was applied prior to `trait_pivot_wider` for AusTraits
#' <= v3.0.2, `trait_pivot_longer` will return a tibble with fewer observations than the original traits table.
#' - For AusTraits version >3.0.2, `trait_pivot_longer` will return a tibble with fewer columns than that original traits table
#' - The excluded columns include: "unit", "replicates", "measurement_remarks", "basis_of_record", "basis_of_value"
Expand Down
1 change: 0 additions & 1 deletion _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ reference:
- contents:
- starts_with("extract")
- starts_with("trait_pivot")
- summarise_trait_means
- starts_with("join")
- ends_with("trait_values")
- as_wide_table
Expand Down
23 changes: 0 additions & 23 deletions man/summarise_trait_means.Rd

This file was deleted.

2 changes: 1 addition & 1 deletion man/trait_pivot_longer.Rd

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

34 changes: 0 additions & 34 deletions tests/testthat/test-summarise_trait_means.R

This file was deleted.

9 changes: 0 additions & 9 deletions vignettes/austraits.Rmd.orig
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,4 @@ data_wide_bound %>%
separate_trait_values(., austraits$definitions)
```

#### `summarise_trait_means`

```{r, pivot_summarised}
data_wide_summarised <- data_falster_studies$traits %>%
summarise_trait_means() %>%
trait_pivot_wider()

data_wide_summarised$value %>% head()
```

Loading