Skip to content

Commit

Permalink
Update R/report_s.R
Browse files Browse the repository at this point in the history
Co-authored-by: Brenton M. Wiernik <[email protected]>
  • Loading branch information
strengejacke and bwiernik authored Jul 27, 2023
1 parent 37ad554 commit b7a10a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/report_s.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#' report_s(s = 1.5)
#' report_s(p = 0.05)
#' @export
report_s <- function(s = NULL, p = NULL) {
report_s <- function(s = NULL, p = NULL, test_value = 0, test_parameter = "parameter") {
# sanity check arguments
if ((is.null(s) || is.na(s)) && (is.null(p) || is.na(p))) {
insight::format_error("You must provide either `s` or `p`.")
Expand Down

0 comments on commit b7a10a5

Please sign in to comment.