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

Refactoring of analyze_vars with specifics for .stat_names #1361

Merged
merged 44 commits into from
Jan 16, 2025

Conversation

Melkiades
Copy link
Contributor

Pull Request

Fixes #1352

@Melkiades Melkiades marked this pull request as draft December 11, 2024 14:14
@Melkiades Melkiades marked this pull request as ready for review December 16, 2024 16:00
fix test

use as.facotr instead

update example

update example

save changes
@shajoezhu shajoezhu force-pushed the 1352_fix_stats@main branch from 4cf2edf to ef23cad Compare January 15, 2025 03:43
@edelarua
Copy link
Contributor

@shajoezhu I think all of the issues with this PR have been fixed. I'm not sure why but the Pkgdown Docs check always seems to take longer to update its package dependencies, which I think is why this check still isn't passing.

@shajoezhu shajoezhu enabled auto-merge (squash) January 16, 2025 03:30
Copy link
Contributor

@shajoezhu shajoezhu left a comment

Choose a reason for hiding this comment

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

this is brilliant work! Thanks a lot @Melkiades @edelarua

@shajoezhu shajoezhu requested a review from edelarua January 16, 2025 03:31
@shajoezhu shajoezhu dismissed edelarua’s stale review January 16, 2025 03:32

this is now resolved

@shajoezhu shajoezhu merged commit d048143 into main Jan 16, 2025
30 checks passed
@shajoezhu shajoezhu deleted the 1352_fix_stats@main branch January 16, 2025 03:34
@github-actions github-actions bot locked and limited conversation to collaborators Jan 16, 2025
@@ -780,7 +780,7 @@ analyze_vars <- function(lyt,
var_labels = var_labels,
afun = a_summary,
na_str = na_str,
inclNAs = na_rm,
inclNAs = !na_rm,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

eheh this silly mistake got on my nerves! nice catch

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I noticed there are different ways to handle NAs in each statistical function. What should we do about this? Keep NAs until the last statistical level and then do separate things or take them out here? @edelarua @shajoezhu

Copy link
Contributor

Choose a reason for hiding this comment

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

lets fix this in new version. agree

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

return stats in a named list
3 participants