Skip to content

NetLogoR

1.0.6

Build and Run Spatially Explicit Agent-Based Models

0packages depend
3.4Kdownloads / year
92.4%test coverage
13/13checks pass

Overview

About
Maintained by Eliot J B McIntireFirst published 2018-02-0513 releasesCRAN page ↗GitHub ↗

Build and run spatially explicit agent-based models using only the R platform. 'NetLogoR' follows the same framework as the 'NetLogo' software (Wilensky (1999) https://www.netlogo.org) and is a translation in R of the structure and functions of 'NetLogo'. 'NetLogoR' provides new R classes to define model agents and functions to implement spatially explicit agent-based models in the R environment. This package allows benefiting of the fast and easy coding phase from the highly developed 'NetLogo' framework, coupled with the versatility, power and massive resources of the R software. Examples of two models from the NetLogo software repository (Ants https://ccl.northwestern.edu/netlogo/models/Ants) and Wolf-Sheep-Predation (https://ccl.northwestern.edu/netlogo/models/WolfSheepPredation), and a third, Butterfly, from Railsback and Grimm (2012) https://www.railsback-grimm-abm-book.com/, all written using 'NetLogoR' are available. The 'NetLogo' code of the original version of these models is provided alongside. A programming guide inspired from the 'NetLogo' Programming Guide (https://docs.netlogo.org/programming.html) and a dictionary of 'NetLogo' primitives (https://docs.netlogo.org/dictionary.html) equivalences are also available. NOTE: To increment 'time', these functions can use a for loop or can be integrated with a discrete event simulator, such as 'SpaDES' (https://cran.r-project.org/package=SpaDES).

Install

Health

CRAN checks
13OK
Slowest check: 9.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.45
92.4%
Coverage · measured lines
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-05-20
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-05-19
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 243 wordsVignettesYes · staticpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
99%
Return-value docs
100%
References docs
68%

Downloads

3.4K
CRAN downloads in the past year
Rank #12,760 · ~9/day · ~280/mo
Daily download trend is not available in this view yet.
16830 days
79190 days
3.4K1 year
Compare downloads with other packages →
Also on106 r2u15 autocran17 c2d4u

Repository

Repository
45Stars
6Forks
0Open issues
0Open PRs
12Releases
1,077Commits
6Contributors
r-package
1,077 commits · Last activity 2026-08-11 · +2.3% stars, 30d

Stars over time

2025-08-13 · 422026-08-11 · 45

Repository practices

Upstream repositoryBeta

7 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/predictiveecology/netlogor on 2026-08-09.

Continuous integration (1)
GitHub Actions
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Lint, format, editor (2)
lintrRStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.3
Imports (7)
data.tablegrDevicesmethodsquickPlotstatsterrautils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Copyright holders (1)
Listed in earlier versions (2)
Package Timeline

13 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.6Latest
    2025-09-03 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.5
    2024-01-08 · diff ↗
  • unarchivedReturned to CRAN
    2024-01-08
  • R
    R 4.3.0 released · 2023-04-21
  • archivedRemoved from CRAN
    2022-11-09
    requires archived package 'Require'
  • 0.3.11
    2022-08-17 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.3.10
    2022-02-18 · diff ↗
  • unarchivedReturned to CRAN
    2022-02-18
  • archivedRemoved from CRAN
    2022-02-02
    requires archived package 'SpaDES.tools'
  • 0.3.9
    2021-10-19 · diff ↗
  • 0.3.8
    2021-07-10 · diff ↗
  • unarchivedReturned to CRAN
    2021-07-10
Show 15 earlier events
  • archivedRemoved from CRAN
    2021-05-22
    requires archived package 'SpaDES.tools'
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.3.7
    2020-03-02 · diff ↗
  • 0.3.6
    2019-11-27 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.3.5
    2019-01-25 · diff ↗
  • unarchivedReturned to CRAN
    2019-01-25
  • archivedRemoved from CRAN
    2019-01-24
    check issues were not corrected in time
  • 0.3.4
    2018-10-07 · diff ↗
  • 0.3.3
    2018-06-07 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.3.2
    2018-02-12 · diff ↗
  • 0.3.1
    2018-02-05
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-02-05
Total releases
13 / 8 yrs
License
GPL-3 OSI
Minimum R
≥ 4.3
Download size
191 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("NetLogoR")
McIntire, E. J. B., His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources Canada, Bauduin, S., & Chubaty, A. M. (2025). NetLogoR: Build and Run Spatially Explicit Agent-Based Models (Version 1.0.6) [Computer software]. https://doi.org/10.32614/CRAN.package.NetLogoR

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for NetLogoR version 1.0.6 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy