dcooley / sfheaders
Showing 1 of 3 files from the diff.

@@ -218,6 +218,8 @@
Loading
218 218
      const char *s = unlist[ i ];
219 219
      Rcpp::List lst = sf[ s ];
220 220
      to_unlist[ i ] = sfheaders::utils::unlist_list( lst );
221 +
      // iff total_size == sf.nrow();
222 +
      // then it's not a list column.
221 223
    }
222 224
223 225
    to_unlist.names() = unlist;
@@ -230,6 +232,9 @@
Loading
230 232
      const char *s = unlist[ i ];
231 233
      SEXP unlisted_col = to_unlist[ i ];
232 234
      R_xlen_t n = sfheaders::utils::get_sexp_length( unlisted_col );
235 +
      if( n == sf.nrow() ) {
236 +
        continue; // issue 76
237 +
      }
233 238
      if( n != n_row ) {
234 239
        Rcpp::stop("sfheaders - unlisted column doesn't have the correct number of rows");
235 240
      }
Files Coverage
R 95.69%
inst/include/sfheaders 99.29%
src 96.74%
Project Totals (74 files) 99.06%
1
comment: false
2

3
coverage:
4
  status:
5
    project:
6
      default:
7
        target: auto
8
        threshold: 1%
9
    patch:
10
      default:
11
        target: auto
12
        threshold: 1%
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