Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc suggestions for simulate_chains() #194

Merged
merged 11 commits into from
Jan 30, 2024
Merged

Misc suggestions for simulate_chains() #194

merged 11 commits into from
Jan 30, 2024

Conversation

Bisaloo
Copy link
Member

@Bisaloo Bisaloo commented Jan 29, 2024

The suggestions here come from investigating #179.

Indeed, the code here gives a cyclomatic complexity of 18. Some changes might be subjective preferences so feel free to cherry pick the changes you like.

@Bisaloo
Copy link
Member Author

Bisaloo commented Jan 30, 2024

This commit is breaking the tests but I'm not completely sure why: ab38713 (#194).

R/simulate.r Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Copy link
Member

@jamesmbaazam jamesmbaazam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution, Hugo. it all looks good to me. I've added you as a contributor to the package.

I did not know about the sequence() function. It's pretty terse.

@jamesmbaazam jamesmbaazam merged commit c396b7b into main Jan 30, 2024
9 checks passed
@jamesmbaazam jamesmbaazam deleted the cyclocomp branch January 30, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants