Re: [R-pkg-devel] R vignettes

2021-04-29 Thread Bill Dunlap
cli does export col_red - did you omit the 'r' when calling it from your package or vignette? On Thu, Apr 29, 2021 at 9:29 AM Danielle Maeser wrote: > Hi Duncan, > > I really appreciate your response. Unfortunately, I am still receiving the > error below. > > If anyone has ideas, I'd appreciate

Re: [R-pkg-devel] R vignettes

2021-04-29 Thread Duncan Murdoch
On 29/04/2021 1:34 p.m., Danielle Maeser wrote: Hi Gabor, My full output is below: *   Error: object 'col_ed' is not exported by 'namespace:cli'    Execution halted    ERROR: lazy loading failed for package 'packagename'          ---    ERROR: package installa

Re: [R-pkg-devel] R vignettes

2021-04-29 Thread Gábor Csárdi
That's not the _full_ output, unfortunately. And if you can't share a file that reproduces this (not necessarily your original file!), then Duncan's advice is all we can tell you: don't install packages in vignettes. Gabor On Thu, Apr 29, 2021 at 7:34 PM Danielle Maeser wrote: > > Hi Gabor, > >

Re: [R-pkg-devel] R vignettes

2021-04-29 Thread Danielle Maeser
Hi Gabor, My full output is below: * Error: object 'col_ed' is not exported by 'namespace:cli' Execution halted ERROR: lazy loading failed for package 'packagename' --- ERROR: package installation failedError: 'col_ed' is not an exported object fro

Re: [R-pkg-devel] R vignettes

2021-04-29 Thread Gábor Csárdi
If you could share a reproducible example with us, and/or you could show the full output, then we could probably help you better. Gabor On Thu, Apr 29, 2021 at 6:29 PM Danielle Maeser wrote: > > Hi Duncan, > > I really appreciate your response. Unfortunately, I am still receiving the > error bel

Re: [R-pkg-devel] R vignettes

2021-04-29 Thread Danielle Maeser
Hi Duncan, I really appreciate your response. Unfortunately, I am still receiving the error below. If anyone has ideas, I'd appreciate it! This is the only online forum I can find that discusses the error, but I have not found it helpful: https://github.com/r-lib/cli/issues/94 * ERROR: pac

Re: [R-pkg-devel] R vignettes

2021-04-28 Thread Duncan Murdoch
On 28/04/2021 4:41 p.m., Danielle Maeser wrote: Hi Duncan, Thank you for your feedback! Unfortunately, when I made the changes recommended I have a new error: *trying to use CRAN without setting a mirror That would be a result of your code. Do you call install.packages() in one of your fun

Re: [R-pkg-devel] R vignettes

2021-04-28 Thread Danielle Maeser
Hi Duncan, Thank you for your feedback! Unfortunately, when I made the changes recommended I have a new error: *trying to use CRAN without setting a mirror* And: *Error: 'col_ed' is not an exported object from 'namespace:cli'* My description file includes: *VignetteBuilder: knitrDepend

Re: [R-pkg-devel] R vignettes

2021-04-28 Thread Duncan Murdoch
On 28/04/2021 2:44 p.m., Danielle Maeser wrote: Hello, I am doing a R CMD check on an R package I have developed. However, I keep receiving the warning below: *Files in the 'vignettes' directory but no files in 'inst/doc':* And *Files named as vignettes but with no recognized vignette engine:

[R-pkg-devel] R vignettes

2021-04-28 Thread Danielle Maeser
Hello, I am doing a R CMD check on an R package I have developed. However, I keep receiving the warning below: *Files in the 'vignettes' directory but no files in 'inst/doc':* And *Files named as vignettes but with no recognized vignette engine:* I am pretty sure I have the correct YAML header