jranke / mkin

Compare 7bca4f5 ... +1 ... c74b79c

Showing 2 of 135 files from the diff.
Other files ignored by Codecov
test.log has changed.
man/mmkin.Rd has changed.
NEWS.md has changed.
build.log has changed.
docs/pkgdown.yml has changed.
check.log has changed.
DESCRIPTION has changed.

@@ -13,7 +13,8 @@
Loading
13 13
#'   is only used when the \code{cluster} argument is \code{NULL}. On Windows
14 14
#'   machines, cores > 1 is not supported, you need to use the \code{cluster}
15 15
#'   argument to use multiple logical processors. Per default, all cores
16 -
#'   detected by [parallel::detectCores()] are used.
16 +
#'   detected by [parallel::detectCores()] are used, except on Windows where
17 +
#'   the default is 1.
17 18
#' @param cluster A cluster as returned by \code{\link{makeCluster}} to be used
18 19
#'   for parallel execution.
19 20
#' @param \dots Further arguments that will be passed to \code{\link{mkinfit}}.
@@ -75,7 +76,7 @@
Loading
75 76
#'
76 77
#' @export mmkin
77 78
mmkin <- function(models = c("SFO", "FOMC", "DFOP"), datasets,
78 -
  cores = parallel::detectCores(), cluster = NULL, ...)
79 +
  cores = if (Sys.info()["sysname"] == "Windows") 1 else parallel::detectCores(), cluster = NULL, ...)
79 80
{
80 81
  call <- match.call()
81 82
  parent_models_available = c("SFO", "FOMC", "DFOP", "HS", "SFORB", "IORE", "logistic")

@@ -278,7 +278,7 @@
Loading
278 278
    if (show_residuals) {
279 279
      mkinresplot(fit, obs_vars = row_obs_vars, standardized = standardized,
280 280
        pch_obs = pch_obs[row_obs_vars], col_obs = col_obs[row_obs_vars],
281 -
        legend = FALSE, frame = frame, xlab = xlab)
281 +
        legend = FALSE, frame = frame, xlab = xlab, xlim = xlim)
282 282
    }
283 283
284 284
    # Show error model plot if requested

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 90.52%
Project Totals (41 files) 90.52%
Loading