HenrikBengtsson / R.oo

R package: R.oo - R Object-Oriented Programming with or without References
https://cran.r-project.org/package=R.oo
20 stars 1 forks source link

ROBUSTNESS: Add explicit 'stringsAsFactors' arguments [cbind, rbind] #23

Closed HenrikBengtsson closed 4 years ago

HenrikBengtsson commented 4 years ago
$ for pkg in $pkgs; do echo "$pkg:"; (cd "$pkg"; grep -E "^[ \t]*[^#].*[cr]bind" -- */*.R | grep -vF stringsAsFactors;); echo; read -r -p "Press ENTER to continue ..."; done

R.oo:
R/ll.default.R:    expr <- substitute({expr; e; ..row <- cbind(..row, ..value);},
HenrikBengtsson commented 4 years ago

There's no stringsAsFactors for any of the cbind() methods;

Functions that use stringsAsFactors = default.stringsAsFactors():