Skip to content

Commit

Permalink
export setNames and dontrun slow example
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Dec 30, 2015
1 parent 6a3c972 commit b9800d4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Expand Up @@ -54,6 +54,7 @@ importFrom(dplyr,select)
importFrom(dplyr,select_)
importFrom(lazyeval,interp)
importFrom(stats,na.omit)
importFrom(stats,setNames)
importFrom(stringr,str_replace)
importFrom(tidyr,spread)
importFrom(utils,capture.output)
Expand Down
1 change: 1 addition & 0 deletions R/get_characters.R
Expand Up @@ -14,6 +14,7 @@
#' @importFrom tidyr spread
#' @importFrom dplyr left_join select_
#' @importFrom stringr str_replace
#' @importFrom stats setNames
#' @export
#' @examples
#' \dontrun{
Expand Down
3 changes: 2 additions & 1 deletion R/get_metadata.R
Expand Up @@ -12,11 +12,12 @@
#' (e.g. "otu", "characters"), or a path to the desired element, e.g. 'trees/tree'
#' will return the metadata for all phylogenies in all trees blocks.
#' @import XML
#' @examples
#' @examples \dontrun{
#' comp_analysis <- system.file("examples", "primates.xml", package="RNeXML")
#' nex <- nexml_read(comp_analysis)
#' get_metadata(nex)
#' get_metadata(nex, "otus/otu")
#' }
#' @export
get_metadata <- function(nexml, level = "nexml"){

Expand Down
2 changes: 1 addition & 1 deletion cran-comments.md
@@ -1,6 +1,6 @@
Dear CRAN maintainers,

This update extends functionality and removes a minor bug as described in NEWS.
This update extends functionality and removes a minor bug as described in NEWS. Issues of an example that ran longer than 5 seconds on CRAN's server and an additional export from base package (importFrom("stats", "setNames")) now fixed.

Cheers,

Expand Down
2 changes: 2 additions & 0 deletions man/get_metadata.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b9800d4

Please sign in to comment.