We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
as_loop()
pmap
library(loopurrr) #> Loading required package: purrr x <- list(1, 1, 1) y <- list(10, 20, 30) z <- list(100, 200, 300) a <- list(x, y, z) # expected pmap(a, sum) #> [[1]] #> [1] 111 #> #> [[2]] #> [1] 221 #> #> [[3]] #> [1] 331 # doesn't work pmap(a, sum) %>% as_loop() #> Error in !is_clipr: invalid argument type # works! pmap(list(x, y, z), sum) %>% as_loop() #> Error in !is_clipr: invalid argument type
Created on 2022-10-05 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered:
TimTeaFan
No branches or pull requests
Created on 2022-10-05 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: