CRAN Package Check Results for Maintainer ‘Siyang Liu <liusiyang.lucia at gmail.com>’

Last updated on 2025-05-11 12:50:56 CEST.

Package ERROR OK
IDLFM 1 12

Package IDLFM

Current CRAN status: ERROR: 1, OK: 12

Version: 1.0.0
Check: whether package can be installed
Result: WARN Found the following significant warnings: Note: possible error in 'SVT_SparseArray(dim = c(n_patients, ': unused argument (dim = c(n_patients, n_var, time)) Note: possible error in 'SVT_SparseArray(dim = c(n_patients, ': unused argument (dim = c(n_patients, 1, time)) See ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.4/IDLFM.Rcheck/00install.out’ for details. Information on the location(s) of code generating the ‘Note’s can be obtained by re-running with environment variable R_KEEP_PKG_SOURCE set to ‘yes’. Flavor: r-oldrel-macos-x86_64

Version: 1.0.0
Check: R code for possible problems
Result: NOTE generate_data: possible error in SVT_SparseArray(dim = c(n_patients, n_var, time)): unused argument (dim = c(n_patients, n_var, time)) generate_data: possible error in SVT_SparseArray(dim = c(n_patients, 1, time)): unused argument (dim = c(n_patients, 1, time)) Flavor: r-oldrel-macos-x86_64

Version: 1.0.0
Check: examples
Result: ERROR Running examples in ‘IDLFM-Ex.R’ failed The error most likely occurred in: > ### Name: IDLFM > ### Title: Individualized Dynamic Latent Factor Model > ### Aliases: IDLFM > > ### ** Examples > > library(splines) > #if (!require("BiocManager", quietly = TRUE)) > #install.packages("BiocManager") > #BiocManager::install("SparseArray") > library(SparseArray) Loading required package: Matrix Loading required package: BiocGenerics Attaching package: ‘BiocGenerics’ The following objects are masked from ‘package:stats’: IQR, mad, sd, var, xtabs The following objects are masked from ‘package:base’: Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append, as.data.frame, basename, cbind, colnames, dirname, do.call, duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted, lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind, rownames, sapply, setdiff, table, tapply, union, unique, unsplit, which.max, which.min Loading required package: MatrixGenerics Loading required package: matrixStats Attaching package: ‘MatrixGenerics’ The following objects are masked from ‘package:matrixStats’: colAlls, colAnyNAs, colAnys, colAvgsPerRowSet, colCollapse, colCounts, colCummaxs, colCummins, colCumprods, colCumsums, colDiffs, colIQRDiffs, colIQRs, colLogSumExps, colMadDiffs, colMads, colMaxs, colMeans2, colMedians, colMins, colOrderStats, colProds, colQuantiles, colRanges, colRanks, colSdDiffs, colSds, colSums2, colTabulates, colVarDiffs, colVars, colWeightedMads, colWeightedMeans, colWeightedMedians, colWeightedSds, colWeightedVars, rowAlls, rowAnyNAs, rowAnys, rowAvgsPerColSet, rowCollapse, rowCounts, rowCummaxs, rowCummins, rowCumprods, rowCumsums, rowDiffs, rowIQRDiffs, rowIQRs, rowLogSumExps, rowMadDiffs, rowMads, rowMaxs, rowMeans2, rowMedians, rowMins, rowOrderStats, rowProds, rowQuantiles, rowRanges, rowRanks, rowSdDiffs, rowSds, rowSums2, rowTabulates, rowVarDiffs, rowVars, rowWeightedMads, rowWeightedMeans, rowWeightedMedians, rowWeightedSds, rowWeightedVars Loading required package: S4Vectors Loading required package: stats4 Attaching package: ‘S4Vectors’ The following objects are masked from ‘package:Matrix’: expand, unname The following object is masked from ‘package:utils’: findMatches The following objects are masked from ‘package:base’: I, expand.grid, unname Loading required package: S4Arrays Loading required package: abind Loading required package: IRanges Attaching package: ‘S4Arrays’ The following object is masked from ‘package:abind’: abind The following object is masked from ‘package:base’: rowsum > > I <- 3 > J <- 5 > time <- 1000 > R <- 3 > k <- 3 > N <- 300 > idx_x <- randomSparseArray(c(I, J, time), density=0.8) > idx_y_train <- randomSparseArray(c(I, 1, time), density=0.2) > idx_y_test <- randomSparseArray(c(I, 1, time), density=0.2) > data <- generate_data(I, J, time, idx_x, idx_y_train, R, k, N) Error: unable to find an inherited method for function ‘nzcount’ for signature ‘x = "numeric"’ Execution halted Flavor: r-oldrel-macos-x86_64