I have a master document and several child documents that use knitr. If I click on "Run", which is the prompt from the master, I am still prompted for each child.
I'm conflicted by what I think is the ideal behavior. I'm also biased since I find the multiple prompts annoying (but this is only temporary and easily solved). I suppose the way to think through it is the following: Is there an example where you would want to trust the parent but not trust the child? Perhaps you get the prompt for the parent, and say "I looked through this document and looked at the knitr chunks and know that none of the code is malicious" so I trust the document, and then a prompt for the child doc comes and you say "I did not know that the child doc used knitr, I want to check it also for malicious code". That's the best example I can come up with, but I'm not very convinced by it. I suppose in cases of security, unless I can make a sound-proof argument to get rid of the additional prompts, we should just keep them. Any thoughts? Scott
signature.asc
Description: PGP signature