Package check result: ERROR Check: examples, Result: ERROR Running examples in ‘funMoDisco-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: discoverMotifs > ### Title: Functional Motif Discovery > ### Aliases: discoverMotifs > > ### ** Examples > > ## No test: > # Example 1: Discover motifs using ProbKMA > > # Define dissimilarity measure and weight parameter > diss <- 'd0_d1_L2' > alpha <- 0.5 > > # Define number of motifs and their minimum lengths > K <- c(2, 3) > c <- c(61, 51) > n_init <- 3 > > # Load simulated data > data("simulated200") > > # Perform motif discovery using ProbKMA > tmp_path <- tempdir() > > results <- funMoDisco::discoverMotifs( + Y0 = simulated200$Y0, + method = "ProbKMA", + stopCriterion = "max", + name = tempdir(), + plot = FALSE, + probKMA_options = list( + Y1 = simulated200$Y1, + K = K, + c = c, + n_init = n_init, + diss = diss, + alpha = alpha + ), + worker_number = 1 + ) K 2 _c 61 _random 1 running Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Membership matrix dimensions not valid. Choosing random initial membership matrix. Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Shift warping matrix dimensions not valid. Choosing random initial shift warping matrix. Warning in dir.create(paste0(name, "K", K, "_c", c), showWarnings = TRUE, : '/home/hornik/tmp/scratch/RtmpnBf4FR/working_dir/RtmpXYQIwe/K2_c61' already exists K 2 _c 61 _random 2 running Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Membership matrix dimensions not valid. Choosing random initial membership matrix. Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Shift warping matrix dimensions not valid. Choosing random initial shift warping matrix. Warning in par(oldpar) : calling par(new=TRUE) with no plot Warning in dir.create(paste0(name, "K", K, "_c", c), showWarnings = TRUE, : '/home/hornik/tmp/scratch/RtmpnBf4FR/working_dir/RtmpXYQIwe/K2_c61' already exists K 2 _c 61 _random 3 running Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Membership matrix dimensions not valid. Choosing random initial membership matrix. Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Shift warping matrix dimensions not valid. Choosing random initial shift warping matrix. Warning in par(oldpar) : calling par(new=TRUE) with no plot K 2 _c 51 _random 1 running Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Membership matrix dimensions not valid. Choosing random initial membership matrix. Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Shift warping matrix dimensions not valid. Choosing random initial shift warping matrix. Warning in par(oldpar) : calling par(new=TRUE) with no plot Warning in dir.create(paste0(name, "K", K, "_c", c), showWarnings = TRUE, : '/home/hornik/tmp/scratch/RtmpnBf4FR/working_dir/RtmpXYQIwe/K2_c51' already exists K 2 _c 51 _random 2 running Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Membership matrix dimensions not valid. Choosing random initial membership matrix. Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Shift warping matrix dimensions not valid. Choosing random initial shift warping matrix. Warning in par(oldpar) : calling par(new=TRUE) with no plot Warning in dir.create(paste0(name, "K", K, "_c", c), showWarnings = TRUE, : '/home/hornik/tmp/scratch/RtmpnBf4FR/working_dir/RtmpXYQIwe/K2_c51' already exists K 2 _c 51 _random 3 running Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Membership matrix dimensions not valid. Choosing random initial membership matrix. Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Shift warping matrix dimensions not valid. Choosing random initial shift warping matrix. Warning in par(oldpar) : calling par(new=TRUE) with no plot K 3 _c 61 _random 1 running Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Membership matrix dimensions not valid. Choosing random initial membership matrix. Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Shift warping matrix dimensions not valid. Choosing random initial shift warping matrix. Warning in par(oldpar) : calling par(new=TRUE) with no plot Warning in dir.create(paste0(name, "K", K, "_c", c), showWarnings = TRUE, : '/home/hornik/tmp/scratch/RtmpnBf4FR/working_dir/RtmpXYQIwe/K3_c61' already exists K 3 _c 61 _random 2 running Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Membership matrix dimensions not valid. Choosing random initial membership matrix. Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Shift warping matrix dimensions not valid. Choosing random initial shift warping matrix. Warning in par(oldpar) : calling par(new=TRUE) with no plot Warning in dir.create(paste0(name, "K", K, "_c", c), showWarnings = TRUE, : '/home/hornik/tmp/scratch/RtmpnBf4FR/working_dir/RtmpXYQIwe/K3_c61' already exists K 3 _c 61 _random 3 running Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Membership matrix dimensions not valid. Choosing random initial membership matrix. Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Shift warping matrix dimensions not valid. Choosing random initial shift warping matrix. Warning in par(oldpar) : calling par(new=TRUE) with no plot K 3 _c 51 _random 1 running Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Membership matrix dimensions not valid. Choosing random initial membership matrix. Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Shift warping matrix dimensions not valid. Choosing random initial shift warping matrix. Warning in par(oldpar) : calling par(new=TRUE) with no plot Warning in dir.create(paste0(name, "K", K, "_c", c), showWarnings = TRUE, : '/home/hornik/tmp/scratch/RtmpnBf4FR/working_dir/RtmpXYQIwe/K3_c51' already exists K 3 _c 51 _random 2 running Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Membership matrix dimensions not valid. Choosing random initial membership matrix. Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Shift warping matrix dimensions not valid. Choosing random initial shift warping matrix. Warning in par(oldpar) : calling par(new=TRUE) with no plot Warning in dir.create(paste0(name, "K", K, "_c", c), showWarnings = TRUE, : '/home/hornik/tmp/scratch/RtmpnBf4FR/working_dir/RtmpXYQIwe/K3_c51' already exists K 3 _c 51 _random 3 running Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Membership matrix dimensions not valid. Choosing random initial membership matrix. Warning in initialChecks(Y0, Y1, P0, S0, params, diss, V_init) : Shift warping matrix dimensions not valid. Choosing random initial shift warping matrix. Warning in par(oldpar) : calling par(new=TRUE) with no plot > > # Example 2: Discover motifs using funBIalign > results_funbialign <- funMoDisco::discoverMotifs( + Y0 = simulated200$Y0, + method = "funBIalign", + stopCriterion = "fMSR", + name = tempdir(), + plot = FALSE, + funBIalign_options = list( + portion_len = 60, + min_card = 3, + cut_off = 1.0 + ), + worker_number = 1 + ) Error: Package 'RcppArmadillo' referenced from LinkingTo directive is not available. Warning in par(oldpar) : calling par(new=TRUE) with no plot Execution halted