Package check result: ERROR Check: examples, Result: ERROR Running examples in ‘DrugSim2DR-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: DrugReposition > ### Title: DrugReposition > ### Aliases: DrugReposition > > ### ** Examples > > library("igraph") Attaching package: ‘igraph’ The following objects are masked from ‘package:stats’: decompose, spectrum The following object is masked from ‘package:base’: union > # Obtain the example data > GEP<-Gettest("GEP") > label<-Gettest("label") > # Run the function > DEscore<-CalDEscore(GEP,label) > # Run the function > ## No test: > drug_centrality<-DrugReposition(DE=DEscore,nperm = 1000,r = 0.9,p = 10^-10) Error in `set_vertex_attr()`: ! `name` must be a single string, not `TRUE`. Backtrace: ▆ 1. └─DrugSim2DR::DrugReposition(...) 2. └─igraph::graph.adjacency(...) 3. └─igraph::graph_from_adjacency_matrix(...) 4. └─igraph::set_vertex_attr(name = add.rownames) 5. └─igraph:::check_string(name) 6. └─igraph:::stop_input_type(...) 7. └─rlang::abort(message, ..., call = call, arg = arg) Execution halted