brodieG / diffobj
Showing 25 of 317 files from the diff.
Other files ignored by Codecov
README.md has changed.
.travis.yml was deleted.
tests/run.R was deleted.
.Rbuildignore has changed.
src/diff.h has changed.
R/system.R has changed.
NEWS.md has changed.
inst/COPYRIGHTS has changed.
DESCRIPTION has changed.

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -4,7 +4,7 @@
Loading
4 4
 * implementation is not compatible with the original one.  See next
5 5
 * comment blocks for original copyright and license information.
6 6
 *
7 -
 * Copyright (C) 2020 Brodie Gaslam
7 +
 * Copyright (C) 2021 Brodie Gaslam
8 8
 *
9 9
 * This file is part of "diffobj - Diffs for R Objects"
10 10
 *

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#
@@ -482,14 +482,17 @@
Loading
482 482
  function(x, ..., na.rm = FALSE) {
483 483
    dots <- list(...)
484 484
    if(length(dots))
485 -
      stop("`any` method for `Diff` supports only one argument")
485 +
      stop("`any` method for `Diff` supports only one argument", call. = FALSE)
486 486
    res <- any(
487 487
      which(
488 488
        !vapply(
489 489
          unlist(x@diffs, recursive=FALSE), "[[", logical(1L), "context"
490 490
    ) ) )
491 491
    if(!res && !isTRUE(all.equal(x@target, x@current)))
492 -
      warning("No visible differences, but objects are NOT `all.equal`.")
492 +
      warning(
493 +
        "No visible differences, but objects are NOT `all.equal`.",
494 +
        call.=FALSE
495 +
      )
493 496
    res
494 497
} )
495 498
# See diff_myers for explanation of slots

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#
@@ -67,9 +67,10 @@
Loading
67 67
          d.del <- d[which(.edit.map[d[, "type"]] == "Delete"), ,drop=FALSE]
68 68
          d.ins <- d[which(.edit.map[d[, "type"]] == "Insert"), ,drop=FALSE]
69 69
          d.mtc <- d[which(.edit.map[d[, "type"]] == "Match"), ,drop=FALSE]
70 -
          del.len <- sum(d.del[, "len"])
71 -
          ins.len <- sum(d.ins[, "len"])
72 -
          mtc.len <- sum(d.mtc[, "len"])
70 +
          # R 3.3.3 had sum(integer(0)) == 1!
71 +
          del.len <- if(nrow(d.del)) sum(d.del[, "len"]) else 0L
72 +
          ins.len <- if(nrow(d.ins)) sum(d.ins[, "len"]) else 0L
73 +
          mtc.len <- if(nrow(d.mtc)) sum(d.mtc[, "len"]) else 0L
73 74
          tar.len <- del.len + mtc.len
74 75
          cur.len <- ins.len + mtc.len
75 76

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#

@@ -1,4 +1,4 @@
Loading
1 -
# Copyright (C) 2020 Brodie Gaslam
1 +
# Copyright (C) 2021 Brodie Gaslam
2 2
#
3 3
# This file is part of "diffobj - Diffs for R Objects"
4 4
#
Files Coverage
R 99.58%
src 91.48%
Project Totals (28 files) 99.01%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading