We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Loading required namespace: testthat always shows up when running get_censoring_date_match()
Loading required namespace: testthat
get_censoring_date_match()
library(vaccineff) data("cohortdata") # assign vaccination status cohortdata$vaccine_status <- set_status( data = cohortdata, col_names = c("vaccine_date_1", "vaccine_date_2"), status = c("v", "u") ) # match cohort matched_cohort <- match_cohort(data = cohortdata, status_vacc_col = "vaccine_status", nearest = c(age = 1), exact = "sex" ) # add column with censoring date for match # this step returns the message `Loading required namespace: testthat` matched_cohort$censoring_date_match <- get_censoring_date_match( data = matched_cohort, outcome_date_col = "death_date", censoring_date_col = "death_other_causes" )
The text was updated successfully, but these errors were encountered:
Use assert_names() instead of expect_names()
cb06687
Since expect_names() is intended to be used in tests only and will trigger loading of testthat (issue #46)
46178b5
GeraldineGomez
Successfully merging a pull request may close this issue.
Please place an "x" in all the boxes that apply
Loading required namespace: testthat
always shows up when runningget_censoring_date_match()
The text was updated successfully, but these errors were encountered: