Skip to content

Commit b4b1a13

Browse files
committed
Revert "convert tidyr::spread to tidyr::pivot_wider"
This reverts commit 456ad2b.
1 parent bc8c61e commit b4b1a13

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

R/run_single_replication.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4879,10 +4879,10 @@ run_single_replication <- function(j, var_input, syst_names, syst_names_single,
48794879

48804880

48814881
# tidyr:: namespace required inside parallel operations
4882-
multi_spread <- tidyr::pivot_wider(
4882+
multi_spread <- tidyr::spread(
48834883
data = multi,
4884-
names_from = metric,
4885-
values_from = value
4884+
key = metric,
4885+
value = value
48864886
)
48874887

48884888

0 commit comments

Comments
 (0)