emilioxavier / theHUB

https://theHopefulBox.com/
Other
2 stars 0 forks source link

problem with tibble creation in `dataset.summary()` #28

Open emilioxavier opened 1 year ago

emilioxavier commented 1 year ago

Hi Please look into and fix the following warning before it completely breaks.

Thank you

Warning:
The `x` argument of `as_tibble.matrix()` must have unique column names if `.name_repair` is omitted as of tibble 2.0.0.
ℹ Using compatibility `.name_repair`.
ℹ The deprecated feature was likely used in the theHUB package.
  Please report the issue at <https://github.com/emilioxavier/theHUB/issues/>.
---
Backtrace:
     ▆
  1. └─theHUB::dataset.summary(...)
  2.   └─theHUB:::find.duplicate.cols(data = dataset, data.md5s = dataset.md5s) at theHUB/R/utilities_datasets.R:192:2
  3.     ├─dplyr::select(...) at theHUB/R/utilities_datasets.R:121:2
  4.     ├─dplyr::rename(...) at theHUB/R/utilities_datasets.R:121:2
  5.     ├─dplyr::mutate(...) at theHUB/R/utilities_datasets.R:121:2
  6.     ├─tibble::rownames_to_column(...) at theHUB/R/utilities_datasets.R:121:2
  7.     ├─base::as.data.frame(...) at theHUB/R/utilities_datasets.R:121:2
  8.     ├─base::t(tibble::as_tibble(t(sapply(data.pairs, names)))) at theHUB/R/utilities_datasets.R:121:2
  9.     ├─tibble::as_tibble(t(sapply(data.pairs, names))) at theHUB/R/utilities_datasets.R:121:2
 10.     └─tibble:::as_tibble.matrix(t(sapply(data.pairs, names)))