epiverse-trace / epichains

Methods for simulating and analysing the sizes and lengths of infectious disease transmission chains from branching process models
https://epiverse-trace.github.io/epichains/
Other
6 stars 2 forks source link

Fix [undesirable_function_linter] error #183

Closed jamesmbaazam closed 9 months ago

jamesmbaazam commented 9 months ago

Fix the following CI error ahead of #182:

Warning: file=R/epichains.R,line=26,col=10,[undesirable_function_linter] Function "structure" is undesirable. As an alternative, Use class<-, names<-, and attr<- to set attributes.
Warning: file=R/epichains.R,line=115,col=10,[undesirable_function_linter] Function "structure" is undesirable. As an alternative, Use class<-, names<-, and attr<- to set attributes.