CRAN Package Check Results for Package sdcHierarchies

Last updated on 2019-04-22 01:47:57 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.17 4.28 58.35 62.63 OK
r-devel-linux-x86_64-debian-gcc 0.17 4.05 63.51 67.56 OK
r-devel-linux-x86_64-fedora-clang 0.17 65.37 OK
r-devel-linux-x86_64-fedora-gcc 0.17 60.95 OK
r-devel-windows-ix86+x86_64 0.17 14.00 59.00 73.00 OK
r-patched-linux-x86_64 0.17 4.62 60.50 65.12 OK
r-patched-solaris-x86 0.17 86.60 OK
r-release-linux-x86_64 0.17 3.69 68.13 71.82 OK
r-release-windows-ix86+x86_64 0.17 2.00 5.00 7.00 ERROR
r-release-osx-x86_64 0.17 OK
r-oldrel-windows-ix86+x86_64 0.17 6.00 73.00 79.00 ERROR
r-oldrel-osx-x86_64 0.17 ERROR

Check Details

Version: 0.17
Check: whether package can be installed
Result: ERROR
    Installation failed.
Flavor: r-release-windows-ix86+x86_64

Version: 0.17
Check: R code for possible problems
Result: NOTE
    hier_convert : .to_df: no visible global function definition for
     'isFALSE'
    Undefined global functions or variables:
     isFALSE
Flavors: r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.17
Check: examples
Result: ERROR
    Running examples in 'sdcHierarchies-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: hier_compute
    > ### Title: compute a nested hierarchy
    > ### Aliases: hier_compute
    >
    > ### ** Examples
    >
    > ## Example Regional Codes (NUTS)
    > # digits 1-2 (len=2, endpos=2) --> level 1
    > # digit 3 (len=1, endpos=3) --> level 2
    > # digits 4-5 (len=2, endpos=5) -> level 3
    >
    > # all strings have equal length but total is not encoded in these values
    > geo_m <- c(
    + "01051", "01053", "01054", "01055",
    + "01056", "01057", "01058", "01059", "01060",
    + "01061", "01062",
    + "02000",
    + "03151", "03152", "03153", "03154", "03155", "03156", "03157", "03158",
    + "03251", "03252", "03254", "03255", "03256", "03257",
    + "03351", "03352", "03353", "03354", "03355",
    + "03356", "03357", "03358", "03359",
    + "03360", "03361",
    + "03451", "03452", "03453", "03454", "03455", "03456",
    + "10155")
    >
    > a <- hier_compute(
    + inp = geo_m,
    + dim_spec = c(2, 3, 5),
    + root = "Tot",
    + method = "endpos"
    + )
    > b <- hier_compute(
    + inp = geo_m,
    + dim_spec = c(2, 1, 2),
    + root = "Tot",
    + method = "len"
    + )
    > identical(
    + hier_convert(a, as = "df"),
    + hier_convert(b, as = "df")
    + )
    Error in isFALSE(dt) : could not find function "isFALSE"
    Calls: identical -> hier_convert -> .to_df
    Execution halted
Flavors: r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.17
Check: tests
Result: ERROR
     Running 'testthat.R' [5s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(sdcHierarchies)
     Loading required package: shinythemes
     Package "sdcHierarchies" 0.17 has been loaded.
     >
     > test_check("sdcHierarchies")
     -- 1. Error: (unknown) (@test_additional.R#33) --------------------------------
     could not find function "isFALSE"
     1: hier_export(tree, as = "df", path = tf, verbose = TRUE) at testthat/test_additional.R:33
     2: hier_convert(tree, as = as)
     3: .to_df(tree = tree, dt = ifelse(as == "dt", TRUE, FALSE))
    
     -- 2. Error: (unknown) (@test_compute.R#48) -----------------------------------
     could not find function "isFALSE"
     1: expect_identical(hier_convert(dim_endpos, as = "df"), hier_convert(dim_len, as = "df")) at testthat/test_compute.R:48
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: hier_convert(dim_endpos, as = "df")
     5: .to_df(tree = tree, dt = ifelse(as == "dt", TRUE, FALSE))
    
     -- 3. Error: (unknown) (@test_hier_match.R#37) --------------------------------
     could not find function "isFALSE"
     1: hier_convert(tree = h, as = "dt") at testthat/test_hier_match.R:37
     2: .to_df(tree = tree, dt = ifelse(as == "dt", TRUE, FALSE))
    
     -- 4. Error: (unknown) (@test_hier_to_tree.R#6) -------------------------------
     could not find function "isFALSE"
     1: hier_convert(tree, as = "df") at testthat/test_hier_to_tree.R:6
     2: .to_df(tree = tree, dt = ifelse(as == "dt", TRUE, FALSE))
    
     -- 5. Error: (unknown) (@test_import_compute.R#99) ----------------------------
     could not find function "isFALSE"
     1: hier_convert(dim2, as = "df") at testthat/test_import_compute.R:99
     2: .to_df(tree = tree, dt = ifelse(as == "dt", TRUE, FALSE))
    
     == testthat results ===========================================================
     OK: 38 SKIPPED: 0 FAILED: 5
     1. Error: (unknown) (@test_additional.R#33)
     2. Error: (unknown) (@test_compute.R#48)
     3. Error: (unknown) (@test_hier_match.R#37)
     4. Error: (unknown) (@test_hier_to_tree.R#6)
     5. Error: (unknown) (@test_import_compute.R#99)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.17
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Quitting from lines 95-98 (usage.Rmd)
    Error: processing vignette 'usage.Rmd' failed with diagnostics:
    could not find function "isFALSE"
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.17
Check: tests
Result: ERROR
     Running ‘testthat.R’ [12s/3s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     ── 5. Error: (unknown) (@test_import_compute.R#99) ────────────────────────────
     could not find function "isFALSE"
     1: hier_convert(dim2, as = "df") at testthat/test_import_compute.R:99
     2: .to_df(tree = tree, dt = ifelse(as == "dt", TRUE, FALSE))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 38 SKIPPED: 0 FAILED: 5
     1. Error: (unknown) (@test_additional.R#33)
     2. Error: (unknown) (@test_compute.R#48)
     3. Error: (unknown) (@test_hier_match.R#37)
     4. Error: (unknown) (@test_hier_to_tree.R#6)
     5. Error: (unknown) (@test_import_compute.R#99)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-osx-x86_64

Version: 0.17
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Quitting from lines 95-98 (usage.Rmd)
    Error: processing vignette 'usage.Rmd' failed with diagnostics:
    could not find function "isFALSE"
    Execution halted
Flavor: r-oldrel-osx-x86_64