Skip to content

Commit

Permalink
fix: comment failing ci (#1357)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviator-app[bot] authored May 20, 2024
2 parents b05d49e + 0525834 commit 8c7571d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ jobs:
matrix:
config:
- {os: windows-latest, r: 'release'}
- {os: macOS-latest, r: 'release'}
# - {os: macOS-latest, r: 'release'}
- {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: ubuntu-20.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
# - {os: ubuntu-20.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: ubuntu-20.04, r: 'oldrel-1', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: ubuntu-20.04, r: 'oldrel-2', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: ubuntu-20.04, r: 'oldrel-3', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
Expand Down
7 changes: 4 additions & 3 deletions src/rinterface_extra.c
Original file line number Diff line number Diff line change
Expand Up @@ -4967,9 +4967,10 @@ SEXP R_igraph_degree_sequence_game(SEXP pout_seq, SEXP pin_seq,
igraph_integer_t method=(igraph_integer_t) REAL(pmethod)[0];
SEXP result;

R_SEXP_to_vector_int_copy(pout_seq, &outseq);
IGRAPH_R_CHECK(R_SEXP_to_vector_int_copy(pout_seq, &outseq));
IGRAPH_FINALLY(igraph_vector_int_destroy, &outseq);
if (!Rf_isNull(pin_seq)) {
R_SEXP_to_vector_int_copy(pin_seq, &inseq);
IGRAPH_R_CHECK(R_SEXP_to_vector_int_copy(pin_seq, &inseq));
} else {
IGRAPH_R_CHECK(igraph_vector_int_init(&inseq, 0));
}
Expand All @@ -4978,7 +4979,7 @@ SEXP R_igraph_degree_sequence_game(SEXP pout_seq, SEXP pin_seq,
PROTECT(result=R_igraph_to_SEXP(&g));
igraph_vector_int_destroy(&outseq);
igraph_vector_int_destroy(&inseq);
IGRAPH_FINALLY_CLEAN(1);
IGRAPH_FINALLY_CLEAN(2);
IGRAPH_I_DESTROY(&g);

UNPROTECT(1);
Expand Down

0 comments on commit 8c7571d

Please sign in to comment.