我有一個成功使用的函式future multisession,但future收到以下錯誤的更新,我還沒有想出如何解決:
錯誤:values() 在未來 (>= 1.20.0) 已失效。使用 value() 代替。
請參見下面的示例(我沒有使用 values(),但仍然出現錯誤):
future::plan(future::multisession)
test_function <- function(x){
x <- x 5
return(x)
}
test_data <- list(c(1, 2, 3), c(1, 2, 3))
tuning_results <- furrr::future_map(
.x = test_data,
.f = test_function)
提前致謝
uj5u.com熱心網友回復:
這是通過更新furrr包解決的。
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/393464.html
