<packageNotFoundError/error/condition>
Error in `library(microbenchmark)`: there is no package called 'microbenchmark'

dataset_path <- system.file("extdata", "ChanFacebook.gml", package = "arlclustering")
stop("ChanFacebook.gml file not found in the package")
g <- arlc_get_network_dataset(dataset_path, "Chan Facebook"),
# Ensure the dataset is loaded correctly
timings[["Get Apriori Thresholds"]] <- microbenchmark(
timings[["Generate Gross Rules"]] <- microbenchmark(
timings[["Filter gross from redundant rules"]] <- microbenchmark(
timings[["Filter redundant from non-significant rules"]] <- microbenchmark(
timings[["Clean Final Rules"]] <- microbenchmark(
# Combine timings into a data frame for plotting
timing_data <- do.call(rbind, lapply(names(timings), function(name) {
Time = summary(timings[[name]])$mean / 1e6  # Convert to milliseconds
ggplot(timing_data, aes(x = Step, y = Time)) +
labs(title = "Execution Time of Steps in Chan Facebook Network Analysis",
theme(axis.text.x = element_text(angle = 45, hjust = 1))

"ChanFacebook.gml file not found in the package"
"Filter redundant from non-significant rules"
"Execution Time of Steps in Chan Facebook Network Analysis"

dataset_path <- system.file("extdata", "facebook.gml", package = "arlclustering")
stop("facebook.gml file not found in the package")
if (!is.finite(maxLenRules) || maxLenRules > 5*length(transactions)) {
paste0("Invalid maxLenRules: must be finite and > minLenRules ")
labs(title = "Execution Time of Steps in Facebook Network Analysis",

"facebook.gml file not found in the package"
"Invalid maxLenRules: must be finite and > minLenRules "
"Execution Time of Steps in Facebook Network Analysis"

dataset_path <- system.file("extdata", "netscience.gml", package = "arlclustering")
stop("netscience.gml file not found in the package")
labs(title = "Execution Time of Steps in NetScience Network Analysis",

"netscience.gml file not found in the package"
"Execution Time of Steps in NetScience Network Analysis"

dataset_path <- system.file("extdata", "dolphins.gml", package = "arlclustering")
stop("dolphins.gml file not found in the package")
#g <- arlc_get_network_dataset(dataset_path, "Dolphins Network"),
supportRange = seq(0.05, 0.07, by = 0.01),  #minSup= 0.06 ; minConf= 0.5 ; minLen= 2 ; maxLen= 13
labs(title = "Execution Time of Steps in Dolphins Network Analysis",