-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #296 from stocnet/develop
v1.4.1
- Loading branch information
Showing
15 changed files
with
89 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,5 @@ | ||
#' @importFrom igraph is_igraph | ||
#' @export | ||
igraph::is_igraph | ||
|
||
#' @importFrom network is.network | ||
#' @export | ||
network::is.network | ||
|
||
#' @importFrom network as.network | ||
#' @export | ||
network::as.network | ||
|
||
#' @importFrom dplyr %>% | ||
#' @export | ||
dplyr::`%>%` | ||
|
||
#' @importFrom tidygraph with_graph | ||
#' @export | ||
tidygraph::with_graph | ||
|
||
#' @importFrom tidygraph is.tbl_graph | ||
#' @export | ||
tidygraph::is.tbl_graph | ||
|
||
#' @importFrom tidygraph .G | ||
#' @export | ||
tidygraph::.G | ||
|
||
#' @importFrom tidygraph .N | ||
#' @export | ||
tidygraph::.N | ||
|
||
#' @importFrom tidygraph .E | ||
#' @export | ||
tidygraph::.E | ||
|
||
#' @importFrom tidygraph mutate | ||
#' @export | ||
tidygraph::mutate | ||
|
||
#' @importFrom tidygraph rename | ||
#' @export | ||
tidygraph::rename | ||
|
||
#' @importFrom tidygraph bind_edges | ||
#' @export | ||
tidygraph::bind_edges | ||
|
||
expect_nodes <- function() { | ||
if (!.graph_context$free() && .graph_context$active() != "nodes") { | ||
stop("This call requires nodes to be active", call. = FALSE) | ||
} | ||
} | ||
|
||
expect_edges <- function() { | ||
if (!.graph_context$free() && .graph_context$active() != "edges") { | ||
stop("This call requires edges to be active", call. = FALSE) | ||
} | ||
} | ||
|
||
# #' @importFrom rlang `%||%` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.