Several tests were failing locally because read.dcf was used to read config/global.dcf without all = TRUE, but then accessed as a data.frame. This PR removes all variants of read.dcf, read.dcf(all=TRUE) and as.data.frame(read.dcf(...)) with the internal .read.config. Similarly .write.dcf has been replaced with .write.config where applicable. Using read.dcf directly returns a matrix by default, by accessing it as a list the matrix was converted to a list, however, losing the names. The dcf that was written therefore contained only variables like X.1, X.2, ...
Furthermore a lot of whitespace was cleaned up according to the Rstudio project settings.
Several tests were failing locally because
read.dcf
was used to readconfig/global.dcf
withoutall = TRUE
, but then accessed as a data.frame. This PR removes all variants ofread.dcf
,read.dcf(all=TRUE)
andas.data.frame(read.dcf(...))
with the internal.read.config
. Similarly.write.dcf
has been replaced with.write.config
where applicable. Usingread.dcf
directly returns a matrix by default, by accessing it as a list the matrix was converted to a list, however, losing the names. The dcf that was written therefore contained only variables likeX.1
,X.2
, ... Furthermore a lot of whitespace was cleaned up according to the Rstudio project settings.