Closed NicolasDumoulin closed 10 years ago
If the code is in a file, I cannot reproduce the problem with R 3.0.2. Again, please upgrade.
> formatR::tidy.source('test.R')
stop("'file' must be \"\" or an open connection object")
> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] formatR_0.10.3
again, it's OK with R 3.0.2
Thank you for this package :-)
stop("'file' must be \"\" or an open connection object")
will throw this error: Error in base::parse(text = code, srcfile = NULL) : 4526:29: entrée inattendu(e) 4526: stop("'file' must be \"\