Skip to content

Commit

Permalink
Remove unnecessary sprintf() from format.epidist()
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo Gruson <10783929+Bisaloo@users.noreply.github.com>
  • Loading branch information
joshwlambert and Bisaloo authored Jul 9, 2024
1 parent 1902b92 commit 1275ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/epidist.R
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ format.epidist <- function(x, header = TRUE, vb = NULL, ...) {
)
writeLines(sprintf(dist_string, family(x)))
} else {
writeLines(sprintf("Parameters: <no parameters>"))
writeLines("Parameters: <no parameters>")
}

if (is.object(x$prob_dist)) {
Expand Down

0 comments on commit 1275ce1

Please sign in to comment.