Skip to content

Commit

Permalink
More updating unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyDoorn committed Apr 9, 2024
1 parent 53e9d5a commit 19a21d0
Show file tree
Hide file tree
Showing 10 changed files with 623 additions and 623 deletions.
2 changes: 1 addition & 1 deletion R/regressionlinear.R
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ RegressionLinearInternal <- function(jaspResults, dataset = NULL, options) {
partialPlotContainer$position <- position
modelContainer[["partialPlotContainer"]] <- partialPlotContainer

predictors <- .linregGetPredictors(options$modelTerms)
predictors <- .linregGetPredictors(options$modelTerms[[length(options$modelTerms)]][["components"]])
if (any(.linregIsInteraction(predictors))) {
.linregCreatePlotPlaceholder(partialPlotContainer, index = "placeholder", title = "")
partialPlotContainer$setError(gettext("Partial plots are not supported for models containing interaction terms"))
Expand Down
476 changes: 242 additions & 234 deletions tests/testthat/_snaps/regressionlinear/field-residuals-predicted.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 19a21d0

Please sign in to comment.