Re: [R-pkg-devel] Unexpected symbol when checking package examples

2018-11-12 Thread Duncan Murdoch
On 12/11/2018 7:56 AM, Jared Knowles wrote: Thank you so much for the help! The origin of this mistake was mine - I forgot a ' following a # in my roxygen example code - which meant roxygen ignored the closing parens on the next line. (See example) \donttest{ #' # You can also pass additiona

Re: [R-pkg-devel] Unexpected symbol when checking package examples

2018-11-12 Thread Jared Knowles
Thank you so much for the help! The origin of this mistake was mine - I forgot a ' following a # in my roxygen example code - which meant roxygen ignored the closing parens on the next line. (See example) \donttest{ #' # You can also pass additional arguments to predictInterval through REimpact #

Re: [R-pkg-devel] Unexpected symbol when checking package examples

2018-11-12 Thread Duncan Murdoch
On 11/11/2018 7:01 PM, Duncan Murdoch wrote: On 11/11/2018 6:53 PM, Duncan Murdoch wrote: On 11/11/2018 3:39 PM, Jared Knowles wrote: Hi! I have a bit of a weird issue when I'm trying to check my package merTools (source repo available here: https://github.com/jknowles/merTools On Windows and

Re: [R-pkg-devel] Unexpected symbol when checking package examples

2018-11-11 Thread Duncan Murdoch
On 11/11/2018 6:53 PM, Duncan Murdoch wrote: On 11/11/2018 3:39 PM, Jared Knowles wrote: Hi! I have a bit of a weird issue when I'm trying to check my package merTools (source repo available here: https://github.com/jknowles/merTools On Windows and Linux builds for R-release and R-devel, when

Re: [R-pkg-devel] Unexpected symbol when checking package examples

2018-11-11 Thread Duncan Murdoch
On 11/11/2018 3:39 PM, Jared Knowles wrote: Hi! I have a bit of a weird issue when I'm trying to check my package merTools (source repo available here: https://github.com/jknowles/merTools On Windows and Linux builds for R-release and R-devel, when R CMD CHECK checks examples, it returns the fo

Re: [R-pkg-devel] Unexpected symbol when checking package examples

2018-11-11 Thread Peter Dalgaard
Not just a capitalization issue (mertools vs. merTools)? Barring that, maybe locale trouble? Can you also do things like LC_ALL=C R < merTools-Ex.R ? Also, check for lines starting with "else" (I think you shouldn't be able to run it line-by-line if that was the issue, though). -pd > On 11 N

[R-pkg-devel] Unexpected symbol when checking package examples

2018-11-11 Thread Jared Knowles
Hi! I have a bit of a weird issue when I'm trying to check my package merTools (source repo available here: https://github.com/jknowles/merTools On Windows and Linux builds for R-release and R-devel, when R CMD CHECK checks examples, it returns the following error below: Warning: parse error in