Skip to content

Commit

Permalink
undo print.mrgmod export; rename the function
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebaron committed Jul 23, 2024
1 parent 8953de0 commit d658747
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions R/print.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ timeheader <- sprintf(print_leading,c(" time: ", " "))
print.os.header <- sprintf(print_leading, " OS type: ")
print.solver.header <- sprintf(print_leading, c(" solver:"))

#' @export
print.mrgmod <- function(x,verbose=FALSE,...) {
print_mrgmod <- function(x,verbose=FALSE,...) {

add <- x@add
nadd <- length(add)
Expand Down Expand Up @@ -150,7 +149,7 @@ print.mrgmod <- function(x,verbose=FALSE,...) {
##' @param object the model object
##' @export
##' @keywords internal
setMethod("show", "mrgmod", function(object) print.mrgmod(object))
setMethod("show", "mrgmod", function(object) print_mrgmod(object))



0 comments on commit d658747

Please sign in to comment.