Last updated on 2024-06-14 00:53:57 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.5 | 42.09 | 82.94 | 125.03 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.0.5 | 36.02 | 58.20 | 94.22 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.0.5 | 160.54 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.5 | 155.26 | OK | |||
r-devel-windows-x86_64 | 1.0.5 | 37.00 | 79.00 | 116.00 | OK | |
r-patched-linux-x86_64 | 1.0.5 | 41.09 | 80.32 | 121.41 | OK | |
r-release-linux-x86_64 | 1.0.5 | 38.88 | 80.54 | 119.42 | OK | |
r-release-macos-arm64 | 1.0.5 | 58.00 | OK | |||
r-release-macos-x86_64 | 1.0.5 | 106.00 | OK | |||
r-release-windows-x86_64 | 1.0.5 | 35.00 | 81.00 | 116.00 | OK | |
r-oldrel-macos-arm64 | 1.0.5 | 63.00 | OK | |||
r-oldrel-macos-x86_64 | 1.0.5 | 97.00 | OK | |||
r-oldrel-windows-x86_64 | 1.0.5 | 35.00 | 93.00 | 128.00 | OK |
Version: 1.0.5
Check: package dependencies
Result: NOTE
Packages suggested but not available for checking: 'ggplot2', 'testthat'
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.5
Check: examples
Result: ERROR
Running examples in ‘rsvd-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: rpca
> ### Title: Randomized principal component analysis (rpca).
> ### Aliases: rpca
>
> ### ** Examples
>
>
> library('rsvd')
> #
> # Load Edgar Anderson's Iris Data
> #
> data('iris')
>
> #
> # log transform
> #
> log.iris <- log( iris[ , 1:4] )
> iris.species <- iris[ , 5]
>
> #
> # Perform rPCA and compute only the first two PCs
> #
> iris.rpca <- rpca(log.iris, k=2)
> summary(iris.rpca) # Summary
PC1 PC2
Explained variance 2.933 0.907
Standard deviations 1.712 0.952
Proportion of variance 0.733 0.227
Cumulative proportion 0.733 0.960
> print(iris.rpca) # Prints the rotations
Standard deviations:
[1] 1.712 0.952
Eigenvalues:
[1] 2.933 0.907
Rotation:
PC1 PC2
Sepal.Length -0.504 -0.455
Sepal.Width 0.302 -0.889
Petal.Length -0.577 -0.034
Petal.Width -0.567 -0.035
>
> #
> # Use rPCA to compute all PCs, similar to \code{prcomp}
> #
> iris.rpca <- rpca(log.iris)
> summary(iris.rpca) # Summary
PC1 PC2 PC3 PC4
Explained variance 2.933 0.907 0.133 0.027
Standard deviations 1.712 0.952 0.365 0.166
Proportion of variance 0.733 0.227 0.033 0.007
Cumulative proportion 0.733 0.960 0.993 1.000
> print(iris.rpca) # Prints the rotations
Standard deviations:
[1] 1.712 0.952 0.365 0.166
Eigenvalues:
[1] 2.933 0.907 0.133 0.027
Rotation:
PC1 PC2 PC3 PC4
Sepal.Length 0.504 -0.455 0.709 0.191
Sepal.Width -0.302 -0.889 -0.331 -0.091
Petal.Length 0.577 -0.034 -0.219 -0.786
Petal.Width 0.567 -0.035 -0.583 0.580
> plot(iris.rpca) # Produce screeplot, variable and individuls factor maps.
Error: The package 'ggplot2' is needed for this function to work. Please install it.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc