Skip to content

Issue in tests #79

@zalbanob

Description

@zalbanob
══ Failed ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
── 1. Failure (test-PROPD-theta.R:72:3): active theta_e matches calculation using theta_d ───────────────────────────────────────────────────────────────────────────────────────────────────────
setActive(pd_w, what = "theta_e")@results$theta (`actual`) not equal to 1 - pd_w@results$theta + ... (`expected`).

  `actual`: 1.0 1.0 1.0 1.0 1.0 1.0
`expected`: NaN NaN NaN NaN NaN NaN

── 2. Failure (test-PROPD-theta.R:85:3): active theta_f matches calculation using theta_e ───────────────────────────────────────────────────────────────────────────────────────────────────────
setActive(pd_w, what = "theta_f")@results$theta (`actual`) not equal to 1 - setActive(pd_w, what = "theta_e")@results$theta (`expected`).

  `actual`: 1.0 1.0 1.0 1.0 1.0 1.0
`expected`: 0.0 0.0 0.0 0.0 0.0 0.0

── 3. Failure (test-PROPD-updateF.R:84:3): updateF correctly calculates F-statistics with moderation and weighted ───────────────────────────────────────────────────────────────────────────────
digest(round(pr_f_mod@results$theta_mod, 4)) (`actual`) not equal to "b89a1343290661cfab2249d506742d1e" (`expected`).

`actual`:   "05471a00f688146bdab0cfd8021dc4af"
`expected`: "b89a1343290661cfab2249d506742d1e"

── 4. Failure (test-PROPD-weight.R:134:5): test that weights are properly incorporated to theta ─────────────────────────────────────────────────────────────────────────────────────────────────
`theta_w` (`actual`) not equal to `theta_e` (`expected`).

  `actual`: 1.0 1.0 1.0 1.0 1.0 1.0
`expected`: NaN NaN NaN NaN NaN NaN

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions