CRAN Package Check Results for Package NetSim

Last updated on 2018-05-26 06:48:12 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9 148.04 23.81 171.85 ERROR
r-devel-linux-x86_64-debian-gcc 0.9 113.33 18.74 132.07 ERROR
r-devel-linux-x86_64-fedora-clang 0.9 251.66 NOTE
r-devel-linux-x86_64-fedora-gcc 0.9 198.95 NOTE
r-devel-windows-ix86+x86_64 0.9 277.00 73.00 350.00 NOTE
r-patched-linux-x86_64 0.9 145.89 21.39 167.28 ERROR
r-patched-solaris-x86 0.9 204.80 NOTE
r-release-linux-x86_64 0.9 144.47 21.52 165.99 ERROR
r-release-windows-ix86+x86_64 0.9 359.00 64.00 423.00 NOTE
r-release-osx-x86_64 0.9 NOTE
r-oldrel-windows-ix86+x86_64 0.9 381.00 55.00 436.00 NOTE
r-oldrel-osx-x86_64 0.9 NOTE

Check Details

Version: 0.9
Check: dependencies in R code
Result: NOTE
    'library' or 'require' call to ‘igraph’ in package code.
     Please use :: or requireNamespace() instead.
     See section 'Suggested packages' in the 'Writing R Extensions' manual.
    Package in Depends field not imported from: ‘Rcpp’
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.9
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     add_effect.AttributeMultinomialChoiceNetworkChangeModel
     add_effect.MultinomialChoiceNetworkChoiceChangeModel
     as.double.NetSimAttributeContainer as.matrix.NetSimNetwork
     as.numeric.NetSimAttributeContainer create_effect.AttributeEffect
     create_effect.AttributeOneModeNetworkEffect
     create_effect.MultiplexNetworkEffect
     create_effect.OneModeNetworkEffect
     create_effect.SimilarityAttributeOneModeNetworkEffect
     create_effect.UnknownType create_effect.character
     print.NetSimAttributeContainer print.NetSimNetwork
    See section ‘Registering S3 methods’ in the ‘Writing R Extensions’
    manual.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64

Version: 0.9
Check: line endings in Makefiles
Result: NOTE
    Found the following Makefile(s) without a final LF:
     src/Makevars
    Some ‘make’ programs ignore lines not ending in LF.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.9
Check: for GNU extensions in Makefiles
Result: NOTE
    GNU make is a SystemRequirements.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.9
Check: compiled code
Result: NOTE
    File ‘NetSim/libs/NetSim.so’:
     Found ‘rand’, possibly from ‘rand’ (C)
     Object: ‘utils/Random.o’
     Found ‘srand’, possibly from ‘srand’ (C)
     Object: ‘utils/Random.o’
    File ‘NetSim/libs/NetSim.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    Compiled code should not call entry points which might terminate R nor
    write to stdout/stderr instead of to the console, nor use Fortran I/O
    nor system RNGs.
    It is good practice to register native routines and to disable symbol
    search.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.9
Check: examples
Result: ERROR
    Running examples in ‘NetSim-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: change_models
    > ### Title: Overview of change models implemented in NetSim
    > ### Aliases: create_multinomial_choice_network_change_model
    > ### create_multinomial_choice_behavior_change_model
    > ### create_jackson_rogers_change_model create_watts_strogatz_change_model
    > ### create_attribute_multinomial_choice_network_change_model
    >
    > ### ** Examples
    >
    > ## The following example is taken from section 4.1 and 4.2 in package vignette
    > ## C. Stadtfeld: "Netsim: A Social Networks Simulation tool in R" (2013)
    > ## Examples of the other models can be taken from that source
    >
    > # construct process state
    > nActors <- 21
    > mat <- matrix(0, nActors, nActors)
    > att <- c(rep(0, nActors/3),rep(1, nActors/3),rep(2, nActors/3))
    > network <- create_network(mat)
    > attributeContainer <- create_scale_attribute_container(att,
    + min=0, max=3, by = 1)
    > processState <- create_process_state()
    > processState <- add_network(processState, network, name = "network")
    > processState <- add_attribute_container(processState, attributeContainer,
    + name = "attribute")
    > networkIndex <- get_network_index(processState)
    > attributeIndex <- get_attribute_container_index(processState)
    >
    > # construct effect container
    > # homophily model with basic network effects
    > effectContainerHomophily <- create_effect_container()
    > effectContainerHomophily <- add_to_effect_container(
    + effectContainerHomophily,
    + create_effect("density", networkIndex),
    + -2.5)
    Error in UseMethod("create_effect") :
     no applicable method for 'create_effect' applied to an object of class "character"
    Calls: add_to_effect_container -> create_effect
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.9
Check: installed package size
Result: NOTE
     installed size is 6.3Mb
     sub-directories of 1Mb or more:
     libs 6.2Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.9
Check: compiled code
Result: NOTE
    File 'NetSim/libs/i386/NetSim.dll':
     Found 'rand', possibly from 'rand' (C)
     Object: 'utils/Random.o'
     Found 'srand', possibly from 'srand' (C)
     Object: 'utils/Random.o'
    File 'NetSim/libs/x64/NetSim.dll':
     Found 'rand', possibly from 'rand' (C)
     Object: 'utils/Random.o'
     Found 'srand', possibly from 'srand' (C)
     Object: 'utils/Random.o'
    
    Compiled code should not call entry points which might terminate R nor
    write to stdout/stderr instead of to the console, nor use Fortran I/O
    nor system RNGs.
    
    See 'Writing portable packages' in the 'Writing R Extensions' manual.
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.9
Check: compiled code
Result: NOTE
    File ‘NetSim/libs/NetSim.so’:
     Found ‘rand’, possibly from ‘rand’ (C)
     Object: ‘utils/Random.o’
     Found ‘srand’, possibly from ‘srand’ (C)
     Object: ‘utils/Random.o’
    
    Compiled code should not call entry points which might terminate R nor
    write to stdout/stderr instead of to the console, nor use Fortran I/O
    nor system RNGs.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavor: r-patched-solaris-x86

Version: 0.9
Check: compiled code
Result: NOTE
    File ‘NetSim/libs/NetSim.so’:
     Found ‘_rand’, possibly from ‘rand’ (C)
     Object: ‘utils/Random.o’
     Found ‘_srand’, possibly from ‘srand’ (C)
     Object: ‘utils/Random.o’
    
    Compiled code should not call entry points which might terminate R nor
    write to stdout/stderr instead of to the console, nor use Fortran I/O
    nor system RNGs.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavor: r-release-osx-x86_64

Version: 0.9
Check: compiled code
Result: NOTE
    File ‘NetSim/libs/NetSim.so’:
     Found ‘_rand’, possibly from ‘rand’ (C)
     Object: ‘utils/Random.o’
     Found ‘_srand’, possibly from ‘srand’ (C)
     Object: ‘utils/Random.o’
    
    Compiled code should not call entry points which might terminate R nor
    write to stdout/stderr instead of to the console, nor the system RNG.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavor: r-oldrel-osx-x86_64