Skip to content

Conversation

@yuliasidi
Copy link
Collaborator

No description provided.

@yuliasidi
Copy link
Collaborator Author

@nanxstats, @LittleBeannie, the check is failing but not due to the PR. Please advise

Copy link
Collaborator

@jdblischak jdblischak left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Unfortunately the pkgdown error is caused by this PR. Previously this problematic code was never executed because without $input, it always evaluated to NULL.

Failed to render RMarkdown document.
  
  Quitting from lines 89-101 [unnamed-chunk-4] (story-nph-futility.Rmd)
Caused by error:
! $ operator is invalid for atomic vectors
Backtrace:1. ├─wieand %>% summary() %>% ...
 2. ├─gsDesign2::as_gt(...)
 3. ├─base::summary(.)
 4. └─gsDesign2:::summary.gs_design(.)

observed <- summary(x)

expect_equal(attributes(observed)$full_alpha, a_level)
})
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice test!

Copy link
Collaborator

@LittleBeannie LittleBeannie left a comment

Choose a reason for hiding this comment

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

Thanks, @yuliasidi for fixing the bug!

@LittleBeannie LittleBeannie merged commit 5e6a9a5 into main Jun 27, 2024
@LittleBeannie LittleBeannie deleted the summary_upar branch June 27, 2024 17:33
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.

4 participants