Path: blob/main/src/resources/schema/document-execute.yml
12921 views
- name: engine1schema:2string:3completions: [jupyter, knitr, julia]4description: "Engine used for executable code blocks."56- name: jupyter7schema:8anyOf:9- boolean10- string11- object:12hidden: true # don't complete through a single-key object13properties:14kernelspec:15object:16properties:17display_name:18string:19description: The name to display in the UI.20language:21string:22description: The name of the language the kernel implements.23name:24string:25description: The name of the kernel.26required: all27description: Configures the Jupyter engine.2829- name: julia30schema:31object:32properties:33exeflags:34schema:35arrayOf: string36description: Arguments to pass to the Julia worker process.37env:38schema:39arrayOf: string40description: Environment variables to pass to the Julia worker process.41description: Configures the Julia engine.4243- name: knitr44schema:45anyOf:46- boolean47- object:48closed: true49properties:50opts_knit:51object:52description: Knit options.53opts_chunk:54object:55description: Knitr chunk options.56description: Set Knitr options.5758- name: cache59tags:60execute-only: true61schema:62anyOf:63- boolean64- enum: [refresh]65default: false66description:67short: "Cache results of computations."68long: |69Cache results of computations (using the [knitr cache](https://yihui.org/knitr/demo/cache/)70for R documents, and [Jupyter Cache](https://jupyter-cache.readthedocs.io/en/latest/)71for Jupyter documents).7273Note that cache invalidation is triggered by changes in chunk source code74(or other cache attributes you've defined).7576- `true`: Cache results77- `false`: Do not cache results78- `refresh`: Force a refresh of the cache even if has not been otherwise invalidated.7980- name: freeze81tags:82execute-only: true83schema:84anyOf:85- boolean86- enum: [auto]87default: false88description:89short: "Re-use previous computational output when rendering"90long: |91Control the re-use of previous computational output when rendering.9293- `true`: Never recompute previously generated computational output during a global project render94- `false` (default): Recompute previously generated computational output95- `auto`: Re-compute previously generated computational output only in case their source file changes9697- name: server98hidden: true99schema:100anyOf:101- enum: [shiny]102- object:103properties:104type:105enum: [shiny]106description: Type of server to run behind the document (e.g. `shiny`)107ojs-export:108maybeArrayOf: string109description: OJS variables to export to server.110ojs-import:111maybeArrayOf: string112description: Server reactive values to import into OJS.113description: Document server114115- name: daemon116hidden: true117schema:118anyOf: [number, boolean]119default: 300120description:121short: "Run Jupyter kernels within a peristent daemon (to mitigate kernel startup time)."122long: |123Run Jupyter kernels within a peristent daemon (to mitigate kernel startup time).124By default a daemon with a timeout of 300 seconds will be used. Set `daemon`125to another timeout value or to `false` to disable it altogether.126127- name: daemon-restart128schema: boolean129hidden: true130default: false131description: "Restart any running Jupyter daemon before rendering."132133- name: enabled134schema: boolean135default: true136hidden: true137description: "Enable code cell execution."138139- name: ipynb140schema: boolean141default: false142hidden: true143description: "Execute code cell execution in Jupyter notebooks."144145- name: debug146hidden: true147schema: boolean148default: false149description: "Show code-execution related debug information."150151152