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

Check if "weights" exists for vector-method #485

Merged
merged 10 commits into from
Mar 7, 2024
Merged

Conversation

strengejacke
Copy link
Member

data(efc, package = "datawizard")
set.seed(123)
efc$weights <- abs(rnorm(n = nrow(efc), mean = 1, sd = 0.5))
# did not throw an error, but returned unweighted table
data_tabulate(efc$c172code, weights = efc$wweight)

Copy link

codecov bot commented Mar 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.48%. Comparing base (7a1f372) to head (59ce510).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #485   +/-   ##
=======================================
  Coverage   90.47%   90.48%           
=======================================
  Files          74       74           
  Lines        5776     5780    +4     
=======================================
+ Hits         5226     5230    +4     
  Misses        550      550           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@strengejacke strengejacke merged commit 67a01ee into main Mar 7, 2024
25 checks passed
@strengejacke strengejacke deleted the check_weights branch March 7, 2024 13:14
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.

1 participant