Skip to content

Commit

Permalink
Move development code
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Aug 9, 2023
1 parent d75dceb commit 00a4979
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ src/vendor/cigraph
^AUTHORS-list\.md$
^CITATION\.cff$
^cran$
^R/cran\.R$
5 changes: 5 additions & 0 deletions R/cran.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cran_install <- function() {
unlink("cran", recursive = TRUE)
dir.create("cran")
pak::pak("igraph", lib = "cran", dependencies = FALSE)
}
6 changes: 0 additions & 6 deletions tests/testthat/helper.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,3 @@ expect_that <- function(object, condition, info = NULL, label = NULL) {
condition(object)
)
}

cran_install <- function() {
unlink("cran", recursive = TRUE)
dir.create("cran")
pak::pak("igraph", lib = "cran", dependencies = FALSE)
}

0 comments on commit 00a4979

Please sign in to comment.