From 22d3f5ff2f2367d30488c4fdf6100c0da38cc6df Mon Sep 17 00:00:00 2001 From: Delaigue Olivier <olivier.delaigue@irstea.fr> Date: Sun, 18 Apr 2021 09:40:57 +0200 Subject: [PATCH] fix(Utils): read strings as character in the table with model features loaded by .FeatModels - to be OK with R < 4.0.0 Refs #106 --- R/Utils.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/Utils.R b/R/Utils.R index 6dbe71be..7dd28d77 100644 --- a/R/Utils.R +++ b/R/Utils.R @@ -20,7 +20,7 @@ ## table of feature models .FeatModels <- function() { path <- system.file("modelsFeatures/FeatModelsGR.csv", package = "airGR") - read.table(path, header = TRUE, sep = ";") + read.table(path, header = TRUE, sep = ";", stringsAsFactors = FALSE) } -- GitLab