-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quarto user bugs (working directory, kableExtra
, and warning messages)
#50
Comments
kableExtra
, and warning messages)kableExtra
, and warning messages)
Hi Mitchell Thanks a lot for your contribution. I've improved the documentation following your suggestions. I've added a FAQ here on overcoming the I've also added an example of producing a table within Quarto or Rmarkdown here but using Finally, I have tried with |
Hi, Thanks very much. I've ended up using Interesting that you cant reproduce the example with the directory. To clarify, I experience this issue specifically when using quarto render in the terminal but not clicking render (as clicking render is really just a preview). Thanks, |
Yes, I have tried running Can you share the error message when trying render? That should help us identify the problem |
From the untouched qmd file i get the following error
using |
Thanks Mitchell. Can you share your quarto version ( |
Discussed in #49
I have just put this through as a discussion but thought I would report this as a bug as well. Perhaps it closely meets the definition of a bug.
Originally posted by mitchellcameron123 August 2, 2024
Hi,
First of all, thank you for making this outstanding package!
I am a quarto user and I have found a few issues that could be clarified in the documentation (hence I am putting this through as an idea). Perhaps these are "bugs" so I am happy to put through a bug report as well.
First, your documentation advises " It is recommended to set
out.dir = getwd()
.". Running quarto render (in the terminal such as for publishing) will lead to an error. Perhaps the documentation should state thatout.dir = tempdir()
is required in this case. Regardless of quarto, I feel this should be clarified as the description in the help file (?cite_packages
) states thatgetwd()
is recommended by then the coded examples statetempdir()
.Second, the
kableExtra
package doesnt process the citations. This is a general problem in quarto and citations in tables here. Perhaps the package documentation could provide a workaround similar too:Third, when a large number of packages are detected, the warning suggests that
options(renv.config.dependencies.limit = Inf)
is used. However, in quarto at least (perhaps other formats), this will lead to an error. The warning can be resolved by setting it to be sufficiently high instead ofinf
such asoptions(renv.config.dependencies.limit = 10000)
.I hope these points are helpful for quarto users to be aware of in your documentation. I realise these may be niche cases, but additional documentation may save users some time figuring this all out.
Kind regards,
The text was updated successfully, but these errors were encountered: