Skip to content

Commit dab468c

Browse files
authored
Merge pull request #407 from massimoaria/develop
CRAN Release 4.1.4
2 parents 26bc46c + 67d3205 commit dab468c

21 files changed

+57
-37
lines changed

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ Rubbish
2222
^inst/biblioshiny/rsconnect
2323
^rsconnect
2424

25+
^CRAN-SUBMISSION$
26+
^cran-comments\.md$

NAMESPACE

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ importFrom(Matrix,Matrix)
8181
importFrom(Matrix,MatrixClass)
8282
importFrom(Matrix,Ops)
8383
importFrom(Matrix,Summary)
84-
importFrom(Matrix,T2graph)
8584
importFrom(Matrix,abIseq)
8685
importFrom(Matrix,abIseq1)
8786
importFrom(Matrix,all.equal)
@@ -115,7 +114,6 @@ importFrom(Matrix,forceSymmetric)
115114
importFrom(Matrix,format)
116115
importFrom(Matrix,formatSpMatrix)
117116
importFrom(Matrix,formatSparseM)
118-
importFrom(Matrix,graph2T)
119117
importFrom(Matrix,head)
120118
importFrom(Matrix,image)
121119
importFrom(Matrix,invPerm)
@@ -186,15 +184,18 @@ importFrom(dplyr,bind_rows)
186184
importFrom(dplyr,count)
187185
importFrom(dplyr,cummean)
188186
importFrom(dplyr,desc)
187+
importFrom(dplyr,distinct)
189188
importFrom(dplyr,do)
190189
importFrom(dplyr,group_by)
191190
importFrom(dplyr,if_all)
192191
importFrom(dplyr,inner_join)
192+
importFrom(dplyr,join_by)
193193
importFrom(dplyr,left_join)
194194
importFrom(dplyr,mutate)
195195
importFrom(dplyr,mutate_at)
196196
importFrom(dplyr,mutate_if)
197197
importFrom(dplyr,n)
198+
importFrom(dplyr,reframe)
198199
importFrom(dplyr,relocate)
199200
importFrom(dplyr,rename)
200201
importFrom(dplyr,rename_with)

NEWS

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
bibliometrix v4.1.4 (Release date: )
1+
bibliometrix v4.1.4 (Release date: 2023-11-29)
22

33
Changes:
4+
* Biblioshiny: After the data quality check, the menus of the analyses that cannot be performed are hidden
45
* Start to adding support to OpenAlex data
56
* Improvements in historiograph:
67
- Improved Scopus algorithm to match local citations
78
- Added OpenAlex algorithm to match local citations
89
- Added Lens.org algorithm to match local citations
910
* Improved pajek export in biblioshiny
1011
* Computational speed improvements
12+
* Solved issue with igraph 1.6.0 release canddate
13+
* Solved issue with Matrix package
1114

1215
bibliometrix v4.1.2 (Release date: 2023-03-06)
1316

R/Hindex.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Hindex <- function(M, field="author", elements=NULL, sep = ";",years=Inf){
8585

8686
H <- df %>%
8787
group_by(.data$AUs) %>%
88-
summarize(#Element = .data$AUs[1],
88+
reframe(#Element = .data$AUs[1],
8989
h_index = h_calc(.data$TC),
9090
g_index = g_calc(.data$TC),
9191
PY_start = min(.data$PY),

R/couplingMap.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#' @param impact.measure is a character. It indicates the impact measure used to rank cluster elements (documents, authors or sources).
2323
#' It can be \code{impact.measure = c("local", "global")}.\\
2424
#' With \code{impact.measure = "local"}, \link{couplingMap} calculates elements impact using the Normalized Local Citation Score while
25-
#' using code{impact.measure = "global"}, the function uses the Normalized Global Citation Score to measure elements impact.
25+
#' using \code{impact.measure = "global"}, the function uses the Normalized Global Citation Score to measure elements impact.
2626
#' @param minfreq is a integer. It indicates the minimum frequency (per thousand) of a cluster. It is a number in the range (0,1000).
2727
#' @param community.repulsion is a real. It indicates the repulsion force among network communities. It is a real number between 0 and 1. Default is \code{community.repulsion = 0.1}.
2828
#' @param stemming is logical. If it is TRUE the word (from titles or abstracts) will be stemmed (using the Porter's algorithm).

R/csvScopus2df.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ csvScopus2df <- function(file){
2929
DATA$AU=gsub("\\.", "", DATA$AU)
3030
DATA$AU=gsub(",", ";", DATA$AU)
3131

32+
### store raw affiliation format to extract link among authors and affiliations
33+
DATA$C1raw <- DATA$C1
34+
###
35+
3236
# Affiliation
3337
if (!("C1" %in% names(DATA))){DATA$C1 <- NA}else{
3438
DATA$C1 <- unlist(lapply(strsplit(DATA$C1,";"), function(l){

R/histNetwork.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ scopus <- function(M, min.citations, sep, network, verbose){
324324
dplyr::filter(.data$toRemove != TRUE)
325325

326326
LCS <- CR %>%
327-
group_by(SR_cited) %>%
327+
group_by(.data$SR_cited) %>%
328328
count(name="LCS")
329329

330330

@@ -353,7 +353,7 @@ scopus <- function(M, min.citations, sep, network, verbose){
353353
CRadd <- data.frame(SR_citing=unique(M$SR), SR_cited=unique(M$SR), value=1)
354354

355355
WLCR <- CR %>%
356-
select(SR_citing, SR_cited) %>%
356+
select(.data$SR_citing, .data$SR_cited) %>%
357357
mutate(value = 1) %>%
358358
bind_rows(CRadd) %>%
359359
distinct() %>%

R/isi2df.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ Please, take a look at the vignettes:
6464
df <- cbind(df1,df2)
6565
rm(df1,df2)
6666

67+
### store raw affiliation format to extract link among authors and affiliations
68+
df$C1raw <- df$C1
69+
###
70+
6771
df$DB <- "ISI"
6872

6973
# Authors

R/normalizeCItationScore.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#' @param impact.measure is a character. It indicates the impact measure used to rank cluster elements (documents, authors or sources).
1919
#' It can be \code{impact.measure = c("local", "global")}.\\
2020
#' With \code{impact.measure = "local"}, \link{normalizeCitationScore} calculates elements impact using the Normalized Local Citation Score while
21-
#' using code{impact.measure = "global"}, the function uses the Normalized Global Citation Score to measure elements impact.
21+
#' using \code{impact.measure = "global"}, the function uses the Normalized Global Citation Score to measure elements impact.
2222
#' @return a dataframe.
2323
#'
2424
#'

R/zzz.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
## @importFrom dplyr filter
2626
#' @importFrom dplyr arrange
2727
#' @importFrom dplyr do
28+
#' @importFrom dplyr distinct
29+
#' @importFrom dplyr join_by
2830
#' @importFrom dplyr n
2931
#' @importFrom dplyr slice
3032
#' @importFrom dplyr slice_max
@@ -53,6 +55,7 @@
5355
#' @importFrom dplyr relocate
5456
#' @importFrom dplyr slice_head
5557
#' @importFrom dplyr slice_tail
58+
#' @importFrom dplyr reframe
5659
#' @importFrom plotly add_annotations
5760
#' @importFrom plotly add_lines
5861
#' @importFrom plotly config
@@ -196,7 +199,6 @@
196199
#' @importFrom Matrix format
197200
#' @importFrom Matrix formatSparseM
198201
#' @importFrom Matrix formatSpMatrix
199-
#' @importFrom Matrix graph2T
200202
#' @importFrom Matrix head
201203
#' @importFrom Matrix image
202204
#' @importFrom Matrix invPerm
@@ -250,7 +252,6 @@
250252
#' @importFrom Matrix Summary
251253
#' @importFrom Matrix symmpart
252254
#' @importFrom Matrix t
253-
#' @importFrom Matrix T2graph
254255
#' @importFrom Matrix tail
255256
#' @importFrom Matrix tcrossprod
256257
#' @importFrom Matrix tril

0 commit comments

Comments
 (0)