Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
handcock committed Nov 9, 2024
2 parents 0ccaaa7 + 3669a94 commit ff4cb11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import(ergm)
import(network)
import(statnet.common)
import(stats)
importFrom(utils,packageVersion)
importFrom(stats,as.formula)
importFrom(stats,var)
useDynLib(ergm.tapered)
4 changes: 2 additions & 2 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
.onLoad <- function(libname, pkgname){
utils::globalVariables(names=c(".","NO_LOGLIK_MESSAGE","NO_NULL_IMPLICATION"))
.RegisterKeywords()
if(packageVersion("ergm") != "4.3.6983"){
stop("ergm.tapered requires a variant of the current version of 'ergm' (the 'tapered' branch).\n To install it use:\n devtools::install_github('statnet/ergm', ref='tapered')")
if(utils::packageVersion("ergm") != "4.3.6983"){
stop("ergm.tapered requires a variant of the current version of 'ergm' (the 'tapered' branch).\n To install it use:\n devtools::install_github('statnet/ergm', ref='tapered')")
}
}

Expand Down

0 comments on commit ff4cb11

Please sign in to comment.