CRAN Package Check Results for Package nCal

Last updated on 2021-08-01 19:51:36 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2020.9-10 14.85 137.99 152.84 OK
r-devel-linux-x86_64-debian-gcc 2020.9-10 12.65 101.32 113.97 OK
r-devel-linux-x86_64-fedora-clang 2020.9-10 186.14 OK
r-devel-linux-x86_64-fedora-gcc 2020.9-10 177.32 OK
r-devel-windows-x86_64 2020.9-10 32.00 160.00 192.00 OK
r-devel-windows-x86_64-gcc10-UCRT 2020.9-10 OK
r-patched-linux-x86_64 2020.9-10 OK
r-patched-solaris-x86 2020.9-10 246.50 OK
r-release-linux-x86_64 2020.9-10 16.26 128.87 145.13 OK
r-release-macos-arm64 2020.9-10 ERROR
r-release-macos-x86_64 2020.9-10 OK
r-release-windows-ix86+x86_64 2020.9-10 33.00 155.00 188.00 OK
r-oldrel-macos-x86_64 2020.9-10 OK
r-oldrel-windows-ix86+x86_64 2020.9-10 33.00 160.00 193.00 OK

Check Details

Version: 2020.9-10
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘rjags’
Flavor: r-release-macos-arm64

Version: 2020.9-10
Check: examples
Result: ERROR
    Running examples in ‘nCal-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: bcrm
    > ### Title: Bayesian Concentration-Response Model
    > ### Aliases: bcrm getVarComponent.bcrm vcov.bcrm coef.bcrm plot.bcrm
    > ### print.bcrm get.single.fit
    > ### Keywords: distribution
    >
    > ### ** Examples
    >
    >
    >
    > set.seed(1)
    > log.conc=log(1e4)-log(3)*9:0
    > n.replicate=2
    > fi=simulate1curve (p.eotaxin[1,], rep(log.conc,each=n.replicate), sd.e=0.3)
    > dat.std=data.frame(fi, expected_conc=exp(rep(log.conc,each=n.replicate)), analyte="test",
    + assay_id="assay1", sample_id=NA, well_role="Standard", dilution=rep(3**(9:0), each=n.replicate))
    > # add unknown
    > dat.unk=rbind(
    + data.frame(fi=exp(6.75), expected_conc=NA, analyte="test", assay_id="assay1",
    + sample_id=1, well_role="Unknown", dilution=1)
    + , data.frame(fi=exp(6.70), expected_conc=NA, analyte="test", assay_id="assay1",
    + sample_id=2, well_role="Unknown", dilution=1)
    + , data.frame(fi=exp(3), expected_conc=NA, analyte="test", assay_id="assay1",
    + sample_id=3, well_role="Unknown", dilution=1)
    + , data.frame(fi=exp(4.4), expected_conc=NA, analyte="test", assay_id="assay1",
    + sample_id=4, well_role="Unknown", dilution=10)
    + )
    > dat=rbind(dat.std, dat.unk)
    > # second plate
    > fi=simulate1curve (p.eotaxin[2,], rep(log.conc,each=n.replicate), sd.e=0.3)
    > dat.std=data.frame(fi, expected_conc=exp(rep(log.conc,each=n.replicate)), analyte="test",
    + assay_id="assay2", sample_id=NA, well_role="Standard", dilution=rep(3**(9:0), each=n.replicate))
    > # add unknown
    > dat.unk=rbind(
    + data.frame(fi=exp(6.75), expected_conc=NA, analyte="test", assay_id="assay2",
    + sample_id=1, well_role="Unknown", dilution=1)
    + , data.frame(fi=exp(6.70), expected_conc=NA, analyte="test", assay_id="assay2",
    + sample_id=2, well_role="Unknown", dilution=1)
    + , data.frame(fi=exp(3), expected_conc=NA, analyte="test", assay_id="assay2",
    + sample_id=3, well_role="Unknown", dilution=1)
    + , data.frame(fi=exp(4.4), expected_conc=NA, analyte="test", assay_id="assay2",
    + sample_id=4, well_role="Unknown", dilution=10)
    + )
    > dat=rbind(dat, dat.std, dat.unk)
    >
    > fits = bcrm(log(fi)~expected_conc, dat, parameterization="gh", error.model="norm",
    + prior="cytokine", n.iter=6e3)
    Error in loadNamespace(x) : there is no package called ‘rjags’
    [1] "jags.model fails, try with a different seed"
    Error in loadNamespace(x) : there is no package called ‘rjags’
    [1] "jags.model fails, try with a different seed"
    Error in loadNamespace(x) : there is no package called ‘rjags’
    [1] "jags.model fails, try with a different seed"
    > par(mfrow=c(1,2))
    > plot(fits)
    Error in plot.window(...) : need finite 'xlim' values
    Calls: plot -> plot.default -> localWindow -> plot.window
    In addition: Warning messages:
    1: In min(x) : no non-missing arguments to min; returning Inf
    2: In max(x) : no non-missing arguments to max; returning -Inf
    3: In min(x) : no non-missing arguments to min; returning Inf
    4: In max(x) : no non-missing arguments to max; returning -Inf
    Execution halted
Flavor: r-release-macos-arm64

Version: 2020.9-10
Check: tests
Result: ERROR
     Running ‘doRUnit.R’ [4s/5s]
    Running the tests in ‘tests/doRUnit.R’ failed.
    Last 13 lines of output:
     Number of errors: 0
     Number of failures: 1
    
    
     1 Test Suite :
     nCal unit testing - 3 test functions, 0 errors, 1 failure
     FAILURE in test.bcrm: Error in checkEqualsNumeric(mean(fits$median.coef), 4.01789, tolerance = tolerance.jags) :
     'is.NA' value mismatch: 0 in current 1 in target
    
     Error:
    
     unit testing failed (#test failures: 1, #R errors: 0)
    
     In addition: There were 18 warnings (use warnings() to see them)
     Execution halted
Flavor: r-release-macos-arm64