Skip to content

Commit

Permalink
add overwrite = TRUE to solve test error
Browse files Browse the repository at this point in the history
  • Loading branch information
josschavezf committed Sep 25, 2024
1 parent 9676ca2 commit dec7d7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/save_load.R
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ saveGiotto <- function(gobject,
)
terra::writeVector(
x = gobject@feat_info[[feat]]@spatVector,
filename = filename
filename = filename, overwrite = TRUE
)
}

Expand Down Expand Up @@ -134,7 +134,7 @@ saveGiotto <- function(gobject,
)
terra::writeVector(
gobject@spatial_info[[spatinfo]]@spatVector,
filename = filename
filename = filename, overwrite = TRUE
)
}

Expand Down Expand Up @@ -162,7 +162,7 @@ saveGiotto <- function(gobject,
)
terra::writeVector(
gobject@spatial_info[[spatinfo]]@spatVectorCentroids,
filename = filename
filename = filename, overwrite = TRUE
)
}

Expand Down Expand Up @@ -197,7 +197,7 @@ saveGiotto <- function(gobject,
)
terra::writeVector(
gobject@spatial_info[[spatinfo]]@overlaps[[feature]],
filename = filename
filename = filename, overwrite = TRUE
)
}
}
Expand Down

0 comments on commit dec7d7d

Please sign in to comment.