Running examples in ‘fdakma-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: kma
> ### Title: K-Means Alignment Algorithm
> ### Aliases: kma
> 
> ### ** Examples
> 
> #----------------------------------
> # Extracts 15 out of the 30 simulated curves in `simulated30_sub` data set
> idx <- c(1:5, 11:15, 21:25)
> x <- fdacluster::simulated30$x[idx, ]
> y <- fdacluster::simulated30$y[idx, , ]
> 
> #----------------------------------
> # Runs a k-means clustering with affine alignment, searching for 2 clusters
> res <- kma(
+   x,
+   y,
+   n_clusters = 2,
+   seeds = c(1, 11),
+   warping_class = "affine",
+   centroid_type = "medoid",
+   metric = "pearson"
+ )
Error in fdacluster::fdakmeans(x = x, y = y, n_clusters = n_clusters,  : 
  unused argument (expand_domain = expand_domain)
Calls: kma
Execution halted
Running examples in ‘fdakma-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: kma
> ### Title: K-Means Alignment Algorithm
> ### Aliases: kma
> 
> ### ** Examples
> 
> #----------------------------------
> # Extracts 15 out of the 30 simulated curves in `simulated30_sub` data set
> idx <- c(1:5, 11:15, 21:25)
> x <- fdacluster::simulated30$x[idx, ]
> y <- fdacluster::simulated30$y[idx, , ]
> 
> #----------------------------------
> # Runs a k-means clustering with affine alignment, searching for 2 clusters
> res <- kma(
+   x,
+   y,
+   n_clusters = 2,
+   seeds = c(1, 11),
+   warping_class = "affine",
+   centroid_type = "medoid",
+   metric = "pearson"
+ )
Error in fdacluster::fdakmeans(x = x, y = y, n_clusters = n_clusters,  : 
  unused argument (expand_domain = expand_domain)
Calls: kma
Execution halted
Undeclared packages ‘funData’, ‘fda’ in Rd xrefs
Running examples in ‘fdakma-Ex.R’ failed
The error most likely occurred in:

> ### Name: kma
> ### Title: K-Means Alignment Algorithm
> ### Aliases: kma
> 
> ### ** Examples
> 
> #----------------------------------
> # Extracts 15 out of the 30 simulated curves in `simulated30_sub` data set
> idx <- c(1:5, 11:15, 21:25)
> x <- fdacluster::simulated30$x[idx, ]
> y <- fdacluster::simulated30$y[idx, , ]
> 
> #----------------------------------
> # Runs a k-means clustering with affine alignment, searching for 2 clusters
> res <- kma(
+   x,
+   y,
+   n_clusters = 2,
+   seeds = c(1, 11),
+   warping_class = "affine",
+   centroid_type = "medoid",
+   metric = "pearson"
+ )
Error in fdacluster::fdakmeans(x = x, y = y, n_clusters = n_clusters,  : 
  unused argument (expand_domain = expand_domain)
Calls: kma
Execution halted
Running examples in ‘fdakma-Ex.R’ failed
The error most likely occurred in:

> ### Name: kma
> ### Title: K-Means Alignment Algorithm
> ### Aliases: kma
> 
> ### ** Examples
> 
> #----------------------------------
> # Extracts 15 out of the 30 simulated curves in `simulated30_sub` data set
> idx <- c(1:5, 11:15, 21:25)
> x <- fdacluster::simulated30$x[idx, ]
> y <- fdacluster::simulated30$y[idx, , ]
> 
> #----------------------------------
> # Runs a k-means clustering with affine alignment, searching for 2 clusters
> res <- kma(
+   x,
+   y,
+   n_clusters = 2,
+   seeds = c(1, 11),
+   warping_class = "affine",
+   centroid_type = "medoid",
+   metric = "pearson"
+ )
Error in fdacluster::fdakmeans(x = x, y = y, n_clusters = n_clusters,  : 
  unused argument (expand_domain = expand_domain)
Calls: kma
Execution halted
Running examples in 'fdakma-Ex.R' failed
The error most likely occurred in:

> ### Name: kma
> ### Title: K-Means Alignment Algorithm
> ### Aliases: kma
> 
> ### ** Examples
> 
> #----------------------------------
> # Extracts 15 out of the 30 simulated curves in `simulated30_sub` data set
> idx <- c(1:5, 11:15, 21:25)
> x <- fdacluster::simulated30$x[idx, ]
> y <- fdacluster::simulated30$y[idx, , ]
> 
> #----------------------------------
> # Runs a k-means clustering with affine alignment, searching for 2 clusters
> res <- kma(
+   x,
+   y,
+   n_clusters = 2,
+   seeds = c(1, 11),
+   warping_class = "affine",
+   centroid_type = "medoid",
+   metric = "pearson"
+ )
Error in fdacluster::fdakmeans(x = x, y = y, n_clusters = n_clusters,  : 
  unused argument (expand_domain = expand_domain)
Calls: kma
Execution halted
Running examples in ‘fdakma-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: kma
> ### Title: K-Means Alignment Algorithm
> ### Aliases: kma
> 
> ### ** Examples
> 
> #----------------------------------
> # Extracts 15 out of the 30 simulated curves in `simulated30_sub` data set
> idx <- c(1:5, 11:15, 21:25)
> x <- fdacluster::simulated30$x[idx, ]
> y <- fdacluster::simulated30$y[idx, , ]
> 
> #----------------------------------
> # Runs a k-means clustering with affine alignment, searching for 2 clusters
> res <- kma(
+   x,
+   y,
+   n_clusters = 2,
+   seeds = c(1, 11),
+   warping_class = "affine",
+   centroid_type = "medoid",
+   metric = "pearson"
+ )
Error in fdacluster::fdakmeans(x = x, y = y, n_clusters = n_clusters,  : 
  unused argument (expand_domain = expand_domain)
Calls: kma
Execution halted
Running examples in ‘fdakma-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: kma
> ### Title: K-Means Alignment Algorithm
> ### Aliases: kma
> 
> ### ** Examples
> 
> #----------------------------------
> # Extracts 15 out of the 30 simulated curves in `simulated30_sub` data set
> idx <- c(1:5, 11:15, 21:25)
> x <- fdacluster::simulated30$x[idx, ]
> y <- fdacluster::simulated30$y[idx, , ]
> 
> #----------------------------------
> # Runs a k-means clustering with affine alignment, searching for 2 clusters
> res <- kma(
+   x,
+   y,
+   n_clusters = 2,
+   seeds = c(1, 11),
+   warping_class = "affine",
+   centroid_type = "medoid",
+   metric = "pearson"
+ )
Error in fdacluster::fdakmeans(x = x, y = y, n_clusters = n_clusters,  : 
  unused argument (expand_domain = expand_domain)
Calls: kma
Execution halted
Running examples in 'fdakma-Ex.R' failed
The error most likely occurred in:

> ### Name: kma
> ### Title: K-Means Alignment Algorithm
> ### Aliases: kma
> 
> ### ** Examples
> 
> #----------------------------------
> # Extracts 15 out of the 30 simulated curves in `simulated30_sub` data set
> idx <- c(1:5, 11:15, 21:25)
> x <- fdacluster::simulated30$x[idx, ]
> y <- fdacluster::simulated30$y[idx, , ]
> 
> #----------------------------------
> # Runs a k-means clustering with affine alignment, searching for 2 clusters
> res <- kma(
+   x,
+   y,
+   n_clusters = 2,
+   seeds = c(1, 11),
+   warping_class = "affine",
+   centroid_type = "medoid",
+   metric = "pearson"
+ )
Error in fdacluster::fdakmeans(x = x, y = y, n_clusters = n_clusters,  : 
  unused argument (expand_domain = expand_domain)
Calls: kma
Execution halted
Running examples in 'fdakma-Ex.R' failed
The error most likely occurred in:

> ### Name: kma
> ### Title: K-Means Alignment Algorithm
> ### Aliases: kma
> 
> ### ** Examples
> 
> #----------------------------------
> # Extracts 15 out of the 30 simulated curves in `simulated30_sub` data set
> idx <- c(1:5, 11:15, 21:25)
> x <- fdacluster::simulated30$x[idx, ]
> y <- fdacluster::simulated30$y[idx, , ]
> 
> #----------------------------------
> # Runs a k-means clustering with affine alignment, searching for 2 clusters
> res <- kma(
+   x,
+   y,
+   n_clusters = 2,
+   seeds = c(1, 11),
+   warping_class = "affine",
+   centroid_type = "medoid",
+   metric = "pearson"
+ )
Error in fdacluster::fdakmeans(x = x, y = y, n_clusters = n_clusters,  : 
  unused argument (expand_domain = expand_domain)
Calls: kma
Execution halted