[ESS-bugs] Trailing slash with devtools::check

Kevin Wright kw.stat at gmail.com
Mon Jun 27 16:24:16 CEST 2016


On Windows, if I am developing package "kw" and I use C-c C-w c to check
the package, then I see this:



R> devtools::check('c:/x/rpack/kw/')

Error: Can't find 'c:\x\rpack\kw\'.



The problem here seems to be the trailing slash, because in the inferior
ESS buffer I can manually issue the commands like this:



R> devtools::check('c:/x/rpack/kw/')

Error: Can't find 'c:\x\rpack\kw\'.



R> devtools::check('c:/x/rpack/kw')

Updating kw documentation

Loading kw

Writing NAMESPACE



I suggest that C-c C-w c could kindly remove the trailing slash from the
package path before calling devtools::check



Thanks


-- 
Kevin Wright

	[[alternative HTML version deleted]]



More information about the ESS-bugs mailing list