Skip to content

Commit

Permalink
Update instat/static/InstatObject/R/data_object_R6.R
Browse files Browse the repository at this point in the history
Co-authored-by: patowhiz <[email protected]>
  • Loading branch information
N-thony and Patowhiz authored Jun 18, 2024
1 parent 45b434d commit bfb146a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion instat/static/InstatObject/R/data_object_R6.R
Original file line number Diff line number Diff line change
Expand Up @@ -2254,7 +2254,8 @@ DataSheet$set("public", "rename_object", function(object_name, new_name, object_
)

DataSheet$set("public", "delete_objects", function(data_name, object_names, object_type = "object") {
if(!object_type %in% c("object", "graph", "table","model","structure","summary","filter", "calculation", "column_selection", "scalar")) stop(object_type, " must be either object (graph, table or model), filter, column selection or a calculation.")
if(!object_type %in% c("object", "graph", "table","model","structure","summary","filter", "calculation", "column_selection", "scalar")) stop(object_type, " must be either object (graph, table or model), filter, column selection, calculation or scala.")


if(any(object_type %in% c("object", "graph", "table","model","structure","summary"))){

Expand Down

0 comments on commit bfb146a

Please sign in to comment.