Releases: danielvartan/logolink
Releases · danielvartan/logolink
logolink 1.0.0
Breaking Changes
logolinknow works only with NetLogo 7.0.1 and above. The NetLogo 7.0.1 patch release changed the XML structure of BehaviorSpace experiments; See this GitHub issue to learn more.run_experiment()now returns alistobject containing the BehaviorSpace output formats and metadata information.run_experiment()had theparseargument removed. The function now offer an option to return a lists output via the newoutputparameter. Results containing data in NetLogo's lists format are returned ascharactervectors.run_experiment()had thenetlogo_homeandnetlogo_pathargument removed. The package now tries to automatically detect the NetLogo installation using helper functions (seefind_netlogo_home()). Users can still manually specify the path to NetLogo. See the updated documentation for details.parse_netlogo_list()now always return alistobject. The previous behavior of returning avectorwhen possible was removed.parse_netlogo_list()now returnsNaNvalues as RNaNvalues instead of"NaN".inspect_experiment_file()was renamed toinspect_experiment().
New Features and Improvements
run_experiment()now have atimeoutparameter to specify the maximum time (in seconds) to wait for an experiment to complete before terminating it.run_experiment()now prints to the R console any messages returned by NetLogo while running the simulation.find_netlogo_home(),find_netlogo_console(), andfind_netlogo_version()were introduced to the package. These functions use heuristics to automatically detect NetLogo installations on Windows, macOS, and Linux.create_experiment()now have afileparameter, allowing the user to specify the output file path for the generated BehaviorSpace experiment XML file.create_experiment()now supports multiple commands in arguments likesetupandgoas character vectors.create_experiment()now supports vectors inconstantsfor enumerated value sets.create_experiment()now supports subexperiments.create_experiment()is now feature complete. It attends all the functionalities described in the XML File Format documentation.parse_netlogo_list()now have better heuristics.parse_netlogo_color()was introduced to parse NetLogo color strings into approximate hexadecimal color codes.get_netlogo_shape()was introduced to retrieve NetLogo shape definitions from theLogoShapesproject.read_experiment()was introduced to read and tidy BehaviorSpace experiment output files into R.- The package now checks
logolinkNetLogo integration via Continuous Integration (CI), performing tests on Windows, macOS, and Linux using GitHub Actions from theLogoActionsproject. - New R unit tests were implemented.
- New NetLogo unit tests were implemented.
- A new vignette introducing the package was added.
- A new vignette showing how to visualize the NetLogo world using
ggplot2was added. - The documentation was updated to reflect the changes in the package.
logolink 0.1.0
First CRAN release. 🎉