From 17ddc537f19fbe5c02edc7c0b2214a0fad03c180 Mon Sep 17 00:00:00 2001 From: Marc Suchard Date: Mon, 16 Dec 2024 13:47:50 -0800 Subject: [PATCH] style --- R/Object.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/Object.R b/R/Object.R index 74400cb..bcfa636 100644 --- a/R/Object.R +++ b/R/Object.R @@ -473,8 +473,9 @@ setMethod("close", "Andromeda", function(con, ...) { }) checkIfValid <- function(x) { -if (!isValidAndromeda(x)) + if (!isValidAndromeda(x)) { rlang::abort("Andromeda object is no longer valid. Perhaps it was saved without maintainConnection = TRUE, or R has been restarted?") + } } #' Is the object an Andromeda table?