CRAN Package Check Results for Package fabricatr

Last updated on 2018-08-17 07:47:29 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.0 2.41 28.83 31.24 OK
r-devel-linux-x86_64-debian-gcc 0.4.0 1.70 22.15 23.85 OK
r-devel-linux-x86_64-fedora-clang 0.4.0 36.14 OK
r-devel-linux-x86_64-fedora-gcc 0.4.0 33.37 OK
r-devel-windows-ix86+x86_64 0.4.0 4.00 44.00 48.00 ERROR
r-patched-linux-x86_64 0.4.0 2.16 25.39 27.55 OK
r-patched-solaris-x86 0.4.0 49.90 OK
r-release-linux-x86_64 0.4.0 1.58 25.41 26.99 OK
r-release-windows-ix86+x86_64 0.4.0 6.00 52.00 58.00 OK
r-release-osx-x86_64 0.4.0 OK
r-oldrel-windows-ix86+x86_64 0.4.0 5.00 34.00 39.00 OK
r-oldrel-osx-x86_64 0.4.0 OK

Check Details

Version: 0.4.0
Check: examples
Result: ERROR
    Running examples in 'fabricatr-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: draw_discrete
    > ### Title: Draw discrete variables including binary, binomial count,
    > ### poisson count, ordered, and categorical
    > ### Aliases: draw_discrete draw_binomial draw_categorical draw_ordered
    > ### draw_count draw_binary draw_likert draw_quantile
    >
    > ### ** Examples
    >
    >
    > # Drawing binary values (success or failure, treatment assignment)
    > fabricate(N = 3,
    + p = c(0, .5, 1),
    + binary = draw_binary(prob = p))
     ID p binary
    1 1 0.0 0
    2 2 0.5 0
    3 3 1.0 1
    >
    > # Drawing binary values with probit link (transforming continuous data
    > # into a probability range).
    > fabricate(N = 3,
    + x = 10 * rnorm(N),
    + binary = draw_binary(latent = x, link = "probit"))
     ID x binary
    1 1 -3.262334 0
    2 2 13.297993 1
    3 3 12.724293 1
    >
    > # Repeated trials: `draw_binomial`
    > fabricate(N = 3,
    + p = c(0, .5, 1),
    + binomial = draw_binomial(prob = p, trials = 10))
     ID p binomial
    1 1 0.0 0
    2 2 0.5 6
    3 3 1.0 10
    >
    > # Ordered data: transforming latent data into observed, ordinal data.
    > # useful for survey responses.
    > fabricate(N = 3,
    + x = 5 * rnorm(N),
    + ordered = draw_ordered(x = x,
    + breaks = c(-Inf, -1, 1, Inf)))
Flavor: r-devel-windows-ix86+x86_64