HenrikBengtsson/R.rsp

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

Closed this issue · 1 comments

$ 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.rsp:
R/rargs.R:    args <- Reduce(rbind, args)

Here args is a list of data.frame:s and for those, stringsAsFactors is not applied.