igraph / rigraph

igraph R package
https://r.igraph.org
540 stars 200 forks source link

Export `.from` etc. with behavior similar to `dplyr::across()` #1435

Closed krlmlr closed 3 weeks ago

krlmlr commented 1 month ago

and link to help pages.

Motivation:

https://github.com/maelle/simcausal/blob/b8dcf741e9388e48f1220b335add26fb073f93a1/R/simcausal.r#L422-L423

dplyr::across()
#> Error in `dplyr::across()`:
#> ! Must only be used inside data-masking verbs like `mutate()`,
#>   `filter()`, and `group_by()`.
igraph::.from()
#> Error: '.from' is not an exported object from 'namespace:igraph'

Created on 2024-07-18 with reprex v2.1.0

szhorvat commented 1 month ago

Have a look at https://github.com/igraph/rigraph/issues/541