I am running on Windows 11 with R version 4.2.1 and Rstudio 2022.02.03 Build 492.
My understanding is that when rjtools::create_package() is run, a html and pdf file should be created (two output journal types). When I run create_package() and then navigate to the folder, open the markdown document, and click knit in Rstudio, I obtain the following error and no pdf document is created:
Output created: quokka-bilby.html
Error:
-->
<callr_remote_error in if (metadata$volume < 14) { ...:
argument is of length zero>
in process 1988
Warning message:
In output_format$post_knit(front_matter, knit_input, runtime, encoding = "UTF-8") :
A date must be provided for your article. Defaulting to today's date.
Execution halted
I am running on Windows 11 with R version 4.2.1 and Rstudio 2022.02.03 Build 492.
My understanding is that when rjtools::create_package() is run, a html and pdf file should be created (two output journal types). When I run create_package() and then navigate to the folder, open the markdown document, and click knit in Rstudio, I obtain the following error and no pdf document is created:
Error:
-->
<callr_remote_error in if (metadata$volume < 14) { ...:
argument is of length zero>
in process 1988
Stack trace:
Process 17112:
throw(newerr, parent = remerr[[2]])
x callr subprocess failed: argument is of length zero
Process 1988:
h(simpleError(msg, call))
x argument is of length zero
Warning message: In output_format$post_knit(front_matter, knit_input, runtime, encoding = "UTF-8") : A date must be provided for your article. Defaulting to today's date. Execution halted
Any idea why this occurs?