Skip to content

Commit

Permalink
Updates to pass check
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Jenness committed Apr 23, 2015
1 parent 0cc3c0c commit 1d355cc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Package: EpiModel.hpc
Version: 1.0
Date: 2014-04-23
Date: 2015-04-23
Title: EpiModel Extensions for High-Performance Computing
Description: Extension package to EpiModel to run large-scale network models
on modern high-performance computing systems. Functionality provided to run models in
parallel environments based on Torque computing systems. Checkpointing functions are
parallel environments based on Torque computing systems. Check-pointing functions are
included to save and restore simulation work.
Maintainer: Samuel Jenness <[email protected]>
Authors@R: c(person("Samuel", "Jenness",
Expand Down
4 changes: 4 additions & 0 deletions tests/testthat/test-parallel.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
context("netsim_par")

test_that("1 sim on 1 core", {
skip_on_cran()
nw <- network.initialize(n = 50, directed = FALSE)
formation <- ~ edges
target.stats <- 25
Expand All @@ -19,6 +20,7 @@ test_that("1 sim on 1 core", {
})

test_that("2 sims on 1 core", {
skip_on_cran()
nw <- network.initialize(n = 50, directed = FALSE)
formation <- ~ edges
target.stats <- 25
Expand All @@ -37,6 +39,7 @@ test_that("2 sims on 1 core", {
})

test_that("1 sim on (not really) 2 cores", {
skip_on_cran()
nw <- network.initialize(n = 50, directed = FALSE)
formation <- ~ edges
target.stats <- 25
Expand All @@ -55,6 +58,7 @@ test_that("1 sim on (not really) 2 cores", {
})

test_that("2 sims on 2 cores", {
skip_on_cran()
nw <- network.initialize(n = 50, directed = FALSE)
formation <- ~ edges
target.stats <- 25
Expand Down
2 changes: 1 addition & 1 deletion vignettes/Intro.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To get started, start by loading the **EpiModel.hpc** library:
library(EpiModel.hpc)
```

This package depends on **EpiModel** itself, so that package and the related [Statnet](http://statnet.csde.washington.edu/trac/wiki) software suite will also be loaded. Readers without prior experience estimating and simulating network models in **EpiModel** should consult the [Basic Network Models](http://statnet.github.io/tut/BasicNet.html) tutorial first. This tutorial assumes readers are familiar with that material.
This package depends on **EpiModel** itself, so that package and the related [Statnet](http://statnet.org/) software suite will also be loaded. Readers without prior experience estimating and simulating network models in **EpiModel** should consult the [Basic Network Models](http://statnet.github.io/tut/BasicNet.html) tutorial first. This tutorial assumes readers are familiar with that material.


## 2. A Basic Simulation in Parallel
Expand Down

0 comments on commit 1d355cc

Please sign in to comment.