CRAN Package Check Results for Package betaper

Last updated on 2020-08-07 01:49:35 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1-1 6.54 64.88 71.42 OK
r-devel-linux-x86_64-debian-gcc 1.1-1 7.09 49.54 56.63 ERROR
r-devel-linux-x86_64-fedora-clang 1.1-1 97.32 OK
r-devel-linux-x86_64-fedora-gcc 1.1-1 88.03 OK
r-devel-windows-ix86+x86_64 1.1-1 23.00 98.00 121.00 OK
r-patched-linux-x86_64 1.1-1 9.05 64.45 73.50 OK
r-patched-solaris-x86 1.1-1 177.60 OK
r-release-linux-x86_64 1.1-1 9.22 63.26 72.48 OK
r-release-macos-x86_64 1.1-1 OK
r-release-windows-ix86+x86_64 1.1-1 21.00 135.00 156.00 OK
r-oldrel-macos-x86_64 1.1-1 OK
r-oldrel-windows-ix86+x86_64 1.1-1 13.00 127.00 140.00 OK

Check Details

Version: 1.1-1
Check: examples
Result: ERROR
    Running examples in ‘betaper-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: adonis_pertables
    > ### Title: Function to assess the efects of taxonomic uncertainty on
    > ### permutational multivariate analysis of variance using distance
    > ### matrices
    > ### Aliases: adonis_pertables print.adonis_pertables plot.adonis_pertables
    > ### Keywords: multivariate
    >
    > ### ** Examples
    >
    >
    >
    >
    > data(Amazonia)
    > data(soils)
    >
    > # Define a new index that includes the terms used in the \code{Amazonia} dataset to define
    > # undetermined taxa at different taxonomic levels
    >
    > index.Amazon <- c(paste("sp.", rep(1:20), sep=""), "Indet.", "indet.")
    >
    > # Generate a pertables object (i.e. a list of biological data tables simulated from taxonomic
    > # uncertainty)
    > ## Not run:
    > ##D Amazonia100 <- pertables(Amazonia, index=index.Amazon, nsim=100)
    > ##D
    > ##D # Assess the effects of taxonomic uncertainty on a PERMANOVA (i.e., adonis) test:
    > ##D
    > ##D Amazonia.adonis <- adonis_pertables(Amazonia100 ~ Ca + K + Mg + Na, data=soils)
    > ##D
    > ##D Amazonia.adonis
    > ##D
    > ##D plot(Amazonia.adonis)
    > ## End(Not run)
    > # Fast example for Rcheck
    >
    > Amazonia_subset <- Amazonia[1:50,]
    > Amazonia4.p2<- pertables.p2(Amazonia_subset, index=index.Amazon, nsim=4, ncl=2)
    >
    > Amazonia.adonis <- adonis_pertables(Amazonia4.p2 ~ Ca + K + Mg + Na, data=soils)
    >
    > Amazonia.adonis
    Permutation tests for multivariate analysis of variance using distance matrices
    
    Call:
    adonis_pertables(formula = Amazonia4.p2 ~ Ca + K + Mg + Na, data = soils)
    
    Permutation: free
    Number of permutations: 5
    
    Terms added sequentially (first to last)
    
     Df SumsOfSqs MeanSqs F.Model R2 Pr(>F) Pr(tax)
    Ca 1 0.40368 0.40368 1.3171 0.13150 0.66667 < 2.2e-16 ***
    K 1 0.71782 0.71782 2.3420 0.23382 0.33333 < 2.2e-16 ***
    Mg 1 0.31974 0.31974 1.0432 0.10415 0.50000 < 2.2e-16 ***
    Na 1 0.40264 0.40264 1.3137 0.13116 0.33333 < 2.2e-16 ***
    Residuals 4 1.22602 0.30650 0.39937
    Total 8 3.06990 1.00000
    ---
    Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
    
    
    Confidence intervals of R-squared under different taxonomic scenarios
    
     Ca K Mg Na
    0% 0.1094928 0.1485037 0.08348150 0.09163682
    0.5% 0.1095575 0.1490302 0.08352862 0.09165293
    2.5% 0.1098160 0.1511358 0.08371712 0.09171741
    50% 0.1175286 0.1853076 0.09604214 0.09618701
    97.5% 0.1239531 0.1959178 0.11849458 0.10335729
    99.5% 0.1241280 0.1964951 0.11934000 0.10359694
    100% 0.1241718 0.1966395 0.11955135 0.10365686
    
    
    Confidence intervals of p-values under different taxonomic scenarios
    
     Ca K Mg Na
    0% 0.6666667 0.1666667 0.5000 0.6666667
    0.5% 0.6666667 0.1666667 0.5025 0.6666667
    2.5% 0.6666667 0.1666667 0.5125 0.6666667
    50% 0.6666667 0.1666667 0.7500 0.8333333
    97.5% 0.8208333 0.1666667 0.9875 1.0000000
    99.5% 0.8308333 0.1666667 0.9975 1.0000000
    100% 0.8333333 0.1666667 1.0000 1.0000000
    >
    > plot(Amazonia.adonis)
    Error in hist.default(z, plot = FALSE, breaks = seq(min(z), max(z), by = diff.z/30)) :
     invalid number of 'breaks'
    Calls: plot -> plot.adonis_pertables -> hist -> hist.default
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc