-
-
Notifications
You must be signed in to change notification settings - Fork 106
Description
Summary
- What does this package do? (explain in 50 words or less):
nlrx enables you to run agent-based models in NetLogo from R.
This makes it possible to design reproducible experiments (which can be
zipped with nlrx and shared between persons). Furthermore, it
coerces the spatial data from NetLogo into raster and sf objects.
- Paste the full DESCRIPTION file inside a code block below:
Package: nlrx
Type: Package
Title: Setup, run and analyze NetLogo model simulations from R via XML
Version: 0.1.0
Authors@R: c(person("Jan", "Salecker", email = "jsaleck@gwdg.de",
role = c("aut", "cre"), comment = c(ORCID = '0000-0002-9000-4229')),
person("Marco", "Sciaini", email = "sciaini.marco@gmail.com", role = c("aut"), comment = c(ORCID = '0000-0002-3042-5435')))
Maintainer: Jan Salecker <jsaleck@gwdg.de>
Description: The nlrx package provides tools to setup, run and analyze NetLogo model simulations in R.
nlrx experiments use a similar structure as NetLogos Behavior Space experiments.
However, nlrx offers more flexibility and additional tools for running and anlyzing complex simulation designs and sensitivity analyses.
The user defines all information that is needed in an intuitive framework, using S4 class objects.
Experiments are submitted from R to NetLogo via XML files that are dynamically written, based on specifications defined by the user.
By nesting model calls in future environments, large simulation design with many runs can be executed in parallel.
This also enables simulating NetLogo experiments on remote HPC machines.
License: GPL-3
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 6.1.0
URL: https://github.com/nldoc/nlrx/
BugReports: https://github.com/nldoc/nlrx/issues/
Imports:
XML,
lhs,
sensitivity,
dplyr,
readr,
purrr,
furrr,
magrittr,
stats,
utils,
GenSA,
genalg,
raster,
rstudioapi,
sf,
tidyr
Depends:
methods,
tibble,
R (>= 2.10)
Suggests:
testthat,
knitr,
rmarkdown
VignetteBuilder: knitr
-
URL for the package (the development repository, not a stylized html page):
-
Please indicate which category or categories from our package fit policies this package falls under *and why(? (e.g., data retrieval, reproducibility. If you are unsure, we suggest you make a pre-submission inquiry.):
- reproducibility, as it is the first package that lets you perform systematic packages with NetLogo from R
- partly spatial, as the landscapes from NetLogo are retrieved as rasters and the agents as sf objects
-
Who is the target audience and what are scientific applications of this package?
- The audience is the scientific NetLogo community, that performs experiments within
NetLogo. They now can use nlrx to parameterise NetLogo and scale their experiments up.
With nlrx it is the first also possible to run NetLogo experiments on computing clusters.
- The audience is the scientific NetLogo community, that performs experiments within
-
Are there other R packages that accomplish the same thing? If so, how does
yours differ or meet our criteria for best-in-category? -
There is RNetLogo on CRAN, this package however is based on rJava (which is most often an obstacle) and has not as much auxiliary functions to run NetLogo and embed results in R objects.
Requirements
Confirm each of the following by checking the box. This package:
- does not violate the Terms of Service of any service it interacts with.
- has a CRAN and OSI accepted license.
- contains a README with instructions for installing the development version.
- includes documentation with examples for all functions.
- contains a vignette with examples of its essential functions and uses.
- has a test suite.
- has continuous integration, including reporting of test coverage, using services such as Travis CI, Coveralls and/or CodeCov.
- I agree to abide by ROpenSci's Code of Conduct during the review process and in maintaining my package should it be accepted.
Publication options
- Do you intend for this package to go on CRAN?
- Do you wish to automatically submit to the Journal of Open Source Software? If so:
- The package has an obvious research application according to JOSS's definition.
- The package contains a
paper.mdmatching JOSS's requirements with a high-level description in the package root or ininst/. - The package is deposited in a long-term repository with the DOI:
- (Do not submit your package separately to JOSS)
- Do you wish to submit an Applications Article about your package to Methods in Ecology and Evolution? If so:
- The package is novel and will be of interest to the broad readership of the journal.
- The manuscript describing the package is no longer than 3000 words.
- You intend to archive the code for the package in a long-term repository which meets the requirements of the journal (see MEE's Policy on Publishing Code)
Detail
-
Does
R CMD check(ordevtools::check()) succeed? Paste and describe any errors or warnings: -
Does the package conform to rOpenSci packaging guidelines? Please describe any exceptions:
-
If possible, please provide recommendations of reviewers - those with experience with similar packages and/or likely users of your package - and their GitHub user names:
- Robin Lovelace (@Robinlovelace i), as he has experience with spatial simulations and NetLogo