Skip to content

Commit 220d586

Browse files
committed
Initial fixes due to update
1 parent c84372d commit 220d586

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

DESCRIPTION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ Imports:
5959
childsds,
6060
purrr,
6161
tibble,
62-
tidyselect
62+
tidyselect,
63+
tidytable
6364
Suggests:
6465
testthat
6566
RoxygenNote: 7.3.2

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
sudo R -e "install.packages('purrr', dependencies=TRUE)"
123123
sudo R -e "install.packages('tibble', dependencies=TRUE)"
124124
sudo R -e "install.packages('tidyselect', dependencies=TRUE)"
125-
sudo R -e "install.packages('tidyverse', dependencies=TRUE)"
125+
sudo R -e "install.packages('tidytable', dependencies=TRUE)"
126126
127127
displayName: 'Install all dependencies for dsBase'
128128
condition: succeeded()

tests/testthat/helper.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ create_mixed_dataframe <- function(n_rows = 10000, n_factor_cols = 15, n_other_c
3737
c("Summer", "Winter", "Spring", "Fall")
3838
)
3939

40-
factor_columns <- map_dfc(factor_levels[1:n_factor_cols], create_factor_column)
40+
factor_columns <- purrr::map_dfc(factor_levels[1:n_factor_cols], create_factor_column)
4141
colnames(factor_columns) <- paste0("fac_col", 1:n_factor_cols)
4242

4343
create_other_column <- function(type, n = n_rows) {
@@ -55,7 +55,7 @@ create_mixed_dataframe <- function(n_rows = 10000, n_factor_cols = 15, n_other_c
5555
"num", "str", "int", "num", "str"
5656
)
5757

58-
other_columns <- map_dfc(column_types[1:n_other_cols], create_other_column)
58+
other_columns <- purrr::map_dfc(column_types[1:n_other_cols], create_other_column)
5959
colnames(other_columns) <- paste0("col", (n_factor_cols + 1):(n_factor_cols + n_other_cols))
6060
df <- bind_cols(factor_columns, other_columns)
6161

0 commit comments

Comments
 (0)