Stable release, with package-level documentation, switch from R6 to function for distribution registry, validation using checkmate, and new quality assurance documentation.
- Add
docs/quality_assurance.md. - Add
checkmateto project dependencies.
- Switched to package-level documentation (instead of individual
@importFromon each function). - Changed R6 class
DistributionRegistryinto a functioncreate_distribution_registry(). - Refactored validation so it uses
checkmate.
Introduces a code of conduct and new test, and includes improvements to documentation, contributor and parameter use.
- Add
CODE_OF_CONDUCT.md. - Add test for model with no arrivals.
- Greatly improved/expanded
CONTRIBUTING.md. - Add Tom to
CITATION.cffandDESCRIPTION. - Corrections to docstrings (e.g., add missing
@importFrom). verboseis local parameter inmodelrather than part ofparamlist.- Improvements to
README.md.
Introduces DistributionRegistry with JSON-based parameters, replacing individual parameter functions and CSV. Also add test coverage, add file path check, and documentation and dependency management updates.
- Add
DistributionRegistryandinst/extdata/parameters.json(and accompanying data dictionary). Amended the package, validation, tests andrmarkdownto work with the new syntax for sampling and changing values (as have removed the individual parameter functions - and also removed the CSV). - Add coverage (
covr,DT, coverage command in README, and GitHub action).
- Add check for non-null file path when
log_to_file=TRUEin model validation.
- Switched to "all"
renvsnapshot type. - Update
docs/stress_des.md.
🌱 First release of the R stroke model.
- Implementation of the stroke model in R as a package (
R/). - Reproduction of paper results (
rmarkdown/analysis.Rmd). - Other RMarkdown files to generate results for tests, demonstrate logging, and how parameters can be loaded from a csv (
rmarkdown/). - Back, functional and unit tests (
tests/). - Other features include continuous integration (tests and linting), checklists, R environment, and other metadata.