CRAN Package Check Results for Package population

Last updated on 2019-12-06 00:50:06 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2 3.14 19.70 22.84 ERROR
r-devel-linux-x86_64-debian-gcc 0.2 2.38 16.12 18.50 ERROR
r-devel-linux-x86_64-fedora-clang 0.2 30.45 OK
r-devel-linux-x86_64-fedora-gcc 0.2 29.11 OK
r-devel-windows-ix86+x86_64 0.2 11.00 70.00 81.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.2 12.00 61.00 73.00 OK
r-patched-linux-x86_64 0.2 2.44 20.62 23.06 OK
r-patched-solaris-x86 0.2 46.10 OK
r-release-linux-x86_64 0.2 2.15 20.69 22.84 OK
r-release-windows-ix86+x86_64 0.2 12.00 62.00 74.00 OK
r-release-osx-x86_64 0.2 OK
r-oldrel-windows-ix86+x86_64 0.2 9.00 44.00 53.00 OK
r-oldrel-osx-x86_64 0.2 OK

Additional issues

gcc10 noLD

Check Details

Version: 0.2
Check: examples
Result: ERROR
    Running examples in 'population-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: plot_projection
    > ### Title: Plot population projections
    > ### Aliases: plot_projection
    >
    > ### ** Examples
    >
    > years <- 10
    > runs <- 100
    >
    > init.pop <- c(30, 20, 15, 12, 10, 9, 8, 7, 6, 5)
    >
    > surv.md <- c(0.5, 0.7, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9)
    > surv.sd <- c(0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1)
    > surv.msd <- cbind(surv.md, surv.sd)
    >
    > litter.md <- c(0.2, 1.1, 2.8, 2.8, 2.8, 2.8, 2.8, 2.8, 1.8, 0.2)
    > litter.sd <- c(0.1, 0.2, 0.15, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1)
    > litter.msd <- cbind(litter.md, litter.sd)
    >
    > nclass <- 4 # vary number of classes
    >
    > projection <- project(
    + years = years,
    + runs = runs,
    + initial_population = init.pop[1:nclass],
    + survival = surv.msd[1:nclass,],
    + litter = litter.msd[1:nclass,]
    + )
    
    |**************************************************|Error in `dim<-`(t(output$runs), list(classes, years, runs)) :
     invalid second argument, must be vector or NULL
    Calls: project -> aperm
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc