Skip to content

Commit

Permalink
issue #376: Solved
Browse files Browse the repository at this point in the history
Now bibliometrix works fine with igraph 1.6
  • Loading branch information
massimoaria committed Aug 16, 2023
1 parent 9fbb46a commit f8c16b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: bibliometrix
Type: Package
Title: Comprehensive Science Mapping Analysis
Version: 4.1.3
Version: 4.1.4
Authors@R: c(
person(given = "Massimo",
family = "Aria",
Expand Down
4 changes: 2 additions & 2 deletions R/networkStat.R
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ networkStat<-function(object, stat="network",type="degree"){
betweenness={
# Betweenness centrality.
# Another way to gauge a node's influence is to consider its role in linking other nodes together in the network.
BC <- betweenness(net, v = V(net), directed = FALSE, weights = NULL, nobigint = TRUE, normalized = TRUE)
BC <- betweenness(net, v = V(net), directed = FALSE, weights = NULL, normalized = TRUE)
},
eigenvector={
# Eigenvector centrality.
Expand Down Expand Up @@ -147,7 +147,7 @@ networkStat<-function(object, stat="network",type="degree"){
all={
DC <- degree(net, v = V(net), mode = c("all"), loops = TRUE, normalized = TRUE)
CC <- suppressWarnings(closeness(net, vids = V(net), mode = c("all"), normalized = TRUE))
BC <- betweenness(net, v = V(net), directed = FALSE, weights = NULL, nobigint = TRUE, normalized = TRUE)
BC <- betweenness(net, v = V(net), directed = FALSE, weights = NULL, normalized = TRUE)
EC <- eigen_centrality(net, directed = FALSE, scale = TRUE, weights = NULL, options = arpack_defaults)$vector
PR <- page_rank(net, algo = c("prpack"), vids = V(net),
directed = FALSE, damping = 0.85, personalized = NULL, weights = NULL,
Expand Down
2 changes: 1 addition & 1 deletion inst/biblioshiny/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ server <- function(input, output,session){
## suppress warnings
options(warn = -1)

## chrome configration for shinyapps server
## chrome configuration for shinyapps server
#message(curl::curl_version()) # check curl is installed
if (identical(Sys.getenv("R_CONFIG_ACTIVE"), "shinyapps")) {
chromote::set_default_chromote_object(
Expand Down

0 comments on commit f8c16b9

Please sign in to comment.