jranke / mkin
Showing 1 of 19 files from the diff.

@@ -261,8 +261,15 @@
Loading
261 261
  summary_warnings <- character()
262 262
263 263
  # Derive the name used for the model
264 -
  if (is.character(mkinmod)) mkinmod_name <- mkinmod
265 -
  else mkinmod_name <- deparse(substitute(mkinmod))
264 +
  if (is.character(mkinmod)) {
265 +
    mkinmod_name <- mkinmod
266 +
  } else {
267 +
    if (is.null(mkinmod$name)) {
268 +
      mkinmod_name <- deparse(substitute(mkinmod))
269 +
    } else {
270 +
      mkinmod_name <- mkinmod$name
271 +
    }
272 +
  }
266 273
267 274
  # Check mkinmod and generate a model for the variable whith the highest value
268 275
  # if a suitable string is given
Files Coverage
R 90.52%
Project Totals (41 files) 90.52%
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