Skip to content

Commit

Permalink
issues #405 and #406: Solved
Browse files Browse the repository at this point in the history
  • Loading branch information
massimoaria committed Nov 27, 2023
1 parent 6a248ff commit 6b240bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ importFrom(Matrix,Matrix)
importFrom(Matrix,MatrixClass)
importFrom(Matrix,Ops)
importFrom(Matrix,Summary)
importFrom(Matrix,T2graph)
importFrom(Matrix,abIseq)
importFrom(Matrix,abIseq1)
importFrom(Matrix,all.equal)
Expand Down Expand Up @@ -115,7 +114,6 @@ importFrom(Matrix,forceSymmetric)
importFrom(Matrix,format)
importFrom(Matrix,formatSpMatrix)
importFrom(Matrix,formatSparseM)
importFrom(Matrix,graph2T)
importFrom(Matrix,head)
importFrom(Matrix,image)
importFrom(Matrix,invPerm)
Expand Down Expand Up @@ -197,6 +195,7 @@ importFrom(dplyr,mutate)
importFrom(dplyr,mutate_at)
importFrom(dplyr,mutate_if)
importFrom(dplyr,n)
importFrom(dplyr,reframe)
importFrom(dplyr,relocate)
importFrom(dplyr,rename)
importFrom(dplyr,rename_with)
Expand Down
2 changes: 1 addition & 1 deletion R/Hindex.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Hindex <- function(M, field="author", elements=NULL, sep = ";",years=Inf){

H <- df %>%
group_by(.data$AUs) %>%
summarize(#Element = .data$AUs[1],
reframe(#Element = .data$AUs[1],
h_index = h_calc(.data$TC),
g_index = g_calc(.data$TC),
PY_start = min(.data$PY),
Expand Down
3 changes: 1 addition & 2 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
#' @importFrom dplyr relocate
#' @importFrom dplyr slice_head
#' @importFrom dplyr slice_tail
#' @importFrom dplyr reframe
#' @importFrom plotly add_annotations
#' @importFrom plotly add_lines
#' @importFrom plotly config
Expand Down Expand Up @@ -198,7 +199,6 @@
#' @importFrom Matrix format
#' @importFrom Matrix formatSparseM
#' @importFrom Matrix formatSpMatrix
#' @importFrom Matrix graph2T
#' @importFrom Matrix head
#' @importFrom Matrix image
#' @importFrom Matrix invPerm
Expand Down Expand Up @@ -252,7 +252,6 @@
#' @importFrom Matrix Summary
#' @importFrom Matrix symmpart
#' @importFrom Matrix t
#' @importFrom Matrix T2graph
#' @importFrom Matrix tail
#' @importFrom Matrix tcrossprod
#' @importFrom Matrix tril
Expand Down

0 comments on commit 6b240bf

Please sign in to comment.