CRAN Package Check Results for Maintainer ‘Salil Koner <salil.koner at duke.edu>’

Last updated on 2024-05-01 12:15:17 CEST.

Package ERROR OK
fPASS 1 11

Package fPASS

Current CRAN status: ERROR: 1, OK: 11

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [87s/99s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(fPASS) Power and Sample Size for Projection Test under Repeated Measures : Version 1.0.0 > > test_check("fPASS") NULL values are specified for the arguments: Eigen function has been provided Estimation of eigenfunction starts Number of observations per subject varies, internally setting missing_type must be `nomiss` and missing percent to zero number of measurements will be taken randomly between 4 and 7 Eigenfunction is estimated based on a sample of size = 5000 NULL values are specified for the arguments: Eigen function has been provided Estimation of eigenfunction starts Eigenfunction is estimated based on a sample of size = 5000 NULL values are specified for the arguments: Eigen function has been provided Estimation of eigenfunction starts Number of observations per subject varies, internally setting missing_type must be `nomiss` and missing percent to zero number of measurements will be taken randomly between 4 and 7 Eigenfunction is estimated based on a sample of size = 5000 Measurement error variance is estimated to be zero, setting to 1e-6 NULL values are specified for the arguments: Eigen function has been provided Estimation of eigenfunction starts Eigenfunction is estimated based on a sample of size = 5000 User did not specify values to the following arguments: work.grid ---- default values are used NULL values are specified for the arguments: User did not specify values to the following arguments: work.grid ---- default values are used NULL values are specified for the arguments: Computing power of Projection-based test for total sample size = 100 NULL values are specified for the arguments: Eigen function has been provided Estimation of eigenfunction starts Number of observations per subject varies, internally setting missing_type must be `nomiss` and missing percent to zero number of measurements will be taken randomly between 4 and 7 Eigenfunction is estimated based on a sample of size = 5000 [1] 0.0501 User did not specify values to the following arguments: nsim ---- default values are used User did not specify values to the following arguments: nsim ---- default values are used User did not specify values to the following arguments: nsim ---- default values are used User did not specify values to the following arguments: nsim ---- default values are used User did not specify values to the following arguments: nsim ---- default values are used User did not specify values to the following arguments: nsim ---- default values are used User did not specify values to the following arguments: nsim ---- default values are used User did not specify values to the following arguments: nsim ---- default values are used [ FAIL 1 | WARN 0 | SKIP 0 | PASS 550 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-Power_Hotelling_T.R:83:23'): pHotellingT() provides the correct power when H0 is true and the covariance are unequal ── `obs.error` is not less than `exp.err`. Difference: 0.0005 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 550 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64