UPDATE: Scripts are now changed to work with R 4.1; see this blog post.
The scripts that accompany DBDA2E have worked fine, “out of the box,” for years. But recently some scripts have had problems. Why? R has changed. With R 4.0.0, various functions such as read.csv() no longer automatically convert strings to factors. Some DBDA2E scripts assumed the results of those functions contained factors, but if …