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

[R-pkg-devel] creating a function that creates a figure

2021-04-28 Thread csmatyi
Hello all, Normally, when you write a function in R, it returns a value. That way it is easy to write an .Rd file for this function. However, I have written a function that does no such thing. Rather, it takes as input two data frames, and creates a figure. But doesn't return anything. In R pa