]> git.donarmstrong.com Git - ape.git/blobdiff - R/write.nexus.R
various bug fixes
[ape.git] / R / write.nexus.R
index 00fcffc9f481614952d2bf8c5cf015bc819f7eba..ac383f73ec0415de4e7447acb46550fdcaf4a459 100644 (file)
@@ -1,4 +1,4 @@
-## write.nexus.R (2012-03-02)
+## write.nexus.R (2012-03-30)
 
 ##   Write Tree File in Nexus Format
 
@@ -7,7 +7,7 @@
 ## This file is part of the R-package `ape'.
 ## See the file ../COPYING for licensing issues.
 
-write.nexus <- function(..., file = "", translate = TRUE, original.data = NULL)
+write.nexus <- function(..., file = "", translate = TRUE)
 {
     obj <- list(...)
     ## We insure that all trees are in a list, even if there is a single one:
@@ -22,9 +22,6 @@ write.nexus <- function(..., file = "", translate = TRUE, original.data = NULL)
     cat(paste("[R-package APE, ", date(), "]\n\n", sep = ""),
         file = file, append = TRUE)
 
-    if (!is.null(original.data))
-        warning("the option 'original.data' is deprecated and will be removed soon. Please update your code.")
-
     N <- length(obj[[1]]$tip.label)
 
     cat("BEGIN TAXA;\n", file = file, append = TRUE)