cross icon indicating copy to clipboard operation
cross copied to clipboard

`cross::run(pkgs =)` could take a data frame for `pkgs`

Open DavisVaughan opened this issue 2 years ago • 0 comments

df <- expand.grid(
  vctrs = c("vctrs", "r-lib/vctrs"),
  rlang = c("rlang", "r-lib/rlang"), 
  stringsAsFactors = FALSE
)
tibble::as_tibble(df)
#> # A tibble: 4 × 2
#>   vctrs       rlang      
#>   <chr>       <chr>      
#> 1 vctrs       rlang      
#> 2 r-lib/vctrs rlang      
#> 3 vctrs       r-lib/rlang
#> 4 r-lib/vctrs r-lib/rlang

Doesn't make sense for run_branches() because it is contained within a single package

I think the $pkgs column in the return value would just be a df-col containing this

DavisVaughan avatar May 12 '23 17:05 DavisVaughan