Skip to content

Fix pretty_names check in .parameters_starting_text() (#627) - #628

Open
SimonGreenhill wants to merge 1 commit into
easystats:mainfrom
SimonGreenhill:fix-627-pretty-names
Open

SimonGreenhill wants to merge 1 commit into
easystats:mainfrom
SimonGreenhill:fix-627-pretty-names

Conversation

@SimonGreenhill

Copy link
Copy Markdown

%in% attributes(params) matched against attribute values, so it was always FALSE and coerced every attribute (including the fitted model stored by bayestestR::sexit()) to character, making report() on large brmsfit models very slow. Check attribute names instead.

Fixes #627

`%in% attributes(params)` matched against attribute values, so it was
always FALSE and coerced every attribute (including the fitted model
stored by bayestestR::sexit()) to character, making report() on large
brmsfit models very slow. Check attribute names instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

[Bug]: brmsfit .parameters_starting_text() tests attribute values with %in% which is wrong and very slow

1 participant