CRAN Package Check Results for Package WeightedCluster

Last updated on 2017-06-28 10:48:47.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2-1 6.32 112.57 118.90 OK
r-devel-linux-x86_64-debian-gcc 1.2-1 5.76 102.05 107.82 OK
r-devel-linux-x86_64-fedora-clang 1.2-1 245.04 OK
r-devel-linux-x86_64-fedora-gcc 1.2-1 244.71 OK
r-devel-windows-ix86+x86_64 1.2-1 35.00 241.00 276.00 OK
r-patched-linux-x86_64 1.2-1 5.92 115.13 121.05 OK
r-patched-solaris-sparc 1.2 829.70 ERROR
r-patched-solaris-x86 1.2-1 359.40 OK
r-release-linux-x86_64 1.2-1 5.98 116.56 122.55 OK
r-release-windows-ix86+x86_64 1.2-1 26.00 262.00 288.00 OK
r-release-osx-x86_64 1.2 WARN
r-oldrel-windows-ix86+x86_64 1.2-1 34.00 289.00 323.00 OK
r-oldrel-osx-x86_64 1.2-1 OK

Additional issues

rchk

Check Details

Version: 1.2
Check: R code for possible problems
Result: NOTE
    as.clustrange.default : <anonymous>: no visible global function
     definition for ‘var’
    as.clustrange.hclust: no visible global function definition for
     ‘cutree’
    as.seqtree.hclust: no visible global function definition for ‘cutree’
    crflegend: no visible global function definition for ‘par’
    crflegend: no visible global function definition for ‘plot’
    crflegend: no visible global function definition for ‘legend’
    normalize.values: no visible global function definition for ‘var’
    normalize.values: no visible global function definition for ‘median’
    plot.clustrange : getline: no visible global function definition for
     ‘median’
    plot.clustrange : <anonymous>: no visible global function definition
     for ‘qnorm’
    plot.clustrange : <anonymous>: no visible global function definition
     for ‘var’
    plot.clustrange : <anonymous>: no visible global function definition
     for ‘quantile’
    plot.clustrange: no visible global function definition for ‘plot’
    plot.clustrange: no visible global function definition for ‘lines’
    plot.clustrange: no visible global function definition for ‘polygon’
    plot.clustrange: no visible global function definition for
     ‘adjustcolor’
    plot.clustrange: no visible global function definition for ‘legend’
    plot.clustrangefamily: no visible global function definition for ‘par’
    plot.clustrangefamily: no visible global function definition for
     ‘layout’
    plot.clustrangefamily: no visible global function definition for ‘plot’
    plot.clustrangefamily: no visible global function definition for
     ‘lines’
    seqclustname: no visible global function definition for ‘xtabs’
    wcAggregateCasesInternal: no visible global function definition for
     ‘aggregate’
    wcClusterQualityInternal: no visible global function definition for
     ‘xtabs’
    wcCmpCluster: no visible global function definition for ‘as.dist’
    wcCmpCluster: no visible global function definition for ‘hclust’
    wcKMedoids: no visible global function definition for ‘cutree’
    wcSilhouetteObs: no visible global function definition for ‘xtabs’
    Undefined global functions or variables:
     adjustcolor aggregate as.dist cutree hclust layout legend lines
     median par plot polygon qnorm quantile var xtabs
    Consider adding
     importFrom("grDevices", "adjustcolor")
     importFrom("graphics", "layout", "legend", "lines", "par", "plot",
     "polygon")
     importFrom("stats", "aggregate", "as.dist", "cutree", "hclust",
     "median", "qnorm", "quantile", "var", "xtabs")
    to your NAMESPACE file.
Flavors: r-patched-solaris-sparc, r-release-osx-x86_64

Version: 1.2
Check: examples
Result: ERROR
    Running examples in ‘WeightedCluster-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: as.seqtree
    > ### Title: Convert a hierarchical clustering object to a seqtree object.
    > ### Aliases: as.seqtree as.seqtree.twins as.seqtree.hclust
    >
    > ### ** Examples
    >
    > data(mvad)
    > ## Aggregating state sequence
    > aggMvad <- wcAggregateCases(mvad[, 17:86], weights=mvad$weight)
    >
    > ## Creating state sequence object
    > mvad.seq <- seqdef(mvad[aggMvad$aggIndex, 17:86], weights=aggMvad$aggWeights)
     [>] 6 distinct states appear in the data:
     1 = FE
     2 = HE
     3 = employment
     4 = joblessness
     5 = school
     6 = training
     [>] state coding:
     [alphabet] [label] [long label]
     1 FE FE FE
     2 HE HE HE
     3 employment employment employment
     4 joblessness joblessness joblessness
     5 school school school
     6 training training training
     [>] sum of weights: 711.57 - min/max: 0.13/33.43
     [>] 490 sequences in the data set
     [>] min/max sequence length: 70/70
    >
    > ## COmpute distance using Hamming distance
    > diss <- seqdist(mvad.seq, method="HAM")
     [>] 490 sequences with 6 distinct states
     [>] creating a 'sm' with a single substitution cost of 1
     [>] creating 6x6 substitution-cost matrix using 1 as constant value
     [>] 490 distinct sequences
     [>] min/max sequence length: 70/70
     [>] computing distances using the HAM metric
     [>] elapsed time: 3.714 secs
    >
    > ## Ward clustering
    > wardCluster <- hclust(as.dist(diss), method="ward", members=aggMvad$weight)
    The "ward" method has been renamed to "ward.D"; note new "ward.D2"
    >
    > st <- as.seqtree(wardCluster, seqdata=mvad.seq, diss=diss, weighted=TRUE, ncluster=10)
    Error in .Call("tmrWeightedInertiaDist", diss, as.integer(nrow(diss)), :
     C symbol name "tmrWeightedInertiaDist" not in load table
    Calls: as.seqtree ... as.seqtree.default -> as.seqtreeDTNBuildNode -> .Call
    Execution halted
Flavor: r-patched-solaris-sparc

Version: 1.2
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Loading required package: TraMineR
    
    TraMineR stable version 2.0-5 (Built: 2017-06-04)
    Website: http://traminer.unige.ch
    Please type 'citation("TraMineR")' for citation information.
    
    Loading required package: cluster
    This is WeightedCluster stable version 1.2 (Built: 2017-06-04)
    
    To get the manuals, please run:
     vignette("WeightedCluster") ## Complete manual in English
     vignette("WeightedClusterFR") ## Complete manual in French
     vignette("WeightedClusterPreview") ## Short preview in English
    
    To cite WeightedCluster in publications please use:
    Studer, Matthias (2013). WeightedCluster Library Manual: A practical guide to
     creating typologies of trajectories in the social sciences with R.
     LIVES Working Papers, 24. doi: 10.12682/lives.2296-1658.2013.24
    Loading required package: permute
    Loading required package: lattice
    This is vegan 2.4-3
     [>] state coding:
     [alphabet] [label] [long label]
     1 employment EM Employment
     2 FE FE Further Education
     3 HE HE Higher Education
     4 joblessness JL Joblessness
     5 school SC School
     6 training TR Training
     [>] sum of weights: 711.57 - min/max: 0.13/4.46
     [>] 712 sequences in the data set
     [>] min/max sequence length: 70/70
     [>] 712 sequences with 6 distinct states
     [>] checking 'sm' (one value for each state, triangle inequality)
     [>] 490 distinct sequences
     [>] min/max sequence length: 70/70
     [>] computing distances using the OM metric
     [>] elapsed time: 32.7 secs
    The "ward" method has been renamed to "ward.D"; note new "ward.D2"
    Quitting from lines 238-239 (WeightedCluster.Rnw)
    Error: processing vignette 'WeightedCluster.Rnw' failed with diagnostics:
    C symbol name "tmrWeightedInertiaDist" not in load table
    Execution halted
Flavor: r-patched-solaris-sparc

Version: 1.2
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
     6 training training training
     [>] sum of weights: 712 - min/max: 1/50
     [>] 490 sequences in the data set
     [>] min/max sequence length: 70/70
     [>] 490 sequences with 6 distinct events/states
     [>] 490 distinct sequences
     [>] min/max sequence length: 70/70
     [>] computing distances using HAM metric
     [>] total time: 0.208 secs
    Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
     Running 'texi2dvi' on 'WeightedClusterPreview.tex' failed.
    LaTeX errors:
    ! LaTeX Error: File `subfigure.sty' not found.
    
    Type X to quit or <RETURN> to proceed,
    or enter new name. (Default extension: sty)
    
    ! Emergency stop.
    <read *>
    
    l.78 \usepackage
     {afterpage}^^M
    ! ==> Fatal error occurred, no output PDF file produced!
    Calls: buildVignettes -> texi2pdf -> texi2dvi
    Execution halted
Flavor: r-release-osx-x86_64