Compile R functions
ts_compile.RdGenerates TypeScript schema for the given R function or file path. If a path, the R app is also generated.
Arguments
- f
A function or file path
- ...
Additional arguments (passed to ts_deploy)
- name
The name of the function
- filename
The base file path to write the TypeScript schema and R app to (optional, uses
[path of f].rserveby default)..Rand.tsfile extensions are appended automatically. If"", the output is printed to the standard output console (seecat).