Compare 2ea9f8c ... +0 ... a7e6d89

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 21 of 54 files from the diff.
Other files ignored by Codecov
man/add_static.Rd has changed.
CRAN-RELEASE was deleted.
man/neighbours.Rd has changed.
man/clear-kill.Rd has changed.
man/add_p.Rd has changed.
man/drops_p.Rd has changed.
man/read-batch.Rd has changed.
man/drop_p.Rd has changed.
man/sg_events.Rd has changed.
man/animation.Rd has changed.
man/export.Rd has changed.
man/noverlap.Rd has changed.
man/filter.Rd has changed.
man/sigmajs.Rd has changed.
man/force.Rd has changed.
man/read.Rd has changed.
man/get_graph.Rd has changed.
man/graph.Rd has changed.
man/adds_p.Rd has changed.
DESCRIPTION has changed.
cran-comments.md has changed.
man/cluster.Rd has changed.
man/drag-nodes.Rd has changed.
man/sg_button.Rd has changed.

@@ -17,6 +17,8 @@
Loading
17 17
#' @note Have the parameters from your initial graph match that of the node you add, i.e.: if you pass \code{size} in your initial chart,
18 18
#' make sure you also have it in your proxy.
19 19
#' 
20 +
#' @return The \code{proxy} object.
21 +
#' 
20 22
#' @rdname add_p
21 23
#' @export
22 24
sg_add_node_p <- function(proxy, data, ..., refresh = TRUE) {
@@ -80,6 +82,8 @@
Loading
80 82
#' @note Have the parameters from your initial graph match that of the node you add, i.e.: if you pass \code{size} in your initial chart,
81 83
#' make sure you also have it in your proxy.
82 84
#' 
85 +
#' @return The \code{proxy} object.
86 +
#' 
83 87
#' @rdname adds_p
84 88
#' @export
85 89
sg_add_nodes_p <- function(proxy, data, ..., refresh = TRUE, rate = "once") {
@@ -144,10 +148,7 @@
Loading
144 148
#' @param id Id of edge or node to delete.
145 149
#' @param refresh Whether to refresh the graph after node is dropped, required to take effect, if you are running force the algorithm is killed and restarted.
146 150
#'
147 -
#' @examples
148 -
#' \dontrun{
149 -
#' demo("drop-node", package = "sigmajs")
150 -
#' }
151 +
#' @return The \code{proxy} object.
151 152
#'
152 153
#' @rdname drop_p
153 154
#' @export
@@ -193,11 +194,8 @@
Loading
193 194
#'
194 195
#' @param proxy An object of class \code{sigmajsProxy} as returned by \code{\link{sigmajsProxy}}.
195 196
#' @param refresh Whether to refresh the graph after node is dropped, required to take effect, if you are running force the algorithm is killed and restarted.
196 -
#'
197 -
#' @examples
198 -
#' \dontrun{
199 -
#' demo("clear-graph", package = "sigmajs")
200 -
#' }
197 +
#' 
198 +
#' @return The \code{proxy} object.
201 199
#'
202 200
#' @rdname clear-kill
203 201
#' @export
@@ -247,13 +245,8 @@
Loading
247 245
#' of the delay to effectively add each row one after the other: delay is thus applied at each row (number of seconds to wait
248 246
#' before the row is added *since the previous row*). If \code{FALSE} this is the number of milliseconds to wait before the node or
249 247
#' edge is added to the visualisation; \code{delay} is used as passed to the function.
250 -
#'
251 -
#' @examples
252 -
#' \dontrun{
253 -
#' demo("add-nodes-delay", package = "sigmajs") # add nodes with a delay
254 -
#' demo("add-edges-delay", package = "sigmajs") # add edges with a delay
255 -
#' demo("add-delay", package = "sigmajs") # add nodes and edges with a delay
256 -
#' }
248 +
#' 
249 +
#' @return The \code{proxy} object.
257 250
#'
258 251
#' @note Have the parameters from your initial graph match that of the node you add, i.e.: if you pass \code{size} in your initial chart,
259 252
#' make sure you also have it in your proxy.
@@ -330,6 +323,8 @@
Loading
330 323
#' @param refresh Whether to refresh the graph after node is dropped, required to take effect.
331 324
#' @param rate Refresh rate, either \code{once}, the graph is refreshed after data.frame of nodes is added or at each \code{iteration} (row-wise). Only applies if \code{refresh} is set to \code{TRUE}.
332 325
#'
326 +
#' @return The \code{proxy} object.
327 +
#' 
333 328
#' @note Have the parameters from your initial graph match that of the node you add, i.e.: if you pass \code{size} in your initial chart,
334 329
#' make sure you also have it in your proxy.
335 330
#' 
@@ -398,12 +393,7 @@
Loading
398 393
#' before the row is dropped *since the previous row*). If \code{FALSE} this is the number of milliseconds to wait before the node or
399 394
#' edge is added to the visualisation; \code{delay} is used as passed to the function.
400 395
#'
401 -
#' @examples
402 -
#' \dontrun{
403 -
#' demo("drop-nodes-delay", package = "sigmajs") # add nodes with a delay
404 -
#' demo("drop-edges-delay", package = "sigmajs") # add edges with a delay
405 -
#' demo("drop-delay", package = "sigmajs") # add nodes and edges with a delay
406 -
#' }
396 +
#' @return The \code{proxy} object.
407 397
#'
408 398
#' @note Have the parameters from your initial graph match that of the node you add, i.e.: if you pass \code{size} in your initial chart,
409 399
#' make sure you also have it in your proxy.
@@ -542,6 +532,8 @@
Loading
542 532
#' 
543 533
#' if(interactive()) shinyApp(ui, server)
544 534
#' 
535 +
#' @return The \code{proxy} object.
536 +
#' 
545 537
#' @name read
546 538
#' @export
547 539
sg_read_nodes_p <- function(proxy, data, ...){
@@ -657,6 +649,8 @@
Loading
657 649
#' 
658 650
#' if(interactive()) shinyApp(ui, server)
659 651
#' 
652 +
#' @return The \code{proxy} object.
653 +
#' 
660 654
#' @name read-batch
661 655
#' @export
662 656
sg_read_delay_nodes_p <- function(proxy, data, ..., delay){

@@ -16,6 +16,8 @@
Loading
16 16
#'   sg_edges(edges, id, source, target) %>%
17 17
#'   sg_layout() %>% 
18 18
#'   sg_noverlap()
19 +
#' 
20 +
#' @return The first argument either \code{sg} or \code{proxy}.
19 21
#'
20 22
#' @rdname noverlap
21 23
#' @export

@@ -36,6 +36,8 @@
Loading
36 36
#' }
37 37
#' if(interactive()) shinyApp(ui, server) # run
38 38
#' 
39 +
#' @return The \code{proxy} object.
40 +
#' 
39 41
#' @rdname get_graph
40 42
#' @export
41 43
sg_get_nodes_p <- function(proxy) {

@@ -28,7 +28,9 @@
Loading
28 28
#' @note Keep \code{width} at \code{100\%} for a responsive visualisation.
29 29
#' 
30 30
#' @seealso \code{\link{sg_kill}}.
31 -
#'
31 +
#' 
32 +
#' @return An object of class \code{htmlwidget} which renders the visualisation on print.
33 +
#' 
32 34
#' @export
33 35
sigmajs <- function(type = NULL, width = "100%", kill = FALSE, height = NULL, elementId = NULL) {
34 36
  

@@ -18,8 +18,7 @@
Loading
18 18
#'   \item{\code{sg_filter_undo_p} Undo filters, accepts vector of \code{name}s.}
19 19
#' }
20 20
#' 
21 -
#' @examples 
22 -
#' # demo("filter-nodes", package = "sigmajs")
21 +
#' @return The \code{proxy} object.
23 22
#' 
24 23
#' @rdname filter
25 24
#' @export

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
R 0.09% 41.19%
Project Totals (26 files) 41.19%
Loading