Skip to content

Commit

Permalink
examples pass tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnCoene committed Feb 28, 2017
1 parent 0c84a60 commit c722414
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
15 changes: 8 additions & 7 deletions .Rbuildignore
@@ -1,7 +1,8 @@
^.*\.Rproj$
^\.Rproj\.user$
^\.httr-oauth$
^\.travis\.yml$
^appveyor\.yml$
^cran-comments\.md$
^revdep$
^.*\.Rproj$
^\.Rproj\.user$
^\.httr-oauth$
^\.travis\.yml$
^appveyor\.yml$
^cran-comments\.md$
^revdep$
^tweets\.RData$
3 changes: 2 additions & 1 deletion DESCRIPTION
@@ -1,7 +1,7 @@
Package: graphTweets
Type: Package
Title: Visualise Twitter Interactions
Version: 0.4.0
Version: 0.3.2
Date: 2016-05-07
Authors@R:
person("John", "Coene", email = "jcoenep@gmail.com",
Expand All @@ -14,6 +14,7 @@ Depends:
Imports:
reshape2,
dplyr,
plyr,
igraph,
methods
RoxygenNote: 5.0.1
Expand Down
4 changes: 2 additions & 2 deletions R/dynamize.R
Expand Up @@ -117,10 +117,10 @@ dynamise <- function(data, tweets, source, start.stamp, end.stamp = NULL,

names(edges) <- c("source", "target", "start.stamp")

edges$end.stamp <- max(edges$start.stamp)

edges <- cvstamp(edges, "start.stamp", ssclass)

edges$end.stamp <- max(edges$start.stamp)

}

# get nodes
Expand Down
2 changes: 1 addition & 1 deletion R/getNodes.R
Expand Up @@ -34,7 +34,7 @@
#'
#' # plot
#' g <- igraph::graph.data.frame(edges, directed = TRUE, vertices = nodes)
#' plot(g, vertex.color = igraph::V(g)$favorited)
#' plot(g)
#'
#' @author John Coene \email{jcoenep@@gmail.com}
#'
Expand Down
2 changes: 1 addition & 1 deletion man/getNodes.Rd

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

0 comments on commit c722414

Please sign in to comment.