CRAN Package Check Results for Package stemmatology

Last updated on 2019-03-22 11:53:19 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 3.15 38.45 41.60 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.1 3.37 51.89 55.26 OK
r-devel-linux-x86_64-fedora-clang 0.3.1 86.48 OK
r-devel-linux-x86_64-fedora-gcc 0.3.1 84.79 OK
r-devel-windows-ix86+x86_64 0.3.1 12.00 120.00 132.00 OK
r-patched-linux-x86_64 0.3.1 3.29 64.50 67.79 OK
r-patched-solaris-x86 0.3.1 119.30 OK
r-release-linux-x86_64 0.3.1 3.11 63.82 66.93 OK
r-release-windows-ix86+x86_64 0.3.1 6.00 114.00 120.00 OK
r-release-osx-x86_64 0.3.1 OK
r-oldrel-windows-ix86+x86_64 0.3.1 8.00 125.00 133.00 OK
r-oldrel-osx-x86_64 0.3.1 OK

Check Details

Version: 0.3.1
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     Warning: unable to re-encode 'PCC.conflicts.R' line 9
     Warning: unable to re-encode 'PCC.equipollent.R' line 64
     Warning: unable to re-encode 'import.TEIApparatus.R' line 42
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.1
Check: R code for possible problems
Result: NOTE
    PCC.Stemma: no visible global function definition for 'layout_as_tree'
    layout_as_stemma: no visible global function definition for 'V'
    Undefined global functions or variables:
     V layout_as_tree
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.1
Check: examples
Result: ERROR
    Running examples in 'stemmatology-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: PCC
    > ### Title: PCC (Poole-Camps-Cafiero) stemmatological method
    > ### Aliases: PCC
    > ### Keywords: stemmatology
    >
    > ### ** Examples
    >
    > # Load data
    > data("fournival")
    > # or alternatively, import it
    > # fournival = import.TEIApparatus(file = "myFournival.xml",
    > # appTypes = c("substantive"))
    >
    > # Analyse it with the PCC functions
    > ## Don't show:
    > # subsetting for exec time
    > fournival = fournival[40:200,c(-5,-7,-8)]
    > ## End(Don't show)
    > # Non interactive mode
    > PCC(fournival, ask = FALSE, threshold = 0.06)
    There is absolutely no conflicts in this database.
    Error in layout_as_tree(myNetwork) :
     could not find function "layout_as_tree"
    Calls: PCC -> PCC.Stemma
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.1
Check: tests
Result: ERROR
     Running 'testthat.R' [2s/3s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library("testthat")
     > library("stemmatology")
     > test_check("stemmatology")
     -- 1. Error: yields expected output on simple case (with no conflicts) (@test-PC
     could not find function "layout_as_tree"
     1: expect_equal(expect_message(PCC(x, ask = FALSE, threshold = 0.06)), results) at testthat/test-PCC.R:70
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: expect_message(PCC(x, ask = FALSE, threshold = 0.06))
     5: quasi_capture(enquo(object), capture_messages, label = label)
     6: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     7: withCallingHandlers(code, message = function(condition) {
     out$push(condition)
     invokeRestart("muffleMessage")
     })
     8: eval_bare(get_expr(quo), get_env(quo))
     9: PCC(x, ask = FALSE, threshold = 0.06)
     10: PCC.Stemma(pccExploratory$database, limit = limit, recoverNAs = recoverNAs, layout_as_stemma = layout_as_stemma,
     ask = ask, verbose = verbose)
    
     -- 2. Error: yields expected output on simple case (with conflicts) (@test-PCC.R
     could not find function "layout_as_tree"
     1: expect_equal(expect_message(PCC(x, ask = FALSE, threshold = 0.6)), results) at testthat/test-PCC.R:142
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: expect_message(PCC(x, ask = FALSE, threshold = 0.6))
     5: quasi_capture(enquo(object), capture_messages, label = label)
     6: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     7: withCallingHandlers(code, message = function(condition) {
     out$push(condition)
     invokeRestart("muffleMessage")
     })
     8: eval_bare(get_expr(quo), get_env(quo))
     9: PCC(x, ask = FALSE, threshold = 0.6)
     10: PCC.Stemma(pccExploratory$database, limit = limit, recoverNAs = recoverNAs, layout_as_stemma = layout_as_stemma,
     ask = ask, verbose = verbose)
    
     -- 3. Error: PCC.Stemma works properly (@test-PCC.Stemma.R#56) ----------------
     could not find function "layout_as_tree"
     1: expect_equal(PCC.Stemma(x, ask = FALSE), results) at testthat/test-PCC.Stemma.R:56
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: PCC.Stemma(x, ask = FALSE)
    
     -- 4. Error: PCC.Stemma works properly when no group can be built (@test-PCC.Ste
     could not find function "layout_as_tree"
     1: expect_equal(expect_message(PCC.Stemma(x, ask = FALSE)), results) at testthat/test-PCC.Stemma.R:109
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: expect_message(PCC.Stemma(x, ask = FALSE))
     5: quasi_capture(enquo(object), capture_messages, label = label)
     6: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     7: withCallingHandlers(code, message = function(condition) {
     out$push(condition)
     invokeRestart("muffleMessage")
     })
     8: eval_bare(get_expr(quo), get_env(quo))
     9: PCC.Stemma(x, ask = FALSE)
    
     -- 5. Error: Layout as stemma works (@test-layout_as_stemma.R#11) -------------
     could not find function "V"
     1: expect_equal(object = layout_as_stemma(edgelist), expected = structure(c(-1, -2,
     -1, 0, 1, 1, 1, 0, -4, -2, 1, -9), .Dim = c(6L, 2L))) at testthat/test-layout_as_stemma.R:11
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: layout_as_stemma(edgelist)
    
     == testthat results ===========================================================
     OK: 76 SKIPPED: 4 FAILED: 5
     1. Error: yields expected output on simple case (with no conflicts) (@test-PCC.R#70)
     2. Error: yields expected output on simple case (with conflicts) (@test-PCC.R#142)
     3. Error: PCC.Stemma works properly (@test-PCC.Stemma.R#56)
     4. Error: PCC.Stemma works properly when no group can be built (@test-PCC.Stemma.R#109)
     5. Error: Layout as stemma works (@test-layout_as_stemma.R#11)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang