CRAN Package Check Results for Package NetMix

Last updated on 2021-04-14 01:49:09 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 87.19 107.19 194.38 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 56.16 78.90 135.06 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 254.01 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 231.68 OK
r-devel-windows-ix86+x86_64 0.2.0 189.00 247.00 436.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.2.0 OK
r-patched-linux-x86_64 0.2.0 69.60 99.17 168.77 OK
r-patched-solaris-x86 0.2.0 302.50 OK
r-release-linux-x86_64 0.2.0 67.71 98.30 166.01 OK
r-release-macos-x86_64 0.2.0 OK
r-release-windows-ix86+x86_64 0.2.0 143.00 242.00 385.00 OK
r-oldrel-macos-x86_64 0.2.0 ERROR
r-oldrel-windows-ix86+x86_64 0.2.0 166.00 97.00 263.00 ERROR

Check Details

Version: 0.2.0
Check: R code for possible problems
Result: NOTE
    .e.pi: no visible global function definition for ‘proportions’
    Undefined global functions or variables:
     proportions
Flavors: r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.2.0
Check: examples
Result: ERROR
    Running examples in ‘NetMix-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: covFX
    > ### Title: Generate estimated monadic covariate effects for estimated mmsbm
    > ### model
    > ### Aliases: covFX
    >
    > ### ** Examples
    >
    > library(NetMix)
    > ## Load datasets
    > data("lazega_dyadic")
    > data("lazega_monadic")
    > ## Estimate model with 2 groups
    > lazega_mmsbm <- mmsbm(SocializeWith ~ Coworkers,
    + ~ Age,
    + senderID = "Lawyer1",
    + receiverID = "Lawyer2",
    + nodeID = "Lawyer",
    + data.dyad = lazega_dyadic,
    + data.monad = lazega_monadic,
    + n.blocks = 2,
    + mmsbm.control = list(seed = 123,
    + conv_tol = 1e-2,
    + hessian = FALSE))
    >
    > ## Compute effect of decreasing every lawyers' age by 10 years
    > fx_list <- covFX(lazega_mmsbm, cov = "Age", shift = -10)
    Error in proportions(pi_l[[1]], 2) :
     could not find function "proportions"
    Calls: covFX -> predict -> predict.mmsbm -> .e.pi
    Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 0.2.0
Check: running examples for arch ‘i386’
Result: ERROR
    Running examples in 'NetMix-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: covFX
    > ### Title: Generate estimated monadic covariate effects for estimated mmsbm
    > ### model
    > ### Aliases: covFX
    >
    > ### ** Examples
    >
    > library(NetMix)
    > ## Load datasets
    > data("lazega_dyadic")
    > data("lazega_monadic")
    > ## Estimate model with 2 groups
    > lazega_mmsbm <- mmsbm(SocializeWith ~ Coworkers,
    + ~ Age,
    + senderID = "Lawyer1",
    + receiverID = "Lawyer2",
    + nodeID = "Lawyer",
    + data.dyad = lazega_dyadic,
    + data.monad = lazega_monadic,
    + n.blocks = 2,
    + mmsbm.control = list(seed = 123,
    + conv_tol = 1e-2,
    + hessian = FALSE))
    >
    > ## Compute effect of decreasing every lawyers' age by 10 years
    > fx_list <- covFX(lazega_mmsbm, cov = "Age", shift = -10)
    Error in proportions(pi_l[[1]], 2) :
     could not find function "proportions"
    Calls: covFX -> predict -> predict.mmsbm -> .e.pi
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.2.0
Check: running examples for arch ‘x64’
Result: ERROR
    Running examples in 'NetMix-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: covFX
    > ### Title: Generate estimated monadic covariate effects for estimated mmsbm
    > ### model
    > ### Aliases: covFX
    >
    > ### ** Examples
    >
    > library(NetMix)
    > ## Load datasets
    > data("lazega_dyadic")
    > data("lazega_monadic")
    > ## Estimate model with 2 groups
    > lazega_mmsbm <- mmsbm(SocializeWith ~ Coworkers,
    + ~ Age,
    + senderID = "Lawyer1",
    + receiverID = "Lawyer2",
    + nodeID = "Lawyer",
    + data.dyad = lazega_dyadic,
    + data.monad = lazega_monadic,
    + n.blocks = 2,
    + mmsbm.control = list(seed = 123,
    + conv_tol = 1e-2,
    + hessian = FALSE))
    >
    > ## Compute effect of decreasing every lawyers' age by 10 years
    > fx_list <- covFX(lazega_mmsbm, cov = "Age", shift = -10)
    Error in proportions(pi_l[[1]], 2) :
     could not find function "proportions"
    Calls: covFX -> predict -> predict.mmsbm -> .e.pi
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64