Warning Message: In daisy binary variables are treated as interval scaled

The documentation states:

Columns of mode numeric (i.e. all columns when x is a matrix) will be recognized as interval scaled variables, columns of class factor will be recognized as nominal variables, and columns of class ordered will be recognized as ordinal variables.

Here is an example of that. I think this will override concerns such as the type list

library(cluster)
data(agriculture)
set.seed(123)
agriculture$binary <- sample.int(n=2,size=nrow(agriculture),replace=TRUE) -1 

(d.agr <- daisy(agriculture, metric = "euclidean", stand = FALSE))

agriculture$binary <- factor(agriculture$binary)

(d.agr2 <- daisy(agriculture, metric = "euclidean", stand = FALSE))

Appreciate that its your first time on the forum, so I'd like to help you with future success of engaging here to please note that my example code is a reprex (reproducible exampe), which is easy for you to run, and play with.

It's recommended that you create your own reprexes when you post about your issues as it will improve your chance of getting support. A guide on it is available here : FAQ: How to do a minimal reproducible example ( reprex ) for beginners