CRAN Package Check Results for Package cfid

Last updated on 2021-10-25 00:49:06 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.2 3.78 30.28 34.06 OK
r-devel-linux-x86_64-debian-gcc 0.1.2 2.37 23.05 25.42 OK
r-devel-linux-x86_64-fedora-clang 0.1.2 51.30 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.2 40.29 OK
r-devel-windows-x86_64 0.1.2 5.00 57.00 62.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.1.2 OK
r-patched-linux-x86_64 0.1.2 3.20 29.44 32.64 OK
r-patched-solaris-x86 0.1.2 59.70 OK
r-release-linux-x86_64 0.1.2 3.55 29.46 33.01 OK
r-release-macos-arm64 0.1.2 OK
r-release-macos-x86_64 0.1.2 OK
r-release-windows-ix86+x86_64 0.1.2 5.00 43.00 48.00 OK
r-oldrel-macos-x86_64 0.1.2 ERROR
r-oldrel-windows-ix86+x86_64 0.1.2 8.00 47.00 55.00 ERROR

Check Details

Version: 0.1.2
Check: Rd cross-references
Result: NOTE
    Undeclared packages ‘causaleffect’, ‘dosearch’ in Rd xrefs
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.2
Check: R code for possible problems
Result: NOTE
    reg_match: no visible global function definition for ‘gregexec’
    Undefined global functions or variables:
     gregexec
Flavors: r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.1.2
Check: examples
Result: ERROR
    Running examples in ‘cfid-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: CounterfactualConjunction
    > ### Title: Counterfactual Conjunction
    > ### Aliases: CounterfactualConjunction conj
    >
    > ### ** Examples
    >
    > # The conjunction described in 'details'
    > v1 <- cf("Y", 0)
    > v2 <- cf("Y", 1, c("X" = 0))
    > c1 <- conj(v1, v2)
    >
    > # Alternative construction
    > c1 <- v1 + v2
    >
    > # Adding further variables
    > v3 <- cf("X", 1)
    > c2 <- c1 + v3
    Warning: Incompatible methods ("+.CounterfactualConjunction", "+.CounterfactualVariable") for "+"
    Error in c1 + v3 : non-numeric argument to binary operator
    Execution halted
Flavors: r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.1.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [1s/1s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     Error in `gregexec(pattern, x, perl)`: could not find function "gregexec"
     Backtrace:
     █
     1. └─cfid::dag("X -> W -> Y <- Z <- D X <-> Y") test-graphs.R:51:0
     2. └─cfid:::reg_match(x, "\\{([^<>\\-]+)\\}|([^<> \\-]+)|(<->|<-|->)")
     ── Error (test-probability.R:13:1): (code run outside of `test_that()`) ────────
     Error in `gregexec(pattern, x, perl)`: could not find function "gregexec"
     Backtrace:
     █
     1. └─cfid::dag("X -> W -> Y <- Z <- D X <-> Y") test-probability.R:13:0
     2. └─cfid:::reg_match(x, "\\{([^<>\\-]+)\\}|([^<> \\-]+)|(<->|<-|->)")
    
     [ FAIL 12 | WARN 1 | SKIP 0 | PASS 38 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 0.1.2
Check: tests
Result: ERROR
     Running 'testthat.R' [2s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(cfid)
     >
     > test_check("cfid")
     == Failed tests ================================================================
     -- Error (test-algorithms.R:3:1): (code run outside of `test_that()`) ----------
     Error in `gregexec(pattern, x, perl)`: could not find function "gregexec"
     Backtrace:
     x
     1. \-cfid::dag("X -> W -> Y <- Z <- D X <-> Y") test-algorithms.R:3:0
     2. \-cfid:::reg_match(x, "\\{([^<>\\-]+)\\}|([^<> \\-]+)|(<->|<-|->)")
     -- Error (test-counterfactuals.R:50:5): arithmetic -----------------------------
     Error in `conj(v1) + v2`: non-numeric argument to binary operator
     Backtrace:
     x
     1. \-testthat::expect_identical(conj(v1) + v2, c1) test-counterfactuals.R:50:4
     2. \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. \-rlang::eval_bare(expr, quo_get_env(quo))
     -- Error (test-graphs.R:10:5): extra delimiter invariance ----------------------
     Error in `gregexec(pattern, x, perl)`: could not find function "gregexec"
     Backtrace:
     x
     1. +-testthat::expect_identical(dag("X -> Y -> Z"), dag("X -> Y; Y -> Z")) test-graphs.R:10:4
     2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. \-cfid::dag("X -> Y -> Z")
     5. \-cfid:::reg_match(x, "\\{([^<>\\-]+)\\}|([^<> \\-]+)|(<->|<-|->)")
     -- Error (test-graphs.R:16:5): zero edges is allowed ---------------------------
     Error in `gregexec(pattern, x, perl)`: could not find function "gregexec"
     Backtrace:
     x
     1. +-testthat::expect_length(attr(dag("X Y Z"), "labels"), 3) test-graphs.R:16:4
     2. | \-testthat::quasi_label(enquo(object), arg = "object")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. \-cfid::dag("X Y Z")
     5. \-cfid:::reg_match(x, "\\{([^<>\\-]+)\\}|([^<> \\-]+)|(<->|<-|->)")
     -- Error (test-graphs.R:21:5): duplicate edge invariance -----------------------
     Error in `gregexec(pattern, x, perl)`: could not find function "gregexec"
     Backtrace:
     x
     1. +-testthat::expect_identical(dag("X -> Y <- X"), dag("X -> Y")) test-graphs.R:21:4
     2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. \-cfid::dag("X -> Y <- X")
     5. \-cfid:::reg_match(x, "\\{([^<>\\-]+)\\}|([^<> \\-]+)|(<->|<-|->)")
     -- Failure (test-graphs.R:42:5): allowed structures ----------------------------
     `dag("x -> {y z} <- w <-> g")` threw an unexpected error.
     Message: could not find function "gregexec"
     Class: simpleError/error/condition
     Backtrace:
     x
     1. +-testthat::expect_error(dag("x -> {y z} <- w <-> g"), NA) test-graphs.R:42:4
     2. | \-testthat:::expect_condition_matching(...)
     3. | \-testthat:::quasi_capture(...)
     4. | +-testthat:::.capture(...)
     5. | | \-base::withCallingHandlers(...)
     6. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     7. \-cfid::dag("x -> {y z} <- w <-> g")
     8. \-cfid:::reg_match(x, "\\{([^<>\\-]+)\\}|([^<> \\-]+)|(<->|<-|->)")
     -- Failure (test-graphs.R:43:5): allowed structures ----------------------------
     `dag("{x z} -> {y w}")` threw an unexpected error.
     Message: could not find function "gregexec"
     Class: simpleError/error/condition
     Backtrace:
     x
     1. +-testthat::expect_error(dag("{x z} -> {y w}"), NA) test-graphs.R:43:4
     2. | \-testthat:::expect_condition_matching(...)
     3. | \-testthat:::quasi_capture(...)
     4. | +-testthat:::.capture(...)
     5. | | \-base::withCallingHandlers(...)
     6. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     7. \-cfid::dag("{x z} -> {y w}")
     8. \-cfid:::reg_match(x, "\\{([^<>\\-]+)\\}|([^<> \\-]+)|(<->|<-|->)")
     -- Failure (test-graphs.R:44:5): allowed structures ----------------------------
     `dag("x -> z -> y; x <-> y")` threw an unexpected error.
     Message: could not find function "gregexec"
     Class: simpleError/error/condition
     Backtrace:
     x
     1. +-testthat::expect_error(dag("x -> z -> y; x <-> y"), NA) test-graphs.R:44:4
     2. | \-testthat:::expect_condition_matching(...)
     3. | \-testthat:::quasi_capture(...)
     4. | +-testthat:::.capture(...)
     5. | | \-base::withCallingHandlers(...)
     6. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     7. \-cfid::dag("x -> z -> y; x <-> y")
     8. \-cfid:::reg_match(x, "\\{([^<>\\-]+)\\}|([^<> \\-]+)|(<->|<-|->)")
     -- Failure (test-graphs.R:45:5): allowed structures ----------------------------
     `dag("{x, y, z} -> w")` threw an unexpected error.
     Message: could not find function "gregexec"
     Class: simpleError/error/condition
     Backtrace:
     x
     1. +-testthat::expect_error(dag("{x, y, z} -> w"), NA) test-graphs.R:45:4
     2. | \-testthat:::expect_condition_matching(...)
     3. | \-testthat:::quasi_capture(...)
     4. | +-testthat:::.capture(...)
     5. | | \-base::withCallingHandlers(...)
     6. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     7. \-cfid::dag("{x, y, z} -> w")
     8. \-cfid:::reg_match(x, "\\{([^<>\\-]+)\\}|([^<> \\-]+)|(<->|<-|->)")
     -- Failure (test-graphs.R:46:5): allowed structures ----------------------------
     `dag("z -> w\nx -> y")` threw an unexpected error.
     Message: could not find function "gregexec"
     Class: simpleError/error/condition
     Backtrace:
     x
     1. +-testthat::expect_error(dag("z -> w\nx -> y"), NA) test-graphs.R:46:4
     2. | \-testthat:::expect_condition_matching(...)
     3. | \-testthat:::quasi_capture(...)
     4. | +-testthat:::.capture(...)
     5. | | \-base::withCallingHandlers(...)
     6. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     7. \-cfid::dag("z -> w\nx -> y")
     8. \-cfid:::reg_match(x, "\\{([^<>\\-]+)\\}|([^<> \\-]+)|(<->|<-|->)")
     -- Error (test-graphs.R:51:1): (code run outside of `test_that()`) -------------
     Error in `gregexec(pattern, x, perl)`: could not find function "gregexec"
     Backtrace:
     x
     1. \-cfid::dag("X -> W -> Y <- Z <- D X <-> Y") test-graphs.R:51:0
     2. \-cfid:::reg_match(x, "\\{([^<>\\-]+)\\}|([^<> \\-]+)|(<->|<-|->)")
     -- Error (test-probability.R:13:1): (code run outside of `test_that()`) --------
     Error in `gregexec(pattern, x, perl)`: could not find function "gregexec"
     Backtrace:
     x
     1. \-cfid::dag("X -> W -> Y <- Z <- D X <-> Y") test-probability.R:13:0
     2. \-cfid:::reg_match(x, "\\{([^<>\\-]+)\\}|([^<> \\-]+)|(<->|<-|->)")
    
     [ FAIL 12 | WARN 1 | SKIP 0 | PASS 38 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64