From 0d54042e7bfd1b60e0a7e4d7d36a60ca54782666 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Mon, 6 Jul 2026 09:43:26 +0200 Subject: [PATCH] chore: rm two more unused vars --- R/console.R | 1 - R/epi.R | 1 - 2 files changed, 2 deletions(-) diff --git a/R/console.R b/R/console.R index d4a7c8becd6..31f378532f0 100644 --- a/R/console.R +++ b/R/console.R @@ -218,7 +218,6 @@ console <- function() { tcltk::tkdelete(txt, "0.0", "end") tcltk::tkconfigure(txt, state = "disabled") }) - bstop <- tcltk::tkbutton(lfr, text = "Stop", command = function() {}) bclose <- tcltk::tkbutton(lfr, text = "Close", command = function() { if (!is.na(oldverb) && igraph_opt("verbose") == "tkconsole") { igraph_options(verbose = oldverb) diff --git a/R/epi.R b/R/epi.R index 92bf3d3041f..8de6d418979 100644 --- a/R/epi.R +++ b/R/epi.R @@ -175,7 +175,6 @@ plot.sir <- function( } quantile_color <- rep(quantile_color, length.out = length(quantiles)) - ns <- length(sir) xlim <- xlim %||% c(0, max(sapply(sir, function(x) max(x$times)))) ylim <- ylim %||% c(0, max(sapply(sir, function(x) max(x[[comp]]))))