igraph / rigraph

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

feat: remove deprecated functions before 1.0 #1352

Closed Antonov548 closed 3 months ago

Antonov548 commented 5 months ago

Deprecated

Updated

krlmlr commented 3 months ago

I don't see a caching step, can you please be more specific?

Antonov548 commented 3 months ago

I don't see a caching step, can you please be more specific?

I mean this caches. I already had once the problem with them - https://github.com/igraph/rigraph/actions/caches. But as I know we don't have easy way to clear all of them.

Antonov548 commented 3 months ago

@krlmlr the issue wasn't the cache. I had some troubles with search in VS code, so that I didn't see another usage of removed function. But it's good right now and maybe it make sense to run check for packages once again.

krlmlr commented 3 months ago

This looks green. Running revdepchecks.

krlmlr commented 3 months ago

Looks good enough to me?

Antonov548 commented 3 months ago

Looks good enough to me?

Also looks good to me. Thanks for checking it.

szhorvat commented 3 months ago

I'm on my phone and can't look properly, but this caught my eye:

Error in igraph::graph.lattice(length(subwords) + 1, directed = TRUE) : 
  argument "circular" is missing, with no default

This is changing a deprecated function, which is perhaps not a good idea?

The circular / periodic parameters are otherwise not mandatory, right?

szhorvat commented 3 months ago

The netropy issue is not our problem.

Did anyone look and check that the tidygraph one also isn't?

krlmlr commented 3 months ago

tidygraph is present in main, I think this was also something that we can/should fix, in addition to the circular argument.

@maelle: can you please take a closer look?

This isn't meant to be a blocker for this PR, just something that we want to do before release.

szhorvat commented 3 months ago

This isn't meant to be a blocker for this PR, just something that we want to do before release.

Absolutely!

szhorvat commented 3 months ago

make_lattice should also be renamed make_square_lattice to make room for make_hex_lattice() and make_tri_lattice() (or whatever you want to name them). https://github.com/igraph/rigraph/issues/994

krlmlr commented 3 months ago

Thanks!