[R-pkg-devel] Advice on identifying parsing failures with examples when trying to pkgdown my package

2021-04-10 Thread Chris Evans
My beginner package https://github.com/cpsyctc/CECPfuns is evolving slowly and I had no problems (that I could see) with the help pages created through roxygen. Today I came back to try using pkgdown to ... pkgdown the package. So I used a copy of the package directory and ran: usethis::use_p

Re: [R-pkg-devel] Advice on identifying parsing failures with examples when trying to pkgdown my package

2021-04-10 Thread Duncan Murdoch
On 10/04/2021 3:28 p.m., Chris Evans wrote: My beginner package https://github.com/cpsyctc/CECPfuns is evolving slowly and I had no problems (that I could see) with the help pages created through roxygen. Today I came back to try using pkgdown to ... pkgdown the package. So I used a copy of th

Re: [R-pkg-devel] Advice on identifying parsing failures with examples when trying to pkgdown my package

2021-04-10 Thread Duncan Murdoch
Here's a better way to do the file-at-a-time check: Load the .Rd file in RStudio, and click on Preview. Copy the whole examples section to a test.R file. RStudio will mark all the syntax errors, but won't be fooled by the \% escapes, since the Preview handled them. Duncan Murdoch On 10/04

Re: [R-pkg-devel] Advice on identifying parsing failures with examples when trying to pkgdown my package

2021-04-10 Thread Chris Evans
Brilliant: exactly what I needed. I see a happy hour tomorrow morning sorting those. Many thanks (again) Duncan and very best to all here! Chris - Original Message - > From: "Duncan Murdoch" > To: "Chris Evans" , "r-package-devel" > > Sent: Saturday, 10 April, 2021 21:20:40 > Subjec