Improved documentation for quarto users (working directory, kableExtra
, and warning messages)
#49
Closed
mitchellcameron123
started this conversation in
Ideas
Replies: 1 comment
-
Discussion continued here: #50 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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 does 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,
Beta Was this translation helpful? Give feedback.
All reactions