Skip to content

Commit

Permalink
Drop ellipsis for rlang
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy committed Jul 2, 2024
1 parent 8fde63c commit fd3d993
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ Depends:
Matrix
Imports:
dplyr,
ellipsis,
ggplot2,
glue,
igraph,
methods,
rlang (>= 1.0.0),
RSpectra,
stats,
tibble,
Expand Down
2 changes: 1 addition & 1 deletion R/directed_factor_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ new_directed_factor_model <- function(
...,
subclass = character()) {

ellipsis::check_dots_unnamed()
rlang::check_dots_unnamed()

n <- nrow(X)
k1 <- ncol(X)
Expand Down
2 changes: 1 addition & 1 deletion R/expected-degrees.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
#' svds(dfm)
#'
expected_edges <- function(factor_model, ...) {
ellipsis::check_dots_empty()
rlang::check_dots_empty()
UseMethod("expected_edges")
}

Expand Down
2 changes: 1 addition & 1 deletion R/sample_edgelist.R
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
sample_edgelist <- function(
factor_model,
...) {
ellipsis::check_dots_unnamed()
rlang::check_dots_unnamed()
UseMethod("sample_edgelist")
}

Expand Down
2 changes: 1 addition & 1 deletion R/sample_igraph.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sample_igraph <- function(
factor_model,
...) {

ellipsis::check_dots_unnamed()
rlang::check_dots_unnamed()

if (!(requireNamespace("igraph", quietly = TRUE))) {
stop(
Expand Down
2 changes: 1 addition & 1 deletion R/sample_sparse.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
sample_sparse <- function(
factor_model,
...) {
ellipsis::check_dots_unnamed()
rlang::check_dots_unnamed()
UseMethod("sample_sparse")
}

Expand Down
2 changes: 1 addition & 1 deletion R/sample_tidygraph.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sample_tidygraph <- function(
factor_model,
...) {

ellipsis::check_dots_unnamed()
rlang::check_dots_unnamed()

if (!(requireNamespace("tidygraph", quietly = TRUE))) {
stop(
Expand Down
2 changes: 1 addition & 1 deletion R/undirected_factor_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ new_undirected_factor_model <- function(
allow_self_loops = TRUE,
subclass = character()) {

ellipsis::check_dots_unnamed()
rlang::check_dots_unnamed()

n <- nrow(X)
k <- ncol(S)
Expand Down

0 comments on commit fd3d993

Please sign in to comment.