Package: NetLogoR Title: Build and Run Spatially Explicit Agent-Based Models Description: Build and run spatially explicit agent-based models using only the R platform. 'NetLogoR' follows the same framework as the 'NetLogo' software (Wilensky (1999) ) 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 ) and Wolf-Sheep-Predation (), and a third, Butterfly, from Railsback and Grimm (2012) , 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 () and a dictionary of 'NetLogo' primitives () 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' (). URL: https://netlogor.predictiveecology.org, https://github.com/PredictiveEcology/NetLogoR/, https://groups.google.com/g/netlogor Version: 1.0.6 Date: 2025-09-02 Authors@R: c( person("Sarah", "Bauduin", , "sarahbauduin@hotmail.fr", role = "aut", comment = c(ORCID = "0000-0002-3252-5894")), person("Eliot J B", "McIntire", , "eliot.mcintire@canada.ca", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-6914-8316")), person("Alex M", "Chubaty", , "achubaty@for-cast.ca", role = "aut", comment = c(ORCID = "0000-0001-7146-8135")), person("His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources Canada", role = "cph") ) Depends: R (>= 4.3) Imports: data.table, grDevices, methods, quickPlot (>= 1.0.2), stats, terra, utils Suggests: CircStats, covr, knitr, microbenchmark, raster, rmarkdown, sf, sp, SpaDES.core (>= 2.0.3), SpaDES.tools (>= 2.0.5), testthat, withr BugReports: https://github.com/PredictiveEcology/NetLogoR/issues ByteCompile: yes Encoding: UTF-8 Language: en-CA License: GPL-3 RoxygenNote: 7.3.2 VignetteBuilder: knitr, rmarkdown Collate: 'Agent-classes.R' 'NetLogoR-package.R' 'worldNLR-classes-methods.R' 'helpers.R' 'agentMatrix-Class-methods.R' 'agentset-functions.R' 'function-arguments.R' 'patch-functions.R' 'plot.R' 'quickPlot.R' 'spades-functions.R' 'turtle-functions.R' 'world-functions.R' Roxygen: list(markdown = TRUE) Config/pak/sysreqs: libgdal-dev gdal-bin libgeos-dev libproj-dev libsqlite3-dev Repository: https://predictiveecology.r-universe.dev Date/Publication: 2025-09-02 20:55:07 UTC RemoteUrl: https://github.com/PredictiveEcology/NetLogoR RemoteRef: development RemoteSha: 18ed0f9ac3ea2dc5d4a6a79805d5b4b3175b0057 NeedsCompilation: no Packaged: 2026-06-01 07:45:49 UTC; root Author: Sarah Bauduin [aut] (ORCID: ), Eliot J B McIntire [aut, cre] (ORCID: ), Alex M Chubaty [aut] (ORCID: ), His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources Canada [cph] Maintainer: Eliot J B McIntire