CRAN Package Check Results for Maintainer ‘Katherine Luo <hluo224 at uwo.ca>’

Last updated on 2024-07-27 17:58:19 CEST.

Package ERROR OK
PANPRSnext 9 4

Package PANPRSnext

Current CRAN status: ERROR: 9, OK: 4

Version: 1.2.0
Check: examples
Result: ERROR Running examples in ‘PANPRSnext-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: gsfPEN_R > ### Title: Run the gsfPEN algorithm for multiple traits, with functional > ### annotations. > ### Aliases: gsfPEN_R > > ### ** Examples > > # Load the library and data > library(PANPRSnext) > data("summaryZ") > data("Nvec") > data("plinkLD") > data("funcIndex") > > # Take random subset of the data > subset <- sample(nrow(summaryZ), 100) > subset_summary_z <- summaryZ[subset, ] > subset_func_index <- funcIndex[subset, ] > > # Run gsfPEN > output <- gsfPEN_R( + summary_z = subset_summary_z, + n_vec = Nvec, + plinkLD = plinkLD, + func_index = subset_func_index + ) Error: element-wise multiplication: incompatible matrix dimensions: 1x3 and 3x1 Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.2.0
Check: examples
Result: ERROR Running examples in ‘PANPRSnext-Ex.R’ failed The error most likely occurred in: > ### Name: gsfPEN_R > ### Title: Run the gsfPEN algorithm for multiple traits, with functional > ### annotations. > ### Aliases: gsfPEN_R > > ### ** Examples > > # Load the library and data > library(PANPRSnext) > data("summaryZ") > data("Nvec") > data("plinkLD") > data("funcIndex") > > # Take random subset of the data > subset <- sample(nrow(summaryZ), 100) > subset_summary_z <- summaryZ[subset, ] > subset_func_index <- funcIndex[subset, ] > > # Run gsfPEN > output <- gsfPEN_R( + summary_z = subset_summary_z, + n_vec = Nvec, + plinkLD = plinkLD, + func_index = subset_func_index + ) Error: element-wise multiplication: incompatible matrix dimensions: 1x3 and 3x1 Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64