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

Test fixes - adding handling for empty expression x[i, ] edge case #672

Merged
merged 3 commits into from
Sep 11, 2023

Conversation

dgkf
Copy link
Contributor

@dgkf dgkf commented Sep 11, 2023

Pull Request

To address test failures specifically when covr is used, this updates the way traces are stripped from model specification code so that snippets with an empty expression (x[i, ]) don't trigger the "argument missing with no default" error.

A very curious behavior of R here!

Copy link
Collaborator

@danielinteractive danielinteractive left a comment

Choose a reason for hiding this comment

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

awesome, thanks @dgkf !

@danielinteractive danielinteractive merged commit 8bb205e into openpharma:main Sep 11, 2023
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants