But it is hard to say anything without a link to the package sources ...
Mikael
=============================================================
I'm seeking help to understand and address this issue. show is defined like
this:
#' Show method for class "hms".#'#' @param object - hms s4 object#'#'
@return It returns the names of the slots and the classes associated
with the#' slots in the "hms" class. It prints call details.#'#'
@export#'#' @examples
#' f <- function(x) x
#' result <- hms(fitness = f, lower = -5, upper = 5)
#' show(result)
setMethod("show", "hms", function(object) {
cat("An object of class \"hms\"\n")
cat("\nCall:\n", deparse(object at call), "\n\n", sep = "")
cat("Available slots:\n")
print(methods::slotNames(object))})
And in the NAMESPACE there is a line that looks like this:
exportMethods(show)
I was investigating if the show is defined correctly and the GA package has
a very similar method:
setMethod("show", "ga",function(object)
{ cat("An object of class \"ga\"\n")
cat("\nCall:\n", deparse(object at call), "\n\n",sep="")
cat("Available slots:\n")
print(slotNames(object))})
I could not reproduce this NOTE on my personal machine with Windows.
On Mac OS I have never experienced this NOTE.
Best regards
Wojciech Achtelik