@eagleoutice/flowr 2.16.1 → 2.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/abstract-interpretation/data-frame/arguments.js +4 -3
- package/abstract-interpretation/data-frame/dataframe-semantics.js +1 -2
- package/abstract-interpretation/data-frame/semantics.d.ts +2 -2
- package/abstract-interpretation/data-frame/semantics.js +2 -6
- package/benchmark/slicer.js +1 -3
- package/benchmark/summarizer/first-phase/input.js +1 -12
- package/benchmark/summarizer/second-phase/process.d.ts +7 -0
- package/benchmark/summarizer/second-phase/process.js +15 -12
- package/cli/repl/commands/repl-cfg.js +18 -49
- package/cli/repl/commands/repl-clipboard.d.ts +2 -0
- package/cli/repl/commands/repl-clipboard.js +5 -0
- package/cli/repl/commands/repl-commands.js +2 -2
- package/cli/repl/commands/repl-dataflow.js +21 -55
- package/cli/repl/commands/repl-normalize.js +15 -28
- package/cli/repl/commands/repl-parse.js +2 -2
- package/cli/repl/commands/repl-query.js +10 -10
- package/cli/repl/commands/repl-signature.js +4 -4
- package/cli/repl/server/connection.d.ts +1 -0
- package/cli/repl/server/connection.js +8 -30
- package/cli/repl/server/messages/message-analysis.js +1 -1
- package/config.d.ts +6 -0
- package/config.js +7 -4
- package/control-flow/cfg-dead-code.js +5 -14
- package/control-flow/cfg-to-basic-blocks.js +1 -6
- package/control-flow/control-flow-graph.d.ts +2 -16
- package/control-flow/control-flow-graph.js +8 -66
- package/control-flow/diff-cfg.js +10 -23
- package/control-flow/semantic-cfg-guided-visitor.js +5 -11
- package/control-flow/simple-visitor.js +2 -2
- package/core/steps/pipeline/default-pipelines.d.ts +138 -138
- package/data/r-base-packages.generated.js +0 -1
- package/data/r-base-primitives.generated.js +0 -1
- package/data/r-s3-generics.generated.d.ts +5 -0
- package/data/r-s3-generics.generated.js +103 -0
- package/dataflow/cluster.js +2 -1
- package/dataflow/environments/append.d.ts +1 -0
- package/dataflow/environments/built-in-props.d.ts +15 -2
- package/dataflow/environments/built-in-props.js +31 -4
- package/dataflow/environments/built-in.js +15 -9
- package/dataflow/environments/clone.d.ts +1 -0
- package/dataflow/environments/clone.js +1 -0
- package/dataflow/environments/default-builtin-config.d.ts +385 -25
- package/dataflow/environments/default-builtin-config.js +186 -106
- package/dataflow/environments/define.d.ts +1 -0
- package/dataflow/environments/define.js +1 -0
- package/dataflow/environments/environment.d.ts +27 -0
- package/dataflow/environments/environment.js +37 -16
- package/dataflow/environments/frame-memory.d.ts +9 -1
- package/dataflow/environments/frame-memory.js +12 -1
- package/dataflow/environments/identifier.d.ts +1 -2
- package/dataflow/environments/identifier.js +5 -7
- package/dataflow/environments/overwrite.js +1 -0
- package/dataflow/environments/query-fn-props.d.ts +3 -0
- package/dataflow/environments/query-fn-props.js +7 -0
- package/dataflow/environments/resolve-by-name.js +11 -4
- package/dataflow/environments/scoping.d.ts +3 -0
- package/dataflow/environments/scoping.js +3 -0
- package/dataflow/eval/resolve/alias-tracking.js +3 -3
- package/dataflow/eval/resolve/resolve-argument.d.ts +7 -3
- package/dataflow/eval/resolve/resolve-argument.js +21 -12
- package/dataflow/eval/resolve/resolve-numbers.js +5 -2
- package/dataflow/eval/resolve/resolve-strings.d.ts +1 -1
- package/dataflow/eval/resolve/resolve-working-directory.js +2 -2
- package/dataflow/eval/resolve/resolve.js +1 -2
- package/dataflow/eval/values/intervals/interval-constants.js +1 -6
- package/dataflow/eval/values/r-value.js +1 -6
- package/dataflow/extractor.js +17 -17
- package/dataflow/fn/argument-roles.js +15 -15
- package/dataflow/fn/class-declaration.js +7 -7
- package/dataflow/fn/frame-reflection.d.ts +1 -23
- package/dataflow/fn/frame-reflection.js +8 -95
- package/dataflow/fn/function-props.d.ts +0 -3
- package/dataflow/fn/function-props.js +9 -11
- package/dataflow/fn/function-semantics.d.ts +1 -0
- package/dataflow/fn/strict-function.js +15 -14
- package/dataflow/graph/call-graph.d.ts +8 -0
- package/dataflow/graph/call-graph.js +40 -25
- package/dataflow/graph/dataflowgraph-builder.d.ts +0 -60
- package/dataflow/graph/dataflowgraph-builder.js +15 -135
- package/dataflow/graph/df-helper.d.ts +56 -4
- package/dataflow/graph/df-helper.js +116 -1
- package/dataflow/graph/diff-dataflow-graph.js +13 -15
- package/dataflow/graph/graph-helper.d.ts +20 -0
- package/dataflow/graph/graph-helper.js +18 -0
- package/dataflow/graph/graph.js +15 -8
- package/dataflow/graph/match-args.d.ts +1 -1
- package/dataflow/graph/match-args.js +3 -3
- package/dataflow/internal/linker.d.ts +4 -10
- package/dataflow/internal/linker.js +21 -29
- package/dataflow/internal/process/functions/call/built-in/built-in-access.js +2 -8
- package/dataflow/internal/process/functions/call/built-in/built-in-ambient-state.d.ts +5 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-ambient-state.js +39 -22
- package/dataflow/internal/process/functions/call/built-in/built-in-assignment.js +19 -21
- package/dataflow/internal/process/functions/call/built-in/built-in-attach.js +3 -7
- package/dataflow/internal/process/functions/call/built-in/built-in-env-contents.js +6 -11
- package/dataflow/internal/process/functions/call/built-in/built-in-envir-utils.js +6 -8
- package/dataflow/internal/process/functions/call/built-in/built-in-eval.js +14 -13
- package/dataflow/internal/process/functions/call/built-in/built-in-expression-list.js +27 -13
- package/dataflow/internal/process/functions/call/built-in/built-in-for-loop.js +6 -8
- package/dataflow/internal/process/functions/call/built-in/built-in-function-definition.js +33 -35
- package/dataflow/internal/process/functions/call/built-in/built-in-get.js +3 -5
- package/dataflow/internal/process/functions/call/built-in/built-in-if-then-else.js +6 -7
- package/dataflow/internal/process/functions/call/built-in/built-in-library.js +12 -5
- package/dataflow/internal/process/functions/call/built-in/built-in-list.js +3 -4
- package/dataflow/internal/process/functions/call/built-in/built-in-load.js +7 -8
- package/dataflow/internal/process/functions/call/built-in/built-in-local.js +5 -6
- package/dataflow/internal/process/functions/call/built-in/built-in-new-env.js +3 -4
- package/dataflow/internal/process/functions/call/built-in/built-in-pipe.js +2 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-purrr-formula.js +14 -7
- package/dataflow/internal/process/functions/call/built-in/built-in-quote.js +6 -5
- package/dataflow/internal/process/functions/call/built-in/built-in-repeat-loop.js +1 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-replacement.js +5 -6
- package/dataflow/internal/process/functions/call/built-in/built-in-rm.js +4 -4
- package/dataflow/internal/process/functions/call/built-in/built-in-s-four.js +7 -7
- package/dataflow/internal/process/functions/call/built-in/built-in-s-seven-new-generic.js +1 -2
- package/dataflow/internal/process/functions/call/built-in/built-in-s-three-dispatch.js +2 -3
- package/dataflow/internal/process/functions/call/built-in/built-in-source.d.ts +1 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-source.js +5 -7
- package/dataflow/internal/process/functions/call/built-in/built-in-stack-env.d.ts +1 -1
- package/dataflow/internal/process/functions/call/built-in/built-in-stack-env.js +4 -5
- package/dataflow/internal/process/functions/call/built-in/built-in-try-catch.js +8 -9
- package/dataflow/internal/process/functions/call/built-in/built-in-while-loop.js +4 -5
- package/dataflow/internal/process/functions/call/built-in/built-in-with.js +3 -3
- package/dataflow/internal/process/functions/call/built-in/transitive-side-effects.js +36 -38
- package/dataflow/internal/process/functions/call/common.d.ts +3 -1
- package/dataflow/internal/process/functions/call/common.js +6 -7
- package/dataflow/internal/process/functions/call/deferred.js +8 -8
- package/dataflow/internal/process/functions/call/known-call-handling.d.ts +11 -4
- package/dataflow/internal/process/functions/call/known-call-handling.js +11 -7
- package/dataflow/internal/process/functions/call/named-call-handling.js +64 -11
- package/dataflow/internal/process/functions/call/nse.js +4 -4
- package/dataflow/internal/process/functions/call/quoted.js +16 -14
- package/dataflow/internal/process/functions/call/unnamed-call-handling.js +2 -2
- package/dataflow/internal/process/functions/process-parameter.js +2 -2
- package/dataflow/internal/process/process-named-call.js +1 -1
- package/dataflow/origin/dfg-get-origin.js +2 -2
- package/dataflow/origin/dfg-get-symbol-refs.d.ts +1 -0
- package/dataflow/origin/dfg-get-symbol-refs.js +3 -8
- package/documentation/data/faq/wiki-faq-store.js +2 -2
- package/documentation/doc-capabilities.js +2 -1
- package/documentation/doc-util/doc-functions.js +2 -2
- package/documentation/doc-util/doc-repl.js +4 -4
- package/documentation/doc-util/doc-types.js +2 -2
- package/documentation/wiki-absint.js +2 -1
- package/documentation/wiki-cfg.js +2 -1
- package/documentation/wiki-create-linting-rules.js +1 -1
- package/documentation/wiki-dataflow-graph.js +6 -6
- package/documentation/wiki-interface.js +3 -2
- package/documentation/wiki-linter.js +54 -4
- package/documentation/wiki-mk/doc-maker.js +1 -2
- package/documentation/wiki-query.js +25 -0
- package/documentation/wiki-search.js +2 -1
- package/documentation/wiki-signature-database.js +0 -2
- package/linter/linter-executor.js +4 -0
- package/linter/linter-rules.d.ts +526 -4
- package/linter/linter-rules.js +39 -1
- package/linter/linter-tags.d.ts +6 -0
- package/linter/linter-tags.js +6 -0
- package/linter/rules/absolute-path.js +4 -3
- package/linter/rules/cmd-check/bogus-return.d.ts +29 -0
- package/linter/rules/cmd-check/bogus-return.js +63 -0
- package/linter/rules/cmd-check/call-arguments.d.ts +63 -0
- package/linter/rules/cmd-check/call-arguments.js +211 -0
- package/linter/rules/cmd-check/class-string-comparison.d.ts +48 -0
- package/linter/rules/cmd-check/class-string-comparison.js +135 -0
- package/linter/rules/cmd-check/cmd-check-util.d.ts +67 -0
- package/linter/rules/cmd-check/cmd-check-util.js +169 -0
- package/linter/rules/cmd-check/compiled-code.d.ts +86 -0
- package/linter/rules/cmd-check/compiled-code.js +350 -0
- package/linter/rules/cmd-check/conformance.d.ts +47 -0
- package/linter/rules/cmd-check/conformance.js +166 -0
- package/linter/rules/cmd-check/dependency-declaration.d.ts +95 -0
- package/linter/rules/cmd-check/dependency-declaration.js +299 -0
- package/linter/rules/cmd-check/description-metadata.d.ts +63 -0
- package/linter/rules/cmd-check/description-metadata.js +393 -0
- package/linter/rules/cmd-check/documentation-mismatch.d.ts +54 -0
- package/linter/rules/cmd-check/documentation-mismatch.js +407 -0
- package/linter/rules/cmd-check/file-checks.d.ts +29 -0
- package/linter/rules/cmd-check/file-checks.js +34 -0
- package/linter/rules/cmd-check/foreign-function-calls.d.ts +54 -0
- package/linter/rules/cmd-check/foreign-function-calls.js +115 -0
- package/linter/rules/cmd-check/global-environment-modification.d.ts +61 -0
- package/linter/rules/cmd-check/global-environment-modification.js +237 -0
- package/linter/rules/cmd-check/namespace-tampering.d.ts +52 -0
- package/linter/rules/cmd-check/namespace-tampering.js +162 -0
- package/linter/rules/cmd-check/non-ascii-code.d.ts +51 -0
- package/linter/rules/cmd-check/non-ascii-code.js +112 -0
- package/linter/rules/cmd-check/package-code.d.ts +30 -0
- package/linter/rules/cmd-check/package-code.js +141 -0
- package/linter/rules/cmd-check/package-data.d.ts +49 -0
- package/linter/rules/cmd-check/package-data.js +181 -0
- package/linter/rules/cmd-check/package-files.d.ts +41 -0
- package/linter/rules/cmd-check/package-files.js +157 -0
- package/linter/rules/cmd-check/package-hooks.d.ts +57 -0
- package/linter/rules/cmd-check/package-hooks.js +165 -0
- package/linter/rules/cmd-check/package-metafiles.d.ts +49 -0
- package/linter/rules/cmd-check/package-metafiles.js +292 -0
- package/linter/rules/cmd-check/package-runtime.d.ts +67 -0
- package/linter/rules/cmd-check/package-runtime.js +284 -0
- package/linter/rules/cmd-check/package-structure.d.ts +85 -0
- package/linter/rules/cmd-check/package-structure.js +320 -0
- package/linter/rules/cmd-check/rd-files.d.ts +67 -0
- package/linter/rules/cmd-check/rd-files.js +621 -0
- package/linter/rules/cmd-check/s-three-method-consistency.d.ts +72 -0
- package/linter/rules/cmd-check/s-three-method-consistency.js +206 -0
- package/linter/rules/cmd-check/true-false-abbreviation.d.ts +45 -0
- package/linter/rules/cmd-check/true-false-abbreviation.js +121 -0
- package/linter/rules/deprecated-functions.js +4 -4
- package/linter/rules/function-finder-util.d.ts +1 -1
- package/linter/rules/function-finder-util.js +1 -3
- package/linter/rules/naming-convention.d.ts +1 -1
- package/linter/rules/naming-convention.js +13 -14
- package/linter/rules/network-functions.d.ts +4 -3
- package/linter/rules/network-functions.js +14 -12
- package/linter/rules/no-leaked-credentials.d.ts +8 -3
- package/linter/rules/no-leaked-credentials.js +134 -36
- package/linter/rules/problematic-inputs.d.ts +1 -1
- package/linter/rules/problematic-inputs.js +21 -14
- package/linter/rules/seeded-randomness.js +5 -5
- package/linter/rules/software-has-license.d.ts +1 -1
- package/linter/rules/software-has-license.js +1 -1
- package/linter/rules/unclosed-connection.js +3 -3
- package/linter/rules/undefined-symbol-util.js +16 -32
- package/linter/rules/undefined-symbol.d.ts +2 -0
- package/linter/rules/undefined-symbol.js +33 -3
- package/linter/rules/unescaped-arguments.d.ts +13 -2
- package/linter/rules/unescaped-arguments.js +104 -15
- package/linter/rules/unused-definition.js +13 -19
- package/package.json +1 -1
- package/project/cache/flowr-analyzer-cache.js +1 -1
- package/project/context/flowr-analyzer-context.js +1 -1
- package/project/context/flowr-analyzer-environment-context.d.ts +1 -1
- package/project/context/flowr-analyzer-files-context.d.ts +6 -0
- package/project/context/flowr-analyzer-files-context.js +3 -0
- package/project/context/flowr-analyzer-incremental-analysis-context.d.ts +0 -2
- package/project/context/flowr-analyzer-incremental-analysis-context.js +0 -4
- package/project/context/flowr-file.d.ts +4 -0
- package/project/context/flowr-file.js +4 -0
- package/project/flowr-analyzer-builder.js +1 -1
- package/project/plugins/file-plugins/files/flowr-description-file.js +2 -2
- package/project/plugins/file-plugins/files/flowr-jupyter-file.d.ts +2 -0
- package/project/plugins/file-plugins/files/flowr-jupyter-file.js +4 -0
- package/project/plugins/file-plugins/files/flowr-manifest-files.d.ts +2 -0
- package/project/plugins/file-plugins/files/flowr-manifest-files.js +11 -14
- package/project/plugins/file-plugins/files/flowr-namespace-file.d.ts +3 -0
- package/project/plugins/file-plugins/files/flowr-namespace-file.js +25 -15
- package/project/plugins/file-plugins/files/flowr-rd-file.d.ts +44 -0
- package/project/plugins/file-plugins/files/flowr-rd-file.js +130 -61
- package/project/plugins/file-plugins/files/flowr-rda-file.d.ts +0 -1
- package/project/plugins/file-plugins/files/flowr-rda-file.js +4 -16
- package/project/plugins/file-plugins/files/flowr-rmarkdown-file.d.ts +2 -0
- package/project/plugins/file-plugins/files/flowr-rmarkdown-file.js +4 -0
- package/project/plugins/file-plugins/files/flowr-sweave-file.d.ts +2 -0
- package/project/plugins/file-plugins/files/flowr-sweave-file.js +4 -0
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-description-file-plugin.d.ts +0 -1
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-description-file-plugin.js +1 -5
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-lockfile-plugin.d.ts +2 -0
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-lockfile-plugin.js +2 -0
- package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-session-info-plugin.js +3 -7
- package/project/sigdb/build.js +16 -30
- package/project/sigdb/dict.d.ts +4 -6
- package/project/sigdb/dict.js +125 -31
- package/project/sigdb/reader.js +2 -18
- package/project/sigdb/sigdb-download.js +14 -23
- package/queries/base-query-format.d.ts +2 -0
- package/queries/base-query-format.js +10 -2
- package/queries/catalog/absint-query/absint-query-format.d.ts +1 -1
- package/queries/catalog/absint-query/absint-query-format.js +5 -7
- package/queries/catalog/call-context-query/call-context-query-executor.js +26 -33
- package/queries/catalog/call-context-query/call-context-query-format.d.ts +1 -1
- package/queries/catalog/call-context-query/call-context-query-format.js +1 -3
- package/queries/catalog/call-context-query/identify-link-to-last-call-relation.js +2 -4
- package/queries/catalog/call-context-query/identify-link-to-nested-call-relation.js +1 -4
- package/queries/catalog/call-graph-query/call-graph-query-format.js +2 -3
- package/queries/catalog/config-query/config-query-format.js +3 -3
- package/queries/catalog/dataflow-lens-query/dataflow-lens-query-format.js +2 -3
- package/queries/catalog/dataflow-query/dataflow-query-format.js +2 -3
- package/queries/catalog/dependencies-query/data-flow.d.ts +43 -0
- package/queries/catalog/dependencies-query/data-flow.js +173 -0
- package/queries/catalog/dependencies-query/dependencies-query-executor.d.ts +18 -0
- package/queries/catalog/dependencies-query/dependencies-query-executor.js +108 -12
- package/queries/catalog/dependencies-query/dependencies-query-format.d.ts +17 -1
- package/queries/catalog/dependencies-query/dependencies-query-format.js +14 -11
- package/queries/catalog/dependencies-query/function-info/derived-functions.js +2 -1
- package/queries/catalog/dependencies-query/function-info/function-info.d.ts +2 -0
- package/queries/catalog/dependencies-query/function-info/library-functions.js +13 -13
- package/queries/catalog/dependencies-query/function-info/read-functions.js +1 -1
- package/queries/catalog/dependencies-query/function-info/remote-functions.js +3 -3
- package/queries/catalog/dependencies-query/function-info/source-functions.js +2 -2
- package/queries/catalog/dependencies-query/function-info/test-functions.js +8 -8
- package/queries/catalog/dependencies-query/function-info/transform-functions.d.ts +8 -0
- package/queries/catalog/dependencies-query/function-info/transform-functions.js +17 -0
- package/queries/catalog/dependencies-query/function-info/write-functions.js +4 -0
- package/queries/catalog/dependencies-query/implicit-echo.d.ts +5 -3
- package/queries/catalog/dependencies-query/implicit-echo.js +33 -34
- package/queries/catalog/dependencies-query/link-devices.d.ts +3 -2
- package/queries/catalog/dependencies-query/link-devices.js +9 -6
- package/queries/catalog/dependencies-query/plot-description.d.ts +10 -0
- package/queries/catalog/dependencies-query/plot-description.js +119 -0
- package/queries/catalog/dependencies-query/plot-objects.d.ts +13 -0
- package/queries/catalog/dependencies-query/plot-objects.js +61 -0
- package/queries/catalog/dice-query/dice-query-format.d.ts +2 -2
- package/queries/catalog/dice-query/dice-query-format.js +3 -40
- package/queries/catalog/does-call-query/does-call-query-format.d.ts +1 -1
- package/queries/catalog/does-call-query/does-call-query-format.js +2 -2
- package/queries/catalog/function-info-query/function-info-query-format.js +2 -2
- package/queries/catalog/guess-dep-versions-query/guess-dep-versions-query-executor.js +2 -1
- package/queries/catalog/guess-dep-versions-query/guess-dep-versions-query-format.js +2 -2
- package/queries/catalog/happens-before-query/happens-before-query-format.js +2 -2
- package/queries/catalog/id-map-query/id-map-query-format.js +1 -3
- package/queries/catalog/input-sources-query/input-source-functions.d.ts +6 -4
- package/queries/catalog/input-sources-query/input-source-functions.js +11 -6
- package/queries/catalog/input-sources-query/input-sources-query-executor.js +3 -3
- package/queries/catalog/input-sources-query/input-sources-query-format.d.ts +1 -1
- package/queries/catalog/input-sources-query/input-sources-query-format.js +11 -5
- package/queries/catalog/input-sources-query/simple-input-classifier.d.ts +12 -4
- package/queries/catalog/input-sources-query/simple-input-classifier.js +237 -40
- package/queries/catalog/inspect-exceptions-query/inspect-exception-query-format.js +4 -7
- package/queries/catalog/inspect-fn-props-query/inspect-fn-props-query-executor.js +1 -1
- package/queries/catalog/inspect-fn-props-query/inspect-fn-props-query-format.js +3 -2
- package/queries/catalog/inspect-recursion-query/inspect-recursion-query-executor.js +2 -2
- package/queries/catalog/linter-query/linter-query-executor.js +10 -3
- package/queries/catalog/linter-query/linter-query-format.d.ts +4 -1
- package/queries/catalog/linter-query/linter-query-format.js +32 -21
- package/queries/catalog/location-map-query/location-map-query-format.d.ts +1 -1
- package/queries/catalog/location-map-query/location-map-query-format.js +1 -3
- package/queries/catalog/normalized-ast-query/normalized-ast-query-format.js +2 -3
- package/queries/catalog/origin-query/origin-query-executor.d.ts +1 -1
- package/queries/catalog/origin-query/origin-query-executor.js +3 -3
- package/queries/catalog/origin-query/origin-query-format.d.ts +1 -1
- package/queries/catalog/origin-query/origin-query-format.js +4 -5
- package/queries/catalog/project-query/project-query-format.js +2 -2
- package/queries/catalog/provenance-query/provenance-query-format.js +2 -3
- package/queries/catalog/resolve-value-query/resolve-value-query-format.d.ts +1 -1
- package/queries/catalog/resolve-value-query/resolve-value-query-format.js +4 -4
- package/queries/catalog/search-query/search-query-format.js +1 -3
- package/queries/catalog/signature-query/signature-query-executor.js +3 -3
- package/queries/catalog/signature-query/signature-query-format.js +2 -2
- package/queries/catalog/slice-query-options.d.ts +16 -0
- package/queries/catalog/slice-query-options.js +28 -0
- package/queries/catalog/static-slice-query/static-slice-query-format.d.ts +2 -2
- package/queries/catalog/static-slice-query/static-slice-query-format.js +3 -42
- package/queries/query-print.d.ts +4 -0
- package/queries/query-print.js +17 -1
- package/queries/query.d.ts +3 -3
- package/queries/query.js +3 -4
- package/r-bridge/lang-4.x/ast/model/model.d.ts +27 -3
- package/r-bridge/lang-4.x/ast/model/model.js +28 -1
- package/r-bridge/lang-4.x/ast/model/nodes/info/r-delimiter.d.ts +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/info/r-delimiter.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-access.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-access.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-argument.d.ts +20 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-argument.js +25 -1
- package/r-bridge/lang-4.x/ast/model/nodes/r-binary-op.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-binary-op.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-break.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-break.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-comment.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-comment.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-expression-list.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-expression-list.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-for-loop.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-for-loop.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-function-call.d.ts +18 -2
- package/r-bridge/lang-4.x/ast/model/nodes/r-function-call.js +15 -6
- package/r-bridge/lang-4.x/ast/model/nodes/r-function-definition.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-function-definition.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-if-then-else.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-if-then-else.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-line-directive.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-line-directive.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-logical.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-logical.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-next.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-next.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-number.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-number.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-parameter.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-parameter.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-pipe.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-pipe.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-repeat-loop.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-repeat-loop.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-string.d.ts +17 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-string.js +20 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-symbol.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-symbol.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-unary-op.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-unary-op.js +1 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-while-loop.d.ts +2 -0
- package/r-bridge/lang-4.x/ast/model/nodes/r-while-loop.js +1 -0
- package/r-bridge/lang-4.x/ast/model/operators.js +0 -2
- package/r-bridge/lang-4.x/ast/model/processing/decorate.js +1 -6
- package/r-bridge/lang-4.x/ast/model/processing/fold.js +1 -6
- package/r-bridge/lang-4.x/ast/model/processing/node-id.js +4 -3
- package/r-bridge/lang-4.x/ast/parser/json/format.js +2 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/control/normalize-if-then.js +1 -5
- package/r-bridge/lang-4.x/ast/parser/main/internal/functions/normalize-argument.js +2 -2
- package/r-bridge/lang-4.x/ast/parser/main/internal/functions/normalize-call.js +4 -20
- package/r-bridge/lang-4.x/ast/parser/main/internal/functions/normalize-definition.js +1 -5
- package/r-bridge/lang-4.x/ast/parser/main/internal/loops/normalize-next.js +1 -5
- package/r-bridge/lang-4.x/ast/parser/main/internal/loops/normalize-repeat.js +1 -5
- package/r-bridge/lang-4.x/ast/parser/main/internal/loops/normalize-while.js +2 -9
- package/r-bridge/lang-4.x/ast/parser/main/internal/normalize-access.js +1 -5
- package/r-bridge/lang-4.x/ast/parser/main/internal/operators/normalize-binary.js +2 -10
- package/r-bridge/lang-4.x/ast/parser/main/internal/operators/normalize-unary.js +2 -11
- package/r-bridge/lang-4.x/ast/parser/main/internal/structure/normalize-expressions.js +3 -11
- package/r-bridge/lang-4.x/ast/parser/main/internal/values/normalize-number.js +1 -5
- package/r-bridge/lang-4.x/ast/parser/main/internal/values/normalize-string.js +1 -5
- package/r-bridge/lang-4.x/ast/parser/main/internal/values/normalize-symbol.js +1 -5
- package/r-bridge/lang-4.x/ast/parser/main/normalize-meta.d.ts +6 -1
- package/r-bridge/lang-4.x/ast/parser/main/normalize-meta.js +7 -0
- package/r-bridge/lang-4.x/tree-sitter/tree-sitter-normalize.d.ts +0 -10
- package/r-bridge/lang-4.x/tree-sitter/tree-sitter-normalize.js +30 -82
- package/r-bridge/retriever.d.ts +0 -4
- package/r-bridge/retriever.js +0 -13
- package/r-bridge/roxygen2/documentation-provider.js +3 -7
- package/r-bridge/shell.js +3 -8
- package/reconstruct/auto-select/magic-comments.js +8 -7
- package/reconstruct/inline/source-inline-map.d.ts +3 -0
- package/reconstruct/inline/source-inline-map.js +8 -7
- package/reconstruct/reconstruct.d.ts +1 -1
- package/reconstruct/reconstruct.js +33 -109
- package/search/flowr-search-printer.js +4 -15
- package/search/search-executor/search-enrichers.js +5 -3
- package/search/search-executor/search-generators.js +1 -1
- package/slicing/criterion/filters/all-variables.js +1 -2
- package/slicing/static/fingerprint.js +11 -2
- package/slicing/static/slice-call.d.ts +2 -8
- package/slicing/static/slice-call.js +8 -18
- package/slicing/static/static-slicer.js +81 -6
- package/util/collections/arrays.js +1 -1
- package/util/collections/set.js +1 -1
- package/util/diff-graph.d.ts +4 -0
- package/util/diff-graph.js +12 -0
- package/util/files.js +2 -6
- package/util/json.js +1 -15
- package/util/mermaid/cfg.js +10 -17
- package/util/mermaid/dfg.js +6 -8
- package/util/objects.d.ts +1 -1
- package/util/quads.js +4 -13
- package/util/r-author.js +5 -5
- package/util/range.d.ts +9 -0
- package/util/range.js +11 -0
- package/util/schema.js +3 -3
- package/util/simple-df/dfg-view.js +2 -1
- package/util/text/ansi.js +1 -2
- package/util/text/playground-link.js +2 -1
- package/util/text/r-highlight.js +2 -1
- package/util/text/strings.d.ts +2 -0
- package/util/text/strings.js +5 -0
- package/util/text/time.js +1 -2
- package/util/version.js +4 -3
- package/dataflow/fn/recursive-function.d.ts +0 -6
- package/dataflow/fn/recursive-function.js +0 -32
- package/dataflow/internal/process/functions/call/argument/unpack-argument.d.ts +0 -16
- package/dataflow/internal/process/functions/call/argument/unpack-argument.js +0 -27
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DefaultBuiltinConfig = exports.WrittenBuiltinDefinitions = exports.BasePrimitiveTopics = exports.GgPlotAddons = exports.GraphicsPlotAddons = exports.PlotFunctionsWithAddParam = exports.GgPlotImplicitAddons = exports.TinyPlotAddons = exports.PlotCreate = exports.GraphicsPlotCreate = exports.TinyPlotCrate = exports.GgPlotCreate = exports.PlotFunctionPackages = exports.StackEnvBuiltins = exports.StackEnvKind = void 0;
|
|
3
|
+
exports.DefaultBuiltinConfig = exports.WrittenBuiltinDefinitions = exports.LinkToLastGgPlot = exports.BasePrimitiveTopics = exports.GgPlotAddons = exports.GraphicsPlotAddons = exports.PlotFunctionsWithAddParam = exports.GgPlotImplicitAddons = exports.TinyPlotAddons = exports.PlotObjectCreate = exports.PlotCreate = exports.GraphicsPlotCreate = exports.TinyPlotCrate = exports.GgPlotCreate = exports.PlotFunctionPackages = exports.StackEnvBuiltins = exports.StackEnvKind = void 0;
|
|
4
4
|
exports.plotFunctionOwners = plotFunctionOwners;
|
|
5
5
|
exports.namespacePlotFunctions = namespacePlotFunctions;
|
|
6
6
|
exports.statedSignatures = statedSignatures;
|
|
@@ -71,9 +71,9 @@ exports.PlotFunctionPackages = {
|
|
|
71
71
|
ggcorrplot: ['ggcorrplot'],
|
|
72
72
|
ggdendro: ['ggdendrogram'],
|
|
73
73
|
ggmap: ['qmap'],
|
|
74
|
-
ggplot2: ['annotate', 'annotation_custom', 'annotation_logticks', 'annotation_map', 'annotation_raster', 'autoplot',
|
|
74
|
+
ggplot2: ['annotate', 'annotation_borders', 'annotation_custom', 'annotation_logticks', 'annotation_map', 'annotation_raster', 'autoplot',
|
|
75
75
|
'borders', 'coord_cartesian', 'coord_equal', 'coord_fixed', 'coord_flip', 'coord_map', 'coord_munch',
|
|
76
|
-
'coord_polar', 'coord_quickmap', 'coord_radial', 'coord_sf', 'coord_trans', 'expand_limits', 'expand_scale',
|
|
76
|
+
'coord_polar', 'coord_quickmap', 'coord_radial', 'coord_sf', 'coord_trans', 'coord_transform', 'expand_limits', 'expand_scale',
|
|
77
77
|
'expansion', 'facet_grid', 'facet_null', 'facet_wrap', 'geom_abline', 'geom_area', 'geom_bar', 'geom_bin2d',
|
|
78
78
|
'geom_bin_2d', 'geom_blank', 'geom_boxplot', 'geom_col', 'geom_contour', 'geom_contour_filled', 'geom_count',
|
|
79
79
|
'geom_crossbar', 'geom_curve', 'geom_density', 'geom_density2d', 'geom_density2d_filled', 'geom_density_2d',
|
|
@@ -82,7 +82,7 @@ exports.PlotFunctionPackages = {
|
|
|
82
82
|
'geom_map', 'geom_path', 'geom_point', 'geom_pointrange', 'geom_polygon', 'geom_qq', 'geom_qq_line',
|
|
83
83
|
'geom_quantile', 'geom_raster', 'geom_rect', 'geom_ribbon', 'geom_rug', 'geom_segment', 'geom_sf',
|
|
84
84
|
'geom_sf_label', 'geom_sf_text', 'geom_smooth', 'geom_spoke', 'geom_step', 'geom_text', 'geom_tile',
|
|
85
|
-
'geom_violin', 'geom_vline', 'ggplot', 'ggtitle', 'guides', 'labs', 'last_plot', 'qplot', 'quickplot',
|
|
85
|
+
'geom_violin', 'geom_vline', 'ggplot', 'ggtitle', 'guides', 'labs', 'last_plot', 'lims', 'qplot', 'quickplot',
|
|
86
86
|
'scale_alpha', 'scale_alpha_binned', 'scale_alpha_continuous', 'scale_alpha_date', 'scale_alpha_datetime',
|
|
87
87
|
'scale_alpha_discrete', 'scale_alpha_identity', 'scale_alpha_manual', 'scale_alpha_ordinal',
|
|
88
88
|
'scale_color_binned', 'scale_color_brewer', 'scale_color_continuous', 'scale_color_date',
|
|
@@ -112,13 +112,13 @@ exports.PlotFunctionPackages = {
|
|
|
112
112
|
'scale_x_datetime', 'scale_x_discrete', 'scale_x_log10', 'scale_x_reverse', 'scale_x_sqrt', 'scale_x_time',
|
|
113
113
|
'scale_y_binned', 'scale_y_continuous', 'scale_y_date', 'scale_y_datetime', 'scale_y_discrete', 'scale_y_log10',
|
|
114
114
|
'scale_y_reverse', 'scale_y_sqrt', 'scale_y_time', 'stat_align', 'stat_bin', 'stat_bin2d', 'stat_bin_2d',
|
|
115
|
-
'stat_bin_hex', 'stat_binhex', 'stat_boxplot', 'stat_contour', 'stat_contour_filled', 'stat_count',
|
|
115
|
+
'stat_bin_hex', 'stat_binhex', 'stat_boxplot', 'stat_connect', 'stat_contour', 'stat_contour_filled', 'stat_count',
|
|
116
116
|
'stat_density', 'stat_density2d', 'stat_density2d_filled', 'stat_density_2d', 'stat_density_2d_filled',
|
|
117
|
-
'stat_ecdf', 'stat_ellipse', 'stat_function', 'stat_identity', 'stat_qq', 'stat_qq_line', 'stat_quantile',
|
|
117
|
+
'stat_ecdf', 'stat_ellipse', 'stat_function', 'stat_identity', 'stat_manual', 'stat_qq', 'stat_qq_line', 'stat_quantile',
|
|
118
118
|
'stat_sf', 'stat_sf_coordinates', 'stat_smooth', 'stat_spoke', 'stat_sum', 'stat_summary', 'stat_summary2d',
|
|
119
119
|
'stat_summary_2d', 'stat_summary_bin', 'stat_summary_hex', 'stat_unique', 'stat_ydensity', 'theme', 'theme_bw',
|
|
120
120
|
'theme_classic', 'theme_dark', 'theme_get', 'theme_gray', 'theme_grey', 'theme_light', 'theme_linedraw',
|
|
121
|
-
'theme_minimal', 'theme_replace', 'theme_test', 'theme_update', 'theme_void', 'xlab', 'xlim', 'ylab', 'ylim'],
|
|
121
|
+
'theme_minimal', 'theme_replace', 'theme_sub_axis', 'theme_sub_axis_bottom', 'theme_sub_axis_left', 'theme_sub_axis_right', 'theme_sub_axis_top', 'theme_sub_axis_x', 'theme_sub_axis_y', 'theme_sub_legend', 'theme_sub_panel', 'theme_sub_plot', 'theme_sub_strip', 'theme_test', 'theme_update', 'theme_void', 'xlab', 'xlim', 'ylab', 'ylim'],
|
|
122
122
|
ggpubr: ['gradient_color'],
|
|
123
123
|
ggthemes: ['scale_color_calc', 'scale_color_canva', 'scale_color_colorblind', 'scale_color_continuous_tableau',
|
|
124
124
|
'scale_color_economist', 'scale_color_excel', 'scale_color_excel_new', 'scale_color_few',
|
|
@@ -195,13 +195,17 @@ exports.TinyPlotCrate = [
|
|
|
195
195
|
'tinyplot', 'plt'
|
|
196
196
|
];
|
|
197
197
|
exports.GraphicsPlotCreate = [
|
|
198
|
-
'plot', 'plot.new', 'xspline', 'map', 'curve', 'image', 'boxplot', 'dotchart', 'sunflowerplot', 'barplot', 'matplot', 'hist',
|
|
199
|
-
'
|
|
198
|
+
'plot', 'plot.new', 'xspline', 'map', 'curve', 'image', 'boxplot', 'dotchart', 'sunflowerplot', 'barplot', 'matplot', 'hist',
|
|
199
|
+
'smoothScatter', 'contour', 'persp', 'xyplot', 'stripplot', 'bwplot', 'dotPlot', 'dotplot', 'histPlot', 'densityPlot', 'qqplot', 'qqPlot', 'boxPlot',
|
|
200
200
|
'bxp', 'assocplot', 'mosaicplot', 'stripchart', 'fourfoldplot', 'plot.xy', 'plot.formula', 'plot.default', 'plot.design', 'stars', 'cotabplot', 'pheatmap',
|
|
201
201
|
'spineplot', 'regressogram', 'bootcurve', 'meanplot', 'vioplot', 'pairs', 'coplot', 'histogram', 'splom', 'leaflet', 'tm_shape', 'plot_ly', 'plotSimulatedResiduals', 'plotmeans',
|
|
202
202
|
'overplot', 'residplot', 'heatmap.2', 'lmplot2', 'sinkplot', 'textplot', 'boxplot2',
|
|
203
203
|
];
|
|
204
204
|
exports.PlotCreate = exports.GraphicsPlotCreate.concat(exports.TinyPlotCrate, exports.GgPlotCreate);
|
|
205
|
+
/** the creators above that, other than base graphics, return their plot visibly instead of drawing it at once */
|
|
206
|
+
const VisiblePlotCreate = new Set(['xyplot', 'stripplot', 'bwplot', 'dotplot', 'histogram', 'splom', 'leaflet', 'plot_ly', 'tm_shape']);
|
|
207
|
+
/** the plot creators that return the plot to draw when printed, where base graphics draw at once and return something else */
|
|
208
|
+
exports.PlotObjectCreate = new Set([...exports.GgPlotCreate.filter(f => f !== 'grid.arrange'), 'last_plot', ...VisiblePlotCreate, 'pheatmap']);
|
|
205
209
|
const GraphicDeviceOpen = [
|
|
206
210
|
'pdf', 'jpeg', 'png', 'windows', 'postscript', 'xfig', 'bitmap', 'pictex', 'cairo_pdf', 'svg', 'bmp', 'tiff', 'X11', 'quartz', 'image_graph',
|
|
207
211
|
'image_draw', 'dev.new', 'trellis.device', 'raster_pdf',
|
|
@@ -220,9 +224,10 @@ exports.GgPlotImplicitAddons = [
|
|
|
220
224
|
'geom_encircle', 'stat_count', 'stat_density', 'stat_bin_hex', 'stat_bin_2d', 'stat_summary_bin', 'stat_identity', 'stat_qq', 'stat_binhex', 'stat_boxplot', 'stat_function',
|
|
221
225
|
'stat_align', 'stat_contour_filled', 'stat_summary_2d', 'stat_qq_line', 'stat_contour', 'stat_ydensity', 'stat_summary_hex', 'stat_summary2d', 'stat_sf_coordinates',
|
|
222
226
|
'stat_density_2d_filled', 'stat_smooth', 'stat_density2d', 'stat_ecdf', 'stat_sf', 'stat_quantile', 'stat_unique', 'stat_density_2d', 'stat_ellipse', 'stat_summary',
|
|
223
|
-
'stat_density2d_filled', 'stat_bin', 'stat_sum', 'stat_spoke', 'stat_bin2d',
|
|
227
|
+
'stat_density2d_filled', 'stat_bin', 'stat_sum', 'stat_spoke', 'stat_bin2d', 'stat_connect', 'stat_manual',
|
|
224
228
|
'labs', 'theme_void', 'theme_test', 'theme_minimal', 'theme_light', 'theme', 'theme_get', 'theme_gray', 'theme_dark', 'theme_classic', 'theme_linedraw', 'theme_update',
|
|
225
|
-
'theme_replace', 'theme_grey', 'theme_bw', 'theme_tufte', 'theme_survminer', '
|
|
229
|
+
'theme_replace', 'theme_grey', 'theme_bw', 'theme_tufte', 'theme_survminer', 'theme_sub_axis', 'theme_sub_axis_bottom', 'theme_sub_axis_left', 'theme_sub_axis_right', 'theme_sub_axis_top',
|
|
230
|
+
'theme_sub_axis_x', 'theme_sub_axis_y', 'theme_sub_legend', 'theme_sub_panel', 'theme_sub_plot', 'theme_sub_strip', 'facet_null', 'facet_grid', 'facet_wrap', 'xlab', 'xlim', 'ylab', 'ylim', 'lims',
|
|
226
231
|
'scale_linewidth_ordinal', 'scale_fill_steps', 'scale_color_gradient2', 'scale_size_manual', 'scale_colour_discrete', 'scale_color_identity',
|
|
227
232
|
'scale_fill_fermenter', 'scale_alpha_manual', 'scale_fill_gradient', 'scale_size_date', 'scale_fill_viridis_b', 'scale_x_time', 'scale_linetype_manual',
|
|
228
233
|
'scale_alpha_binned', 'scale_color_grey', 'scale_colour_gradient', 'scale_linewidth_date', 'scale_color_steps2', 'scale_color_viridis_b', 'scale_size_binned',
|
|
@@ -241,8 +246,8 @@ exports.GgPlotImplicitAddons = [
|
|
|
241
246
|
'scale_linetype_binned', 'scale_size_binned_area', 'scale_y_date', 'scale_x_binned', 'scale_shape_discrete', 'scale_colour_brewer', 'scale_x_date', 'scale_discrete_identity',
|
|
242
247
|
'scale_alpha', 'scale_fill_steps2', 'scale_color_brewer', 'scale_fill_datetime', 'scale_shape_manual', 'scale_colour_continuous', 'scale_alpha_ordinal', 'scale_linewidth', 'scale_x_sqrt',
|
|
243
248
|
'scale_fill_stepsn', 'scale_radius', 'rotateTextX', 'removeGridX', 'removeGridY', 'removeGrid',
|
|
244
|
-
'coord_trans', 'coord_sf', 'coord_cartesian', 'coord_fixed', 'coord_flip', 'coord_quickmap', 'coord_equal', 'coord_map', 'coord_polar', 'coord_munch', 'coord_radial',
|
|
245
|
-
'annotate', 'annotation_custom', 'annotation_raster', 'annotation_map', 'annotation_logticks', 'borders', 'ggtitle', 'expansion', 'expand_limits', 'expand_scale', 'guides',
|
|
249
|
+
'coord_trans', 'coord_transform', 'coord_sf', 'coord_cartesian', 'coord_fixed', 'coord_flip', 'coord_quickmap', 'coord_equal', 'coord_map', 'coord_polar', 'coord_munch', 'coord_radial',
|
|
250
|
+
'annotate', 'annotation_custom', 'annotation_raster', 'annotation_map', 'annotation_logticks', 'borders', 'annotation_borders', 'ggtitle', 'expansion', 'expand_limits', 'expand_scale', 'guides',
|
|
246
251
|
'theme_solid', 'theme_hc', 'theme_excel_new', 'theme_few', 'theme_clean', 'theme_wsj', 'theme_calc', 'theme_par', 'theme_igray', 'theme_solarized_2', 'theme_excel',
|
|
247
252
|
'theme_economist', 'theme_stata', 'theme_map', 'theme_fivethirtyeight', 'theme_economist_white', 'theme_base', 'theme_foundation', 'theme_gdocs', 'theme_pander', 'theme_solarized',
|
|
248
253
|
'scale_shape_tableau', 'scale_fill_pander', 'scale_shape_few', 'scale_colour_excel_new', 'scale_colour_hc', 'scale_fill_ptol', 'scale_fill_gradient2_tableau', 'scale_shape_calc', 'scale_fill_stata',
|
|
@@ -282,6 +287,18 @@ const SigDataDots = [['.data', built_in_props_1.ArgProp.Value], ['...', built_in
|
|
|
282
287
|
const SigShape = [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Shape]];
|
|
283
288
|
const SigXTable = [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['table', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]];
|
|
284
289
|
const SigDots = [['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]];
|
|
290
|
+
/* data.table's `set*` functions change their first argument in place */
|
|
291
|
+
const DataTableSetter = { canBeReplacement: false, targetVariable: false, makeMaybe: true, mayHaveMoreArgs: true, readTarget: true, props: built_in_props_1.CallProp.Invisible, sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Written | built_in_props_1.ArgProp.Alias], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] };
|
|
292
|
+
/* the calls that reshape, filter, join or aggregate data and are not data-masking, each under the package that declares it, so `stats::filter` is none */
|
|
293
|
+
const OtherTransforms = [
|
|
294
|
+
...identifier_1.Identifier.fromAll("dplyr" /* PkgName.Dplyr */, ['ungroup', 'left_join', 'right_join', 'inner_join', 'full_join', 'semi_join', 'anti_join', 'nest_join', 'cross_join', 'bind_rows', 'bind_cols',
|
|
295
|
+
...['mutate', 'transmute', 'filter', 'select', 'rename', 'arrange', 'summarise', 'summarize', 'group_by', 'distinct'].flatMap(verb => ['all', 'at', 'if'].map(scope => `${verb}_${scope}`))]),
|
|
296
|
+
...identifier_1.Identifier.fromAll("data.table" /* PkgName.DataTable */, ['setDT', 'as.data.table', 'setorder', 'setorderv', 'setcolorder', 'melt', 'dcast', 'rbindlist', 'merge.data.table']),
|
|
297
|
+
...identifier_1.Identifier.fromAll("tibble" /* PkgName.Tibble */, ['add_column', 'add_row']),
|
|
298
|
+
identifier_1.Identifier.from(['merge', "base" /* PkgName.Base */]), ...identifier_1.Identifier.fromAll("stats" /* PkgName.Stats */, ['aggregate', 'reshape'])
|
|
299
|
+
];
|
|
300
|
+
/* `with(data, expr)`: `expr` is evaluated in the data */
|
|
301
|
+
const WithSig = [['data', built_in_props_1.ArgProp.NoDefault | built_in_props_1.ArgProp.Written], ['expr', built_in_props_1.ArgProp.NoDefault], ['...', 0]];
|
|
285
302
|
/**
|
|
286
303
|
* The manual page documenting a base R primitive, for the ones not documented under their own name (a primitive
|
|
287
304
|
* is written in C, so no signature/source/help-topic extractor sees it; `sin` is documented under `Trig`).
|
|
@@ -379,6 +396,11 @@ function closesActiveDevice(target) {
|
|
|
379
396
|
const name = identifier_1.Identifier.getName(target.name);
|
|
380
397
|
return name === 'graphics.off' || (name === 'dev.off' && target.args.length === 0);
|
|
381
398
|
}
|
|
399
|
+
/** what ggplot's `last_plot()` is: the last ggplot created or added to */
|
|
400
|
+
exports.LinkToLastGgPlot = {
|
|
401
|
+
type: 'link-to-last-call',
|
|
402
|
+
callName: toRegex(exports.GgPlotCreate.concat(exports.GgPlotImplicitAddons, exports.GgPlotAddons))
|
|
403
|
+
};
|
|
382
404
|
/** what closing or exporting a device links back to: the plot calls that filled it */
|
|
383
405
|
const LinkToLastPlot = {
|
|
384
406
|
type: 'link-to-last-call',
|
|
@@ -539,9 +561,10 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
539
561
|
while this one still states what cohortBuilder's does */
|
|
540
562
|
{ type: 'function', names: [identifier_1.Identifier.from(['filter', "cohortBuilder" /* PkgName.CohortBuilder */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.Pure, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
541
563
|
/* data-masking: the non-data arguments name columns of the (first) data object, not variables */
|
|
542
|
-
{ type: 'function', names: data_masking_functions_1.DataMaskingFunctionIdentifiers, processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure }, assumePrimitive: false },
|
|
564
|
+
{ type: 'function', names: data_masking_functions_1.DataMaskingFunctionIdentifiers, processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms] }, assumePrimitive: false },
|
|
543
565
|
/* slice_sample draws rows at random; registered after the block above, so this definition is the one that sticks */
|
|
544
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['slice_sample', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, ambient: { type: "draw-rng" /* AmbientStateAccessType.DrawRng */ }, tags: [built_in_props_1.SemanticCallTag.Random] }, assumePrimitive: false },
|
|
566
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['slice_sample', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, ambient: { type: "draw-rng" /* AmbientStateAccessType.DrawRng */ }, tags: [built_in_props_1.SemanticCallTag.Random, built_in_props_1.SemanticCallTag.Transforms] }, assumePrimitive: false },
|
|
567
|
+
{ type: 'function', names: OtherTransforms, processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Transforms] }, assumePrimitive: false },
|
|
545
568
|
/* data-masking without a data argument, e.g. `aes(x, y)` */
|
|
546
569
|
{ type: 'function', names: [...identifier_1.Identifier.fromAll("ggplot2" /* PkgName.GgPlot2 */, ['aes', 'vars']), identifier_1.Identifier.from(['join_by', "dplyr" /* PkgName.Dplyr */]), ...identifier_1.Identifier.fromAllIn(["tibble" /* PkgName.Tibble */, "dplyr" /* PkgName.Dplyr */, "tidyr" /* PkgName.TidyR */], ['tibble', 'tribble'])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { markArgsAsMasked: known_call_handling_1.NseArguments.All }, assumePrimitive: false },
|
|
547
570
|
/* an {@link BuiltInEvalName} marks what the value solver folds; a test checks the names against the handler tables */
|
|
@@ -563,7 +586,8 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
563
586
|
/* `hasArg(x)` is `missing()` asked the other way round: it too only looks at whether an argument was supplied */
|
|
564
587
|
{ type: 'function', names: [identifier_1.Identifier.from(['hasArg', "methods" /* PkgName.Methods */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['name', built_in_props_1.ArgProp.Presence]] }, assumePrimitive: true },
|
|
565
588
|
/* they fold everything they are handed into one result */
|
|
566
|
-
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['sum', 'prod', 'min', 'max', 'range', 'pmin', 'pmax', '
|
|
589
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['sum', 'prod', 'min', 'max', 'range', 'pmin', 'pmax', 'data.frame', 'order', 'any']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: SigDots }, assumePrimitive: true },
|
|
590
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['cbind', 'rbind']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: SigDots }, assumePrimitive: true },
|
|
567
591
|
/* the separator sits behind the `...`, so R (and the {@link FnSig}) only ever matches it by its full name */
|
|
568
592
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['paste', 'paste0']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['sep', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true, evalHandler: built_in_eval_name_1.BuiltInEvalName.StringFn },
|
|
569
593
|
{ type: 'function', names: [identifier_1.Identifier.from(['file.path', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['fsep', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true, evalHandler: built_in_eval_name_1.BuiltInEvalName.StringFn },
|
|
@@ -579,9 +603,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
579
603
|
/* running summaries & reordering */
|
|
580
604
|
'cumsum', 'cumprod', 'cummax', 'cummin', 'diff', 'sort', 'rev', 'unique', 'duplicated', 't',
|
|
581
605
|
/* coercion */
|
|
582
|
-
'as.character', 'as.
|
|
583
|
-
'as.factor', 'as.raw', 'as.list', 'as.array', 'as.double', 'as.complex', 'factor',
|
|
584
|
-
'as.single', 'as.ordered'
|
|
606
|
+
'as.character', 'as.matrix', 'as.data.frame', 'as.factor', 'as.raw', 'as.list', 'as.array', 'factor', 'as.ordered'
|
|
585
607
|
]),
|
|
586
608
|
...identifier_1.Identifier.fromAll("utils" /* PkgName.Utils */, ['head', 'tail']),
|
|
587
609
|
...identifier_1.Identifier.fromAll("stats" /* PkgName.Stats */, ['var', 'sd', 'median', 'quantile']),
|
|
@@ -590,6 +612,8 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
590
612
|
config: { props: built_in_props_1.CallProp.Pure, sig: SigXDots },
|
|
591
613
|
assumePrimitive: true
|
|
592
614
|
},
|
|
615
|
+
/* a number or a logical carries none of the text it was converted from */
|
|
616
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['as.integer', 'as.logical', 'as.numeric', 'as.double', 'as.complex', 'as.single']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Narrows], sig: SigXDots }, assumePrimitive: true },
|
|
593
617
|
/* they read the values but answer only with a logical, so nothing those values carry reaches the result */
|
|
594
618
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['is.na', 'nzchar', 'is.finite', 'is.infinite', 'is.nan']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Narrows], sig: SigX }, assumePrimitive: true },
|
|
595
619
|
/* the numeric functions the value solver folds; each one is an entry of `NumericFns`, which states its parameters */
|
|
@@ -605,7 +629,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
605
629
|
{ type: 'function', names: [identifier_1.Identifier.from(['mat.or.vec', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['nr', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['nc', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
606
630
|
{ type: 'function', names: [identifier_1.Identifier.from(['as.vector', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['mode', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: true },
|
|
607
631
|
{ type: 'function', names: [identifier_1.Identifier.from(['rep_len', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['length.out', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
608
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['na.omit', "stats" /* PkgName.Stats */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['object', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
632
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['na.omit', "stats" /* PkgName.Stats */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [['object', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
609
633
|
/* two data arguments, under the names R gives them */
|
|
610
634
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['xor', 'crossprod', 'tcrossprod', 'intersect', 'union', 'setdiff']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: SigXY }, assumePrimitive: true },
|
|
611
635
|
/* they answer with a position or a logical, never with what they matched */
|
|
@@ -629,7 +653,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
629
653
|
'matrix', 'array', 'table', 'prop.table', 'colSums', 'rowSums', 'colMeans', 'rowMeans',
|
|
630
654
|
'solve', 'det', 'eigen', 'aperm',
|
|
631
655
|
/* string */
|
|
632
|
-
'grep', 'sub', 'gsub', 'substr', 'substring', 'strsplit', 'strrep', 'chartr', 'strtoi',
|
|
656
|
+
'grep', 'sub', 'gsub', 'substr', 'substring', 'strsplit', 'strrep', 'chartr', 'strtoi', 'shQuote',
|
|
633
657
|
'regexpr', 'gregexpr', 'regexec', 'format', 'sprintf', 'formatC',
|
|
634
658
|
/* regmatches yields a substring of its subject, so what flows in flows out */
|
|
635
659
|
'regmatches'
|
|
@@ -650,14 +674,23 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
650
674
|
{ type: 'function', names: [...identifier_1.Identifier.fromAll("grDevices" /* PkgName.GrDevices */, ['png', 'jpeg', 'bmp', 'tiff', 'svg', 'cairo_pdf']), identifier_1.Identifier.from(['raster_pdf', "rasterpdf" /* PkgName.RasterPdf */]), ...identifier_1.Identifier.fromAll("ragg" /* PkgName.Ragg */, ['agg_png', 'agg_jpeg', 'agg_tiff', 'agg_ppm', 'agg_webp'])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { ambient: OpenDevice, props: built_in_props_1.CallProp.Invisible | built_in_props_1.CallProp.Configures, tags: [built_in_props_1.SemanticCallTag.Graphics, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['filename', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['width', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['height', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
651
675
|
{ type: 'function', names: identifier_1.Identifier.fromAll("grDevices" /* PkgName.GrDevices */, ['pdf', 'postscript', 'xfig', 'bitmap', 'pictex']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { ambient: OpenDevice, props: built_in_props_1.CallProp.Invisible | built_in_props_1.CallProp.Configures, tags: [built_in_props_1.SemanticCallTag.Graphics, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['type', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['height', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['width', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
652
676
|
/* devices that draw on the screen or into memory instead */
|
|
653
|
-
{ type: 'function', names: [...identifier_1.Identifier.fromAll("grDevices" /* PkgName.GrDevices */, ['
|
|
677
|
+
{ type: 'function', names: [...identifier_1.Identifier.fromAll("grDevices" /* PkgName.GrDevices */, ['dev.new']), identifier_1.Identifier.from(['trellis.device', "lattice" /* PkgName.Lattice */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Configures | built_in_props_1.CallProp.Invisible, ambient: OpenDevice, tags: [built_in_props_1.SemanticCallTag.Graphics] }, assumePrimitive: true },
|
|
678
|
+
/* platform-specific devices, `dev.new()` opens the right one */
|
|
679
|
+
{
|
|
680
|
+
type: 'function',
|
|
681
|
+
names: identifier_1.Identifier.fromAll("grDevices" /* PkgName.GrDevices */, ['X11', 'x11', 'windows', 'quartz', 'win.graph', 'win.metafile', 'win.print']),
|
|
682
|
+
processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs,
|
|
683
|
+
config: { props: built_in_props_1.CallProp.Configures | built_in_props_1.CallProp.Invisible, ambient: OpenDevice, tags: [built_in_props_1.SemanticCallTag.Graphics, built_in_props_1.SemanticCallTag.Deprecated] },
|
|
684
|
+
assumePrimitive: true
|
|
685
|
+
},
|
|
686
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("magick" /* PkgName.Magick */, ['image_graph', 'image_draw']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Configures, ambient: OpenDevice, tags: [built_in_props_1.SemanticCallTag.Graphics] }, assumePrimitive: true },
|
|
654
687
|
{ type: 'function', names: [identifier_1.Identifier.from(['read.csv', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['header', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['sep', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['quote', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['dec', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['fill', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['comment.char', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
655
688
|
{ type: 'function', names: [identifier_1.Identifier.from(['scan', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads, built_in_props_1.SemanticCallTag.User], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
656
689
|
/* the package functions that read or write a file, each naming the argument that holds the path; the
|
|
657
690
|
dependency query reads its `read` and `write` categories back from here rather than listing them again */
|
|
658
691
|
{ type: 'function', names: [identifier_1.Identifier.from(['read.dcf', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
659
692
|
{ type: 'function', names: [identifier_1.Identifier.from(['read.fwf', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
660
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['readRenviron', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
693
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['readRenviron', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
661
694
|
{ type: 'function', names: [identifier_1.Identifier.from(['read_csv', "readr" /* PkgName.Readr */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
662
695
|
{ type: 'function', names: [identifier_1.Identifier.from(['read_csv2', "readr" /* PkgName.Readr */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
663
696
|
{ type: 'function', names: [identifier_1.Identifier.from(['read_lines', "readr" /* PkgName.Readr */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
@@ -701,7 +734,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
701
734
|
{ type: 'function', names: [identifier_1.Identifier.from(['tokenize_file', "sourcetools" /* PkgName.Sourcetools */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
702
735
|
{ type: 'function', names: [identifier_1.Identifier.from(['read_spss', "expss" /* PkgName.Expss */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
703
736
|
{ type: 'function', names: [identifier_1.Identifier.from(['read.geno', "SimPhe" /* PkgName.SimPhe */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['fname', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
704
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['readland.tps', "geomorph" /* PkgName.Geomorph */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
737
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['readland.tps', "geomorph" /* PkgName.Geomorph */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
705
738
|
{ type: 'function', names: [identifier_1.Identifier.from(['read_excel', "readxl" /* PkgName.Readxl */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
706
739
|
{ type: 'function', names: [identifier_1.Identifier.from(['read_xls', "readxl" /* PkgName.Readxl */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
707
740
|
{ type: 'function', names: [identifier_1.Identifier.from(['read_xlsx', "readxl" /* PkgName.Readxl */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
@@ -725,6 +758,8 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
725
758
|
{ type: 'function', names: [identifier_1.Identifier.from(['open_graph', "DiagrammeR" /* PkgName.DiagrammeR */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
726
759
|
{ type: 'function', names: [identifier_1.Identifier.from(['read.ftable', "stats" /* PkgName.Stats */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
727
760
|
{ type: 'function', names: [identifier_1.Identifier.from(['read_json', "jsonlite" /* PkgName.Jsonlite */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
761
|
+
/* `txt` is json text, a path, or a url */
|
|
762
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['fromJSON', "jsonlite" /* PkgName.Jsonlite */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['txt', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
728
763
|
{ type: 'function', names: [identifier_1.Identifier.from(['import', "rio" /* PkgName.Rio */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
729
764
|
{ type: 'function', names: [identifier_1.Identifier.from(['import_list', "rio" /* PkgName.Rio */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
730
765
|
{ type: 'function', names: [identifier_1.Identifier.from(['read.xlsx', "openxlsx" /* PkgName.OpenXlsx */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['xlsxFile', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
@@ -746,7 +781,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
746
781
|
{ type: 'function', names: [identifier_1.Identifier.from(['readMP3', "tuneR" /* PkgName.TuneR */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
747
782
|
{ type: 'function', names: [identifier_1.Identifier.from(['readMidi', "tuneR" /* PkgName.TuneR */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
748
783
|
{ type: 'function', names: [identifier_1.Identifier.from(['read.audacity', "seewave" /* PkgName.Seewave */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
749
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['load.wave', "audio" /* PkgName.Audio */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['where', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
784
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['load.wave', "audio" /* PkgName.Audio */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['where', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
750
785
|
{ type: 'function', names: [identifier_1.Identifier.from(['rast', "terra" /* PkgName.Terra */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
751
786
|
{ type: 'function', names: [identifier_1.Identifier.from(['vect', "terra" /* PkgName.Terra */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
752
787
|
{ type: 'function', names: [identifier_1.Identifier.from(['raster', "raster" /* PkgName.Raster */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
@@ -758,7 +793,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
758
793
|
{ type: 'function', names: [identifier_1.Identifier.from(['readShapePoints', "maptools" /* PkgName.Maptools */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['fn', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
759
794
|
{ type: 'function', names: [identifier_1.Identifier.from(['readShapeSpatial', "maptools" /* PkgName.Maptools */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['fn', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
760
795
|
{ type: 'function', names: [identifier_1.Identifier.from(['nc_open', "ncdf4" /* PkgName.Ncdf4 */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['filename', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
761
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['open.nc', "RNetCDF" /* PkgName.Rnetcdf */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['con', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
796
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['open.nc', "RNetCDF" /* PkgName.Rnetcdf */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['con', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
762
797
|
{ type: 'function', names: [identifier_1.Identifier.from(['readMat', "R.matlab" /* PkgName.Rmatlab */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['con', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
763
798
|
{ type: 'function', names: [identifier_1.Identifier.from(['h5read', "rhdf5" /* PkgName.Rhdf5 */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
764
799
|
{ type: 'function', names: [identifier_1.Identifier.from(['h5ls', "rhdf5" /* PkgName.Rhdf5 */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
@@ -805,7 +840,11 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
805
840
|
{ type: 'function', names: [identifier_1.Identifier.from(['writeWorksheetToFile', "XLConnect" /* PkgName.XlConnect */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
806
841
|
{ type: 'function', names: [identifier_1.Identifier.from(['visSave', "visNetwork" /* PkgName.VisNetwork */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['graph', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
807
842
|
{ type: 'function', names: [identifier_1.Identifier.from(['save_graph', "DiagrammeR" /* PkgName.DiagrammeR */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['graph', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
808
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['ggsave', "ggplot2" /* PkgName.GgPlot2 */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [
|
|
843
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['ggsave', "ggplot2" /* PkgName.GgPlot2 */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [
|
|
844
|
+
['filename', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['plot', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['device', built_in_props_1.ArgProp.Flag], ['path', built_in_props_1.ArgProp.Resource],
|
|
845
|
+
['scale', built_in_props_1.ArgProp.Flag], ['width', built_in_props_1.ArgProp.Flag], ['height', built_in_props_1.ArgProp.Flag], ['units', built_in_props_1.ArgProp.Flag], ['dpi', built_in_props_1.ArgProp.Flag], ['limitsize', built_in_props_1.ArgProp.Flag],
|
|
846
|
+
['bg', built_in_props_1.ArgProp.Flag], ['create.dir', built_in_props_1.ArgProp.Flag], ['...', built_in_props_1.ArgProp.Flag]
|
|
847
|
+
] }, assumePrimitive: false },
|
|
809
848
|
{ type: 'function', names: [identifier_1.Identifier.from(['ggsave2', "cowplot" /* PkgName.Cowplot */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['filename', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
810
849
|
{ type: 'function', names: [identifier_1.Identifier.from(['write_json', "jsonlite" /* PkgName.Jsonlite */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
811
850
|
{ type: 'function', names: [identifier_1.Identifier.from(['fwrite', "data.table" /* PkgName.DataTable */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
@@ -863,18 +902,21 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
863
902
|
/* `curl_upload` sends a file somewhere, so the file it reads comes first and the address second */
|
|
864
903
|
{ type: 'function', names: [identifier_1.Identifier.from(['curl_upload', "curl" /* PkgName.Curl */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['url', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['verbose', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
865
904
|
{ type: 'function', names: [identifier_1.Identifier.from(['curl_echo', "curl" /* PkgName.Curl */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Network], sig: [['handle', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Handle], ['port', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['progress', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
866
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['new_handle', "curl" /* PkgName.Curl */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Opens
|
|
905
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['new_handle', "curl" /* PkgName.Curl */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Opens], sig: [['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
867
906
|
{ type: 'function', names: [identifier_1.Identifier.from(['getURL', "RCurl" /* PkgName.Rcurl */]), identifier_1.Identifier.from(['getForm', "rBDAT" /* PkgName.Rbdat */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.Reads], sig: [['url', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
868
907
|
{ type: 'function', names: identifier_1.Identifier.fromAll("xml2" /* PkgName.Xml2 */, ['read_html', 'read_xml']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['encoding', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
869
908
|
{ type: 'function', names: identifier_1.Identifier.fromAll("xml2" /* PkgName.Xml2 */, ['download_html', 'download_xml']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['url', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
870
909
|
{ type: 'function', names: identifier_1.Identifier.fromAll("rvest" /* PkgName.Rvest */, ['html_nodes', 'html_text']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
871
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['read_html_live', "rvest" /* PkgName.Rvest */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.Reads], sig: [['url', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
910
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['read_html_live', "rvest" /* PkgName.Rvest */]), identifier_1.Identifier.from(['session', "rvest" /* PkgName.Rvest */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.Reads], sig: [['url', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
911
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("rvest" /* PkgName.Rvest */, ['session_jump_to', 'session_follow_link', 'session_submit', 'session_back', 'session_forward']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.Reads], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Handle], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
912
|
+
/* an `httr2` request is only a description until one of these performs it */
|
|
913
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("httr2" /* PkgName.Httr2 */, ['req_perform', 'req_perform_sequential', 'req_perform_parallel', 'req_perform_iterative', 'req_perform_stream', 'req_perform_connection', 'req_perform_promise']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.Reads], sig: [['req', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
872
914
|
{ type: 'function', names: identifier_1.Identifier.fromAll("xfun" /* PkgName.Xfun */, ['url_filename', 'url_accessible', 'url_destination']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Network], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
873
915
|
{ type: 'function', names: identifier_1.Identifier.fromAll("googledrive" /* PkgName.GoogleDrive */, ['drive_get', 'drive_download', 'shared_drive_get', 'shared_drive_rm']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
874
916
|
{ type: 'function', names: identifier_1.Identifier.fromAll("aws.s3" /* PkgName.AwsS3 */, ['s3read_using', 's3write_using']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.Reads], sig: [['FUN', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Callee], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['object', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
875
917
|
{ type: 'function', names: [identifier_1.Identifier.from(['gcs_get_object', "googleCloudStorageR" /* PkgName.GoogleCloudStorageR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['object_name', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['saveToDisk', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
876
918
|
{ type: 'function', names: [identifier_1.Identifier.from(['AnnotationHub', "AnnotationHub" /* PkgName.AnnotationHub */]), identifier_1.Identifier.from(['ExperimentHub', "ExperimentHub" /* PkgName.ExperimentHub */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.Reads], sig: [['hub', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
877
|
-
{ type: 'function', names: identifier_1.Identifier.fromAll("devtools" /* PkgName.Devtools */, ['source_url', 'source_gist']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, hasUnknownSideEffects: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.Reads], sig: [['url', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
919
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("devtools" /* PkgName.Devtools */, ['source_url', 'source_gist']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Invisible, libFn: true, hasUnknownSideEffects: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.Reads], sig: [['url', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
878
920
|
{ type: 'function', names: [identifier_1.Identifier.from(['github_pull', "remotes" /* PkgName.Remotes */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.Reads], sig: [['pull', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
879
921
|
{ type: 'function', names: identifier_1.Identifier.fromAll("usethis" /* PkgName.UseThis */, ['create_from_github', 'use_git_remote', 'use_github_action', 'use_github_file', 'use_tidy_thanks']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, hasUnknownSideEffects: true, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.Reads], sig: [['repo_spec', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
880
922
|
{ type: 'function', names: identifier_1.Identifier.fromAll("rstudioapi" /* PkgName.RstudioApi */, ['viewer', 'getDelegatedAzureToken']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Network], sig: [['url', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
@@ -916,7 +958,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
916
958
|
{ type: 'function', names: [identifier_1.Identifier.from(['write.table', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
917
959
|
{ type: 'function', names: identifier_1.Identifier.fromAll("utils" /* PkgName.Utils */, ['write.csv', 'write.csv2']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
918
960
|
{ type: 'function', names: identifier_1.Identifier.fromAll("utils" /* PkgName.Utils */, ['read.table', 'read.delim', 'read.csv2', 'read.delim2']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
919
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['download.file', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['url', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['destfile', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
961
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['download.file', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['url', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['destfile', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
920
962
|
{ type: 'function', names: [identifier_1.Identifier.from(['jitter', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { ambient: { type: "draw-rng" /* AmbientStateAccessType.DrawRng */ }, tags: [built_in_props_1.SemanticCallTag.Random], sig: [['x', built_in_props_1.ArgProp.NoDefault], ['factor', 0], ['amount', 0]] }, assumePrimitive: true },
|
|
921
963
|
{ type: 'function', names: [...identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['sample', 'sample.int']), ...identifier_1.Identifier.fromAll("stats" /* PkgName.Stats */, ['runif', 'rnorm', 'rbinom', 'rpois', 'rexp', 'rgamma', 'rbeta', 'rcauchy', 'rchisq', 'rgeom', 'rhyper', 'rlnorm', 'rlogis', 'rmultinom', 'rnbinom', 'rsignrank', 'rt', 'rf', 'rweibull', 'rwilcox', 'arima.sim', 'simulate', 'kmeans'])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { ambient: { type: "draw-rng" /* AmbientStateAccessType.DrawRng */ }, tags: [built_in_props_1.SemanticCallTag.Random] }, assumePrimitive: false },
|
|
922
964
|
{ type: 'function', names: [identifier_1.Identifier.from(['expression', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Lang, sig: [['...', 0]] }, assumePrimitive: true },
|
|
@@ -950,8 +992,10 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
950
992
|
{ type: 'function', names: identifier_1.Identifier.fromAll("functools" /* PkgName.Functools */, ['Lapply', 'Sapply', 'Vapply']), processor: built_in_proc_name_1.BuiltInProcName.Apply, config: { indexOfFunction: 1, nameOfFunctionArgument: 'FUN', unquoteFunction: true, props: built_in_props_1.CallProp.MayPure }, assumePrimitive: false },
|
|
951
993
|
{ type: 'function', names: [...identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['apply', 'tapply']), identifier_1.Identifier.from(['Tapply', "functools" /* PkgName.Functools */])], processor: built_in_proc_name_1.BuiltInProcName.Apply, config: { indexOfFunction: 2, nameOfFunctionArgument: 'FUN', unquoteFunction: true, props: built_in_props_1.CallProp.MayPure, sig: [['X', built_in_props_1.ArgProp.NoDefault], ['...', 0]] }, assumePrimitive: false },
|
|
952
994
|
{ type: 'function', names: [identifier_1.Identifier.from(['Map', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Apply, config: { indexOfFunction: 0, nameOfFunctionArgument: 'f', unquoteFunction: true, props: built_in_props_1.CallProp.MayPure, sig: [['f', built_in_props_1.ArgProp.Callee], ['...', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
995
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['outer', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Apply, config: { indexOfFunction: 2, nameOfFunctionArgument: 'FUN', unquoteFunction: true, props: built_in_props_1.CallProp.MayPure, sig: [['X', built_in_props_1.ArgProp.Value], ['Y', built_in_props_1.ArgProp.Value], ['FUN', built_in_props_1.ArgProp.Callee], ['...', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
953
996
|
{ type: 'function', names: [identifier_1.Identifier.from(['Filter', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Apply, config: { indexOfFunction: 0, nameOfFunctionArgument: 'f', unquoteFunction: true, props: built_in_props_1.CallProp.MayPure, sig: [['f', built_in_props_1.ArgProp.Callee], ['x', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
954
997
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['Find', 'Position']), processor: built_in_proc_name_1.BuiltInProcName.Apply, config: { indexOfFunction: 0, nameOfFunctionArgument: 'f', unquoteFunction: true, props: built_in_props_1.CallProp.MayPure, sig: [['f', built_in_props_1.ArgProp.Callee], ['x', built_in_props_1.ArgProp.Value], ['right', built_in_props_1.ArgProp.Flag], ['nomatch', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
998
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['replicate', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.MayPure, sig: [['n', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['expr', built_in_props_1.ArgProp.Value], ['simplify', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
955
999
|
{ type: 'function', names: [identifier_1.Identifier.from(['Reduce', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Apply, config: { indexOfFunction: 0, nameOfFunctionArgument: 'f', unquoteFunction: true, props: built_in_props_1.CallProp.MayPure, sig: [['f', built_in_props_1.ArgProp.Callee]] }, assumePrimitive: false },
|
|
956
1000
|
{ type: 'function', names: [identifier_1.Identifier.from(['rapply', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Apply, config: { indexOfFunction: 1, nameOfFunctionArgument: 'f', unquoteFunction: true, props: built_in_props_1.CallProp.MayPure, sig: [['object', built_in_props_1.ArgProp.NoDefault], ['f', built_in_props_1.ArgProp.NoDefault], ['classes', 0], ['deflt', 0], ['how', 0], ['...', 0]] }, assumePrimitive: false },
|
|
957
1001
|
{ type: 'function', names: [identifier_1.Identifier.from(['print', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { keepArgumentOut: true, hasUnknownSideEffects: { type: 'link-to-last-call', callName: /^sink$/ }, ambient: PrintDispatched, props: built_in_props_1.CallProp.Invisible | built_in_props_1.CallProp.Generic, tags: [built_in_props_1.SemanticCallTag.Prints], sig: [['x', built_in_props_1.ArgProp.Alias | built_in_props_1.ArgProp.Forced], ['...', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
@@ -959,36 +1003,39 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
959
1003
|
{ type: 'function', names: [identifier_1.Identifier.from(['invisible', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { keepArgumentOut: true, props: built_in_props_1.CallProp.Pure | built_in_props_1.CallProp.Invisible, sig: [['x', built_in_props_1.ArgProp.Alias | built_in_props_1.ArgProp.Forced]] }, assumePrimitive: true },
|
|
960
1004
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['force', 'identity']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { keepArgumentOut: true, props: built_in_props_1.CallProp.Pure, sig: [['x', built_in_props_1.ArgProp.Alias | built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
961
1005
|
// graphics base
|
|
962
|
-
{ type: 'function', names: namespacePlotFunctions(exports.GraphicsPlotCreate.concat(exports.TinyPlotCrate)), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { ...PlotCreateConfig, ambient: ReadGraphicsState }, assumePrimitive: true },
|
|
1006
|
+
{ type: 'function', names: namespacePlotFunctions(exports.GraphicsPlotCreate.concat(exports.TinyPlotCrate).filter(f => !VisiblePlotCreate.has(f))), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { ...PlotCreateConfig, props: built_in_props_1.CallProp.Invisible, ambient: ReadGraphicsState }, assumePrimitive: true },
|
|
1007
|
+
{ type: 'function', names: namespacePlotFunctions([...VisiblePlotCreate]), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { ...PlotCreateConfig, ambient: ReadGraphicsState }, assumePrimitive: true },
|
|
963
1008
|
/* grid-based plots ignore the base graphics parameters */
|
|
964
1009
|
{ type: 'function', names: namespacePlotFunctions(exports.GgPlotCreate), processor: built_in_proc_name_1.BuiltInProcName.Default, config: PlotCreateConfig, assumePrimitive: true },
|
|
965
1010
|
/* `qplot` creates a plot like the ones above and is deprecated on top of it; registered after them so this
|
|
966
1011
|
definition is the one that sticks */
|
|
967
1012
|
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['qplot', "ggplot2" /* PkgName.GgPlot2 */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { ...PlotCreateConfig, tags: [built_in_props_1.SemanticCallTag.Graphics, built_in_props_1.SemanticCallTag.Deprecated] }, assumePrimitive: true },
|
|
1013
|
+
{ overrides: true, type: 'function', names: namespacePlotFunctions(['grid.arrange']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { ...PlotCreateConfig, props: built_in_props_1.CallProp.Invisible }, assumePrimitive: true },
|
|
968
1014
|
// graphics addons
|
|
969
|
-
{ overrides: true, type: 'function', names: namespacePlotFunctions(exports.GraphicsPlotAddons.concat(...exports.PlotFunctionsWithAddParam)), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { ...PlotAddonConfig, ambient: ReadGraphicsState }, assumePrimitive: true },
|
|
1015
|
+
{ overrides: true, type: 'function', names: namespacePlotFunctions(exports.GraphicsPlotAddons.concat(...exports.PlotFunctionsWithAddParam)), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { ...PlotAddonConfig, props: built_in_props_1.CallProp.Invisible, ambient: ReadGraphicsState }, assumePrimitive: true },
|
|
970
1016
|
{ type: 'function', names: namespacePlotFunctions(exports.GgPlotImplicitAddons), processor: built_in_proc_name_1.BuiltInProcName.Default, config: PlotAddonConfig, assumePrimitive: true },
|
|
971
1017
|
// plot tags
|
|
972
1018
|
{ type: 'function', names: namespacePlotFunctions(exports.GgPlotAddons), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, hasUnknownSideEffects: { type: 'link-to-last-call', callName: toRegex(exports.GgPlotCreate.concat(exports.GgPlotAddons)) }, tags: [built_in_props_1.SemanticCallTag.Graphics], sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: true },
|
|
973
|
-
{ type: 'function', names: namespacePlotFunctions(exports.TinyPlotAddons), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, hasUnknownSideEffects: { type: 'link-to-last-call', callName: toRegex([...exports.TinyPlotCrate, ...exports.TinyPlotAddons]) }, tags: [built_in_props_1.SemanticCallTag.Graphics], sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: true },
|
|
1019
|
+
{ type: 'function', names: namespacePlotFunctions(exports.TinyPlotAddons), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.Invisible, hasUnknownSideEffects: { type: 'link-to-last-call', callName: toRegex([...exports.TinyPlotCrate, ...exports.TinyPlotAddons]) }, tags: [built_in_props_1.SemanticCallTag.Graphics], sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: true },
|
|
974
1020
|
{ type: 'function', names: [...identifier_1.Identifier.fromAll("magick" /* PkgName.Magick */, ['image_capture']), ...identifier_1.Identifier.fromAll("grDevices" /* PkgName.GrDevices */, ['dev.capture'])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, hasUnknownSideEffects: LinkToLastPlot, tags: [built_in_props_1.SemanticCallTag.Graphics], sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: true },
|
|
975
1021
|
/* they put what the device holds on disk */
|
|
976
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['image_write', "magick" /* PkgName.Magick */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, hasUnknownSideEffects: LinkToLastPlot, tags: [built_in_props_1.SemanticCallTag.Graphics, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['image', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: true },
|
|
1022
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['image_write', "magick" /* PkgName.Magick */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.Invisible, hasUnknownSideEffects: LinkToLastPlot, tags: [built_in_props_1.SemanticCallTag.Graphics, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['image', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: true },
|
|
977
1023
|
{ type: 'function', names: identifier_1.Identifier.fromAll("grDevices" /* PkgName.GrDevices */, ['dev.off']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Configures, libFn: true, ambient: { type: "close-device" /* AmbientStateAccessType.CloseDevice */ }, hasUnknownSideEffects: LinkToLastPlot, tags: [built_in_props_1.SemanticCallTag.Graphics, built_in_props_1.SemanticCallTag.Closes, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: true },
|
|
978
|
-
{ type: 'function', names: identifier_1.Identifier.fromAll("grDevices" /* PkgName.GrDevices */, ['graphics.off']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Configures, libFn: true, ambient: { type: "close-device" /* AmbientStateAccessType.CloseDevice */, all: true }, hasUnknownSideEffects: LinkToLastPlot, tags: [built_in_props_1.SemanticCallTag.Graphics, built_in_props_1.SemanticCallTag.Closes, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: true },
|
|
1024
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("grDevices" /* PkgName.GrDevices */, ['graphics.off']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Configures | built_in_props_1.CallProp.Invisible, libFn: true, ambient: { type: "close-device" /* AmbientStateAccessType.CloseDevice */, all: true }, hasUnknownSideEffects: LinkToLastPlot, tags: [built_in_props_1.SemanticCallTag.Graphics, built_in_props_1.SemanticCallTag.Closes, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: true },
|
|
979
1025
|
/* switching the active device makes its graphics state the one in effect */
|
|
980
1026
|
{ type: 'function', names: identifier_1.Identifier.fromAll("grDevices" /* PkgName.GrDevices */, ['dev.set', 'dev.next', 'dev.prev']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Configures, libFn: true, ambient: { type: "switch-device" /* AmbientStateAccessType.SwitchDevice */ }, tags: [built_in_props_1.SemanticCallTag.Graphics], sig: [['which', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
981
1027
|
{ type: 'function', names: ['('], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { keepArgumentOut: true, props: built_in_props_1.CallProp.Pure, sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Alias]] }, assumePrimitive: true, evalHandler: built_in_eval_name_1.BuiltInEvalName.Group },
|
|
982
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['load_all', "pkgload" /* PkgName.PkgLoad */]), identifier_1.Identifier.from(['load_all', "devtools" /* PkgName.Devtools */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { hasUnknownSideEffects: true, props: built_in_props_1.CallProp.Scope, sig: [['path', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1028
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['load_all', "pkgload" /* PkgName.PkgLoad */]), identifier_1.Identifier.from(['load_all', "devtools" /* PkgName.Devtools */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { hasUnknownSideEffects: true, props: built_in_props_1.CallProp.Scope | built_in_props_1.CallProp.Invisible, sig: [['path', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
983
1029
|
{ type: 'function', names: [identifier_1.Identifier.from(['setwd', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { hasUnknownSideEffects: true, props: built_in_props_1.CallProp.Invisible | built_in_props_1.CallProp.Ambient | built_in_props_1.CallProp.Configures, sig: [['dir', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
984
1030
|
{ type: 'function', names: [identifier_1.Identifier.from(['set.seed', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { ambient: { type: "set-rng" /* AmbientStateAccessType.SetRng */ }, props: built_in_props_1.CallProp.Invisible | built_in_props_1.CallProp.Configures, tags: [built_in_props_1.SemanticCallTag.Random], sig: [['seed', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Forced], ['kind', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Forced], ['normal.kind', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Forced], ['sample.kind', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
985
1031
|
{ type: 'function', names: [identifier_1.Identifier.from(['RNGkind', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { ambient: { type: "set-rng" /* AmbientStateAccessType.SetRng */, kindFrom: 0 }, props: built_in_props_1.CallProp.Configures, tags: [built_in_props_1.SemanticCallTag.Random], sig: [['kind', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Forced], ['normal.kind', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Forced], ['sample.kind', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
986
1032
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['body', 'formals']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { hasUnknownSideEffects: true, props: built_in_props_1.CallProp.Lang, sig: [['fun', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Forced]] }, assumePrimitive: true },
|
|
1033
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['trace', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { hasUnknownSideEffects: true, tags: [built_in_props_1.SemanticCallTag.Eval], sig: [['what', built_in_props_1.ArgProp.Value], ['tracer', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['exit', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['at', built_in_props_1.ArgProp.Value], ['print', built_in_props_1.ArgProp.Flag], ['signature', built_in_props_1.ArgProp.Value], ['where', built_in_props_1.ArgProp.Value], ['edit', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
987
1034
|
/* `environment()` without an argument is the frame the call sits in, which is how `as.list(environment())` gets at every argument */
|
|
988
1035
|
{ type: 'function', names: [identifier_1.Identifier.from(['environment', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { hasUnknownSideEffects: true, frame: built_in_props_1.ArgProp.Value, sig: [['fun', built_in_props_1.ArgProp.Handle | built_in_props_1.ArgProp.Forced]] }, assumePrimitive: true },
|
|
989
1036
|
{
|
|
990
1037
|
type: 'function',
|
|
991
|
-
names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['.Call', '.External', '.C', '.Fortran']),
|
|
1038
|
+
names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['.Call', '.External', '.C', '.Fortran', '.External2', '.Call.graphics', '.External.graphics']),
|
|
992
1039
|
processor: built_in_proc_name_1.BuiltInProcName.Default,
|
|
993
1040
|
config: {
|
|
994
1041
|
hasUnknownSideEffects: true,
|
|
@@ -999,7 +1046,11 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
999
1046
|
'.Call': ['.NAME'],
|
|
1000
1047
|
'.External': ['.NAME'],
|
|
1001
1048
|
'.C': ['.NAME'],
|
|
1002
|
-
'.Fortran': ['.NAME']
|
|
1049
|
+
'.Fortran': ['.NAME'],
|
|
1050
|
+
/* the entry points R's graphics engine and internal code call foreign routines through */
|
|
1051
|
+
'.External2': ['.NAME'],
|
|
1052
|
+
'.Call.graphics': ['.NAME'],
|
|
1053
|
+
'.External.graphics': ['.NAME']
|
|
1003
1054
|
},
|
|
1004
1055
|
props: built_in_props_1.CallProp.Ffi
|
|
1005
1056
|
},
|
|
@@ -1034,9 +1085,9 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1034
1085
|
{ type: 'function', names: [identifier_1.Identifier.from(['source', "base" /* PkgName.Base */])],
|
|
1035
1086
|
/* it hands back what it evaluated invisibly, so a top-level `source()` prints nothing of its own */
|
|
1036
1087
|
processor: built_in_proc_name_1.BuiltInProcName.Source,
|
|
1037
|
-
config: { includeFunctionCall: true, forceFollow: false, props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads],
|
|
1038
|
-
sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['local', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['echo', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1039
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['sys.source', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { hasUnknownSideEffects: true, props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['envir', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Written]] }, assumePrimitive: false },
|
|
1088
|
+
config: { includeFunctionCall: true, forceFollow: false, props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads, built_in_props_1.SemanticCallTag.Eval],
|
|
1089
|
+
sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Injectable], ['local', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['echo', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['print.eval', built_in_props_1.ArgProp.Flag], ['exprs', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable]] }, assumePrimitive: false },
|
|
1090
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['sys.source', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { hasUnknownSideEffects: true, props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads, built_in_props_1.SemanticCallTag.Eval], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Injectable], ['envir', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Written]] }, assumePrimitive: false },
|
|
1040
1091
|
{ type: 'function', names: ['['], processor: built_in_proc_name_1.BuiltInProcName.Access, config: { treatIndicesAsString: false, props: built_in_props_1.CallProp.Pure, sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
1041
1092
|
{ type: 'function', names: ['[['], processor: built_in_proc_name_1.BuiltInProcName.Access, config: { treatIndicesAsString: false, resolveField: true, props: built_in_props_1.CallProp.Pure, sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
1042
1093
|
/* the field is a name rather than a value, so it is never evaluated */
|
|
@@ -1048,7 +1099,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1048
1099
|
{ type: 'function', names: [identifier_1.Identifier.from(['if_else', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.IfThenElse, config: { args: { cond: 'condition', yes: 'true', no: 'false' }, props: built_in_props_1.CallProp.Pure }, assumePrimitive: true },
|
|
1049
1100
|
{ type: 'function', names: [identifier_1.Identifier.from(['get', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Get, evalHandler: built_in_eval_name_1.BuiltInEvalName.Get, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Eval], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['pos', built_in_props_1.ArgProp.Flag], ['envir', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['mode', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['inherits', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1050
1101
|
{ type: 'function', names: [identifier_1.Identifier.from(['get0', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Get, evalHandler: built_in_eval_name_1.BuiltInEvalName.Get, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Eval], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['envir', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['mode', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['inherits', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['ifnotfound', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1051
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['ls', "base" /* PkgName.Base */]), identifier_1.Identifier.from(['objects', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.EnvContents, config: { props: built_in_props_1.CallProp.
|
|
1102
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['ls', "base" /* PkgName.Base */]), identifier_1.Identifier.from(['objects', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.EnvContents, config: { props: built_in_props_1.CallProp.NonDet, sig: [['name', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['pos', built_in_props_1.ArgProp.Flag], ['envir', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['all.names', built_in_props_1.ArgProp.Flag], ['pattern', built_in_props_1.ArgProp.Value], ['sorted', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1052
1103
|
{ type: 'function', names: [identifier_1.Identifier.from(['list2env', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.ListToEnv, config: { props: built_in_props_1.CallProp.Scope, sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['envir', built_in_props_1.ArgProp.Written]] }, assumePrimitive: false },
|
|
1053
1104
|
{ type: 'function', names: [identifier_1.Identifier.from(['mget', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Get, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Eval], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['envir', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['mode', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['ifnotfound', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['inherits', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1054
1105
|
{ type: 'function', names: [identifier_1.Identifier.from(['exists', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Get, config: { returnsValue: false, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Eval], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['where', built_in_props_1.ArgProp.Flag], ['envir', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['frame', built_in_props_1.ArgProp.Flag], ['mode', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['inherits', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
@@ -1063,8 +1114,8 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1063
1114
|
{ type: 'function', names: [identifier_1.Identifier.from(['loadNamespace', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Library, config: { namespaceOnly: true, characterOnly: true, props: built_in_props_1.CallProp.Scope, tags: [built_in_props_1.SemanticCallTag.LoadsPackage], sig: [['package', built_in_props_1.ArgProp.NoDefault], ['...', 0]] }, assumePrimitive: false },
|
|
1064
1115
|
/* they only look whether a package is installed, nothing is loaded */
|
|
1065
1116
|
{ type: 'function', names: [identifier_1.Identifier.from(['find.package', "base" /* PkgName.Base */]), ...identifier_1.Identifier.fromAll("utils" /* PkgName.Utils */, ['installed.packages', 'packageVersion', 'packageDescription'])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Ambient, tags: [built_in_props_1.SemanticCallTag.ChecksPackage], sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1066
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['from', "import" /* PkgName.Import */])], processor: built_in_proc_name_1.BuiltInProcName.Library, config: { fromImports: true, props: built_in_props_1.CallProp.Scope, tags: [built_in_props_1.SemanticCallTag.LoadsPackage, built_in_props_1.SemanticCallTag.AttachesPackage] }, assumePrimitive: false },
|
|
1067
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['use', "box" /* PkgName.Box */]), identifier_1.Identifier.from(['use', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Library, config: { boxUse: true, props: built_in_props_1.CallProp.Scope, tags: [built_in_props_1.SemanticCallTag.LoadsPackage, built_in_props_1.SemanticCallTag.AttachesPackage], sig: [['package', built_in_props_1.ArgProp.NoDefault], ['include.only', built_in_props_1.ArgProp.NoDefault]] }, assumePrimitive: false },
|
|
1117
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['from', "import" /* PkgName.Import */])], processor: built_in_proc_name_1.BuiltInProcName.Library, config: { fromImports: true, props: built_in_props_1.CallProp.Scope | built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.LoadsPackage, built_in_props_1.SemanticCallTag.AttachesPackage] }, assumePrimitive: false },
|
|
1118
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['use', "box" /* PkgName.Box */]), identifier_1.Identifier.from(['use', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Library, config: { boxUse: true, props: built_in_props_1.CallProp.Scope | built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.LoadsPackage, built_in_props_1.SemanticCallTag.AttachesPackage], sig: [['package', built_in_props_1.ArgProp.NoDefault], ['include.only', built_in_props_1.ArgProp.NoDefault]] }, assumePrimitive: false },
|
|
1068
1119
|
{ type: 'function', names: ['<-', '='], processor: built_in_proc_name_1.BuiltInProcName.Assignment, config: { canBeReplacement: true, props: built_in_props_1.CallProp.Scope | built_in_props_1.CallProp.Invisible, sig: [['x', built_in_props_1.ArgProp.NoDefault], ['value', built_in_props_1.ArgProp.NoDefault | built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Alias]] }, assumePrimitive: true },
|
|
1069
1120
|
{ type: 'function', names: [identifier_1.Identifier.from([':=', "data.table" /* PkgName.DataTable */])], processor: built_in_proc_name_1.BuiltInProcName.Assignment, config: { props: built_in_props_1.CallProp.Invisible | built_in_props_1.CallProp.Scope }, assumePrimitive: true },
|
|
1070
1121
|
{ type: 'function', names: [identifier_1.Identifier.from(['assign', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Assignment, config: { targetVariable: true, mayHaveMoreArgs: true, environmentArg: 'envir', props: built_in_props_1.CallProp.Scope | built_in_props_1.CallProp.Invisible, sig: [['x', built_in_props_1.ArgProp.Value], ['value', built_in_props_1.ArgProp.Value], ['pos', built_in_props_1.ArgProp.Flag], ['envir', built_in_props_1.ArgProp.Written], ['inherits', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: true },
|
|
@@ -1103,7 +1154,8 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1103
1154
|
{ type: 'function', names: ['<<-'], processor: built_in_proc_name_1.BuiltInProcName.Assignment, config: { superAssignment: true, canBeReplacement: true, props: built_in_props_1.CallProp.Scope | built_in_props_1.CallProp.Invisible, sig: [['x', built_in_props_1.ArgProp.NoDefault], ['value', built_in_props_1.ArgProp.NoDefault | built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Alias]] }, assumePrimitive: true },
|
|
1104
1155
|
{ type: 'function', names: ['->'], processor: built_in_proc_name_1.BuiltInProcName.Assignment, config: { swapSourceAndTarget: true, canBeReplacement: true, props: built_in_props_1.CallProp.Scope | built_in_props_1.CallProp.Invisible, sig: [['value', built_in_props_1.ArgProp.NoDefault | built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Alias], ['x', built_in_props_1.ArgProp.NoDefault]] }, assumePrimitive: true },
|
|
1105
1156
|
{ type: 'function', names: ['->>'], processor: built_in_proc_name_1.BuiltInProcName.Assignment, config: { superAssignment: true, swapSourceAndTarget: true, canBeReplacement: true, props: built_in_props_1.CallProp.Scope | built_in_props_1.CallProp.Invisible, sig: [['value', built_in_props_1.ArgProp.NoDefault | built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Alias], ['x', built_in_props_1.ArgProp.NoDefault]] }, assumePrimitive: true },
|
|
1106
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['data', "utils" /* PkgName.Utils */])
|
|
1157
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['data', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.DefineArgument, config: { props: built_in_props_1.CallProp.Invisible, superAssignment: true, sig: [['...', 0], ['list', built_in_props_1.ArgProp.Value], ['package', 0], ['lib.loc', 0], ['verbose', 0], ['envir', 0], ['overwrite', 0]] }, assumePrimitive: false },
|
|
1158
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['getHdata', "Hmisc" /* PkgName.Hmisc */])], processor: built_in_proc_name_1.BuiltInProcName.DefineArgument, config: { superAssignment: true, sig: [['...', 0], ['list', built_in_props_1.ArgProp.Value], ['package', 0], ['lib.loc', 0], ['verbose', 0], ['envir', 0], ['overwrite', 0]] }, assumePrimitive: false },
|
|
1107
1159
|
/* only `&&`/`||` short-circuit */
|
|
1108
1160
|
{ type: 'function', names: [identifier_1.Identifier.from(['&&', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.SpecialBinOp, config: { lazy: true, evalRhsWhen: true, props: built_in_props_1.CallProp.Pure, sig: [['x', built_in_props_1.ArgProp.NoDefault | built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Atomic], ['y', built_in_props_1.ArgProp.NoDefault | built_in_props_1.ArgProp.Atomic]] }, assumePrimitive: true, evalHandler: built_in_eval_name_1.BuiltInEvalName.Logical },
|
|
1109
1161
|
{ type: 'function', names: [identifier_1.Identifier.from(['||', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.SpecialBinOp, config: { lazy: true, evalRhsWhen: false, props: built_in_props_1.CallProp.Pure, sig: [['x', built_in_props_1.ArgProp.NoDefault | built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Atomic], ['y', built_in_props_1.ArgProp.NoDefault | built_in_props_1.ArgProp.Atomic]] }, assumePrimitive: true, evalHandler: built_in_eval_name_1.BuiltInEvalName.Logical },
|
|
@@ -1113,24 +1165,24 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1113
1165
|
{ type: 'function', names: [...identifier_1.Identifier.fromAllIn(MagrittrPipePackages, ['%>%']), '%!>%'], processor: built_in_proc_name_1.BuiltInProcName.Pipe, config: { pipePlaceholderName: '.', assignLhs: false, returnLhs: false, rhsMightBeSymbol: true, sig: [['lhs', built_in_props_1.ArgProp.Value], ['rhs', built_in_props_1.ArgProp.Alias]] }, assumePrimitive: true },
|
|
1114
1166
|
{ type: 'function', names: [identifier_1.Identifier.from(['%<>%', "magrittr" /* PkgName.Magrittr */])], processor: built_in_proc_name_1.BuiltInProcName.Pipe, config: { pipePlaceholderName: '.', assignLhs: true, returnLhs: false, rhsMightBeSymbol: true, props: built_in_props_1.CallProp.Invisible | built_in_props_1.CallProp.Scope }, assumePrimitive: true },
|
|
1115
1167
|
{ type: 'function', names: [identifier_1.Identifier.from(['%T>%', "magrittr" /* PkgName.Magrittr */])], processor: built_in_proc_name_1.BuiltInProcName.Pipe, config: { pipePlaceholderName: '.', assignLhs: false, returnLhs: true, rhsMightBeSymbol: true, sig: [['lhs', built_in_props_1.ArgProp.Alias], ['rhs', built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
1116
|
-
{ type: 'function', names: identifier_1.Identifier.fromAll("purrr" /* PkgName.Purrr */, ['map', 'map_lgl', 'map_int', 'map_dbl', 'map_chr']), processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { args: { '.x': { index: 0, name: '.x' } }, '.f': { index: 1, name: '.f' }, ignore: ['.progress'] } },
|
|
1117
|
-
{ type: 'function', names: identifier_1.Identifier.fromAll("purrr" /* PkgName.Purrr */, ['pmap', 'pmap_lgl', 'pmap_int', 'pmap_dbl', 'pmap_chr']), processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { args: { '.l': { index: 0, name: '.l' } }, '.f': { index: 1, name: '.f' }, ignore: ['.progress'] } },
|
|
1118
|
-
{ type: 'function', names: identifier_1.Identifier.fromAll("purrr" /* PkgName.Purrr */, ['map2', 'map2_lgl', 'map2_int', 'map2_dbl', 'map2_chr']), processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { args: { '.x': { index: 0, name: '.x' }, '.y': { index: 1, name: '.y' } }, '.f': { index: 2, name: '.f' }, ignore: ['.progress'] } },
|
|
1119
|
-
{ type: 'function', names: identifier_1.Identifier.fromAll("purrr" /* PkgName.Purrr */, ['modify', 'imodify', 'imap', 'imap_lgl', 'imap_int', 'imap_dbl', 'imap_chr', 'imap_vec', 'lmap']), processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { args: { '.x': { index: 0, name: '.x' } }, '.f': { index: 1, name: '.f' }, ignore: [] } },
|
|
1120
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['modify2', "purrr" /* PkgName.Purrr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { args: { '.x': { index: 0, name: '.x' }, '.y': { index: 1, name: '.y' } }, '.f': { index: 2, name: '.f' }, ignore: [] } },
|
|
1121
|
-
{ type: 'function', names: identifier_1.Identifier.fromAll("purrr" /* PkgName.Purrr */, ['map_at', 'modify_at']), processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { args: { '.x': { index: 0, name: '.x' }, '.at': { index: 1, name: '.at' } }, '.f': { index: 2, name: '.f' }, ignore: ['.progress'] } },
|
|
1122
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['lmap_at', "purrr" /* PkgName.Purrr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { args: { '.x': { index: 0, name: '.x' }, '.at': { index: 1, name: '.at' } }, '.f': { index: 2, name: '.f' }, ignore: [] } },
|
|
1123
|
-
{ type: 'function', names: identifier_1.Identifier.fromAll("purrr" /* PkgName.Purrr */, ['map_if', 'modify_if', 'lmap_if']), processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { args: { '.x': { index: 0, name: '.x' }, '.p': { index: 1, name: '.p' } }, '.f': { index: 2, name: '.f' }, ignore: ['.else'] } },
|
|
1124
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['walk', "purrr" /* PkgName.Purrr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { args: { '.x': { index: 0, name: '.x' } }, '.f': { index: 1, name: '.f' }, ignore: ['.progress'], returnArg: '.x' } },
|
|
1125
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['iwalk', "purrr" /* PkgName.Purrr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { args: { '.x': { index: 0, name: '.x' } }, '.f': { index: 1, name: '.f' }, ignore: [], returnArg: '.x' } },
|
|
1126
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['pwalk', "purrr" /* PkgName.Purrr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { args: { '.l': { index: 0, name: '.l' } }, '.f': { index: 1, name: '.f' }, ignore: ['.progress'], returnArg: '.l' } },
|
|
1127
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['walk2', "purrr" /* PkgName.Purrr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { args: { '.x': { index: 0, name: '.x' }, '.y': { index: 1, name: '.y' } }, '.f': { index: 2, name: '.f' }, ignore: ['.progress'], returnArg: '.x' } },
|
|
1128
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['map_vec', "purrr" /* PkgName.Purrr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { args: { '.x': { index: 0, name: '.x' } }, '.f': { index: 1, name: '.f' }, ignore: ['.progress', '.ptype'] } },
|
|
1129
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['pmap_vec', "purrr" /* PkgName.Purrr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { args: { '.l': { index: 0, name: '.l' } }, '.f': { index: 1, name: '.f' }, ignore: ['.progress', '.ptype'] } },
|
|
1130
|
-
{ type: 'function', names: identifier_1.Identifier.fromAll("purrr" /* PkgName.Purrr */, ['map_depth', 'modify_depth']), processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { args: { '.x': { index: 0, name: '.x' }, '.depth': { index: 2, name: '.depth' } }, '.f': { index: 2, name: '.f' }, ignore: ['.ragged', '.is_node'] } },
|
|
1131
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['map2_vec', "purrr" /* PkgName.Purrr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { args: { '.x': { index: 0, name: '.x' }, '.y': { index: 1, name: '.y' } }, '.f': { index: 2, name: '.f' }, ignore: ['.progress', '.ptype'] } },
|
|
1132
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['across', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { args: { '.x': { index: 0, name: '.cols' } }, '.f': { index: 1, name: '.fns' }, ignore: ['.names', '.unpack'] } },
|
|
1133
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['rename_with', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { args: { '.x': { index: 0, name: '.data' } }, '.f': { index: 1, name: '.fn' }, ignore: ['.cols'] } },
|
|
1168
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("purrr" /* PkgName.Purrr */, ['map', 'map_lgl', 'map_int', 'map_dbl', 'map_chr']), processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { props: built_in_props_1.CallProp.MayPure, args: { '.x': { index: 0, name: '.x' } }, '.f': { index: 1, name: '.f' }, ignore: ['.progress'] } },
|
|
1169
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("purrr" /* PkgName.Purrr */, ['pmap', 'pmap_lgl', 'pmap_int', 'pmap_dbl', 'pmap_chr']), processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { props: built_in_props_1.CallProp.MayPure, args: { '.l': { index: 0, name: '.l' } }, '.f': { index: 1, name: '.f' }, ignore: ['.progress'] } },
|
|
1170
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("purrr" /* PkgName.Purrr */, ['map2', 'map2_lgl', 'map2_int', 'map2_dbl', 'map2_chr']), processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { props: built_in_props_1.CallProp.MayPure, args: { '.x': { index: 0, name: '.x' }, '.y': { index: 1, name: '.y' } }, '.f': { index: 2, name: '.f' }, ignore: ['.progress'] } },
|
|
1171
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("purrr" /* PkgName.Purrr */, ['modify', 'imodify', 'imap', 'imap_lgl', 'imap_int', 'imap_dbl', 'imap_chr', 'imap_vec', 'lmap']), processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { props: built_in_props_1.CallProp.MayPure, args: { '.x': { index: 0, name: '.x' } }, '.f': { index: 1, name: '.f' }, ignore: [] } },
|
|
1172
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['modify2', "purrr" /* PkgName.Purrr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { props: built_in_props_1.CallProp.MayPure, args: { '.x': { index: 0, name: '.x' }, '.y': { index: 1, name: '.y' } }, '.f': { index: 2, name: '.f' }, ignore: [] } },
|
|
1173
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("purrr" /* PkgName.Purrr */, ['map_at', 'modify_at']), processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { props: built_in_props_1.CallProp.MayPure, args: { '.x': { index: 0, name: '.x' }, '.at': { index: 1, name: '.at' } }, '.f': { index: 2, name: '.f' }, ignore: ['.progress'] } },
|
|
1174
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['lmap_at', "purrr" /* PkgName.Purrr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { props: built_in_props_1.CallProp.MayPure, args: { '.x': { index: 0, name: '.x' }, '.at': { index: 1, name: '.at' } }, '.f': { index: 2, name: '.f' }, ignore: [] } },
|
|
1175
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("purrr" /* PkgName.Purrr */, ['map_if', 'modify_if', 'lmap_if']), processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { props: built_in_props_1.CallProp.MayPure, args: { '.x': { index: 0, name: '.x' }, '.p': { index: 1, name: '.p' } }, '.f': { index: 2, name: '.f' }, ignore: ['.else'] } },
|
|
1176
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['walk', "purrr" /* PkgName.Purrr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { props: built_in_props_1.CallProp.MayPure, args: { '.x': { index: 0, name: '.x' } }, '.f': { index: 1, name: '.f' }, ignore: ['.progress'], returnArg: '.x' } },
|
|
1177
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['iwalk', "purrr" /* PkgName.Purrr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { props: built_in_props_1.CallProp.MayPure, args: { '.x': { index: 0, name: '.x' } }, '.f': { index: 1, name: '.f' }, ignore: [], returnArg: '.x' } },
|
|
1178
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['pwalk', "purrr" /* PkgName.Purrr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { props: built_in_props_1.CallProp.MayPure, args: { '.l': { index: 0, name: '.l' } }, '.f': { index: 1, name: '.f' }, ignore: ['.progress'], returnArg: '.l' } },
|
|
1179
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['walk2', "purrr" /* PkgName.Purrr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { props: built_in_props_1.CallProp.MayPure, args: { '.x': { index: 0, name: '.x' }, '.y': { index: 1, name: '.y' } }, '.f': { index: 2, name: '.f' }, ignore: ['.progress'], returnArg: '.x' } },
|
|
1180
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['map_vec', "purrr" /* PkgName.Purrr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { props: built_in_props_1.CallProp.MayPure, args: { '.x': { index: 0, name: '.x' } }, '.f': { index: 1, name: '.f' }, ignore: ['.progress', '.ptype'] } },
|
|
1181
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['pmap_vec', "purrr" /* PkgName.Purrr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { props: built_in_props_1.CallProp.MayPure, args: { '.l': { index: 0, name: '.l' } }, '.f': { index: 1, name: '.f' }, ignore: ['.progress', '.ptype'] } },
|
|
1182
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("purrr" /* PkgName.Purrr */, ['map_depth', 'modify_depth']), processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { props: built_in_props_1.CallProp.MayPure, args: { '.x': { index: 0, name: '.x' }, '.depth': { index: 2, name: '.depth' } }, '.f': { index: 2, name: '.f' }, ignore: ['.ragged', '.is_node'] } },
|
|
1183
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['map2_vec', "purrr" /* PkgName.Purrr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { props: built_in_props_1.CallProp.MayPure, args: { '.x': { index: 0, name: '.x' }, '.y': { index: 1, name: '.y' } }, '.f': { index: 2, name: '.f' }, ignore: ['.progress', '.ptype'] } },
|
|
1184
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['across', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { props: built_in_props_1.CallProp.MayPure, args: { '.x': { index: 0, name: '.cols' } }, '.f': { index: 1, name: '.fns' }, ignore: ['.names', '.unpack'] } },
|
|
1185
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['rename_with', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.PurrrFormula, config: { props: built_in_props_1.CallProp.MayPure, tags: [built_in_props_1.SemanticCallTag.Transforms], args: { '.x': { index: 0, name: '.data' } }, '.f': { index: 1, name: '.fn' }, ignore: ['.cols'] } },
|
|
1134
1186
|
{ type: 'function', names: ['function', '\\'], processor: built_in_proc_name_1.BuiltInProcName.FunctionDefinition, config: { sig: [['arglist', built_in_props_1.ArgProp.Nse], ['expr', built_in_props_1.ArgProp.NoDefault | built_in_props_1.ArgProp.Nse]] }, assumePrimitive: true },
|
|
1135
1187
|
{ type: 'function', names: [identifier_1.Identifier.from(['quote', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Quote, config: { quoteArgumentsWithIndex: 0, keepEnvironment: true, props: built_in_props_1.CallProp.Lang, sig: [['expr', built_in_props_1.ArgProp.Nse]] }, assumePrimitive: true },
|
|
1136
1188
|
/* `bquote` evaluates the operand of `.()` */
|
|
@@ -1151,7 +1203,8 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1151
1203
|
{ type: 'function', names: [identifier_1.Identifier.from(['rprintf', "rprintf" /* PkgName.Rprintf */])], processor: built_in_proc_name_1.BuiltInProcName.StringTemplate, config: { open: '$', close: '', props: built_in_props_1.CallProp.MayPure }, assumePrimitive: false },
|
|
1152
1204
|
/* `local(expr)` evaluates `expr` in a frame of its own and hands its value back */
|
|
1153
1205
|
{ type: 'function', names: [identifier_1.Identifier.from(['local', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Local, config: { args: { env: 'envir', expr: 'expr' }, sig: [['expr', built_in_props_1.ArgProp.Alias | built_in_props_1.ArgProp.Forced], ['envir', built_in_props_1.ArgProp.Written]] }, assumePrimitive: false },
|
|
1154
|
-
{ type: 'function', names: identifier_1.Identifier.
|
|
1206
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['with', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.With, config: { sig: WithSig }, assumePrimitive: false },
|
|
1207
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['within', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.With, config: { tags: [built_in_props_1.SemanticCallTag.Transforms], sig: WithSig }, assumePrimitive: false },
|
|
1155
1208
|
{ type: 'function', names: [identifier_1.Identifier.from(['new.env', "base" /* PkgName.Base */]), identifier_1.Identifier.from(['new_environment', "rlang" /* PkgName.Rlang */])], processor: built_in_proc_name_1.BuiltInProcName.NewEnv, config: { sig: [['hash', 0], ['parent', 0], ['size', 0]] }, assumePrimitive: true },
|
|
1156
1209
|
{ type: 'function', names: [identifier_1.Identifier.from(['R6Class', "R6" /* PkgName.R6 */])],
|
|
1157
1210
|
processor: built_in_proc_name_1.BuiltInProcName.ClassGenerator,
|
|
@@ -1177,7 +1230,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1177
1230
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['sys.frame', 'sys.frames']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { frame: built_in_props_1.ArgProp.Value }, assumePrimitive: true },
|
|
1178
1231
|
{ type: 'function', names: [identifier_1.Identifier.from(['load', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Load, config: { props: built_in_props_1.CallProp.Invisible | built_in_props_1.CallProp.Scope, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1179
1232
|
/* attach injects an environment's contents into the search path; detach reverses it (treated as unknown side effect) */
|
|
1180
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['attach', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Attach, config: { sig: [['what', built_in_props_1.ArgProp.NoDefault], ['pos', 0], ['name', 0], ['warn.conflicts', 0]] }, assumePrimitive: false },
|
|
1233
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['attach', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Attach, config: { props: built_in_props_1.CallProp.Invisible, sig: [['what', built_in_props_1.ArgProp.NoDefault], ['pos', 0], ['name', 0], ['warn.conflicts', 0]] }, assumePrimitive: false },
|
|
1181
1234
|
{ type: 'function', names: ['for'], processor: built_in_proc_name_1.BuiltInProcName.ForLoop, config: { sig: [['var', built_in_props_1.ArgProp.NoDefault | built_in_props_1.ArgProp.Nse], ['seq', built_in_props_1.ArgProp.NoDefault | built_in_props_1.ArgProp.Forced], ['expr', built_in_props_1.ArgProp.NoDefault]] }, assumePrimitive: true },
|
|
1182
1235
|
{ type: 'function', names: ['repeat'], processor: built_in_proc_name_1.BuiltInProcName.RepeatLoop, config: { sig: [['expr', built_in_props_1.ArgProp.NoDefault | built_in_props_1.ArgProp.Forced]] }, assumePrimitive: true },
|
|
1183
1236
|
{ type: 'function', names: ['while'], processor: built_in_proc_name_1.BuiltInProcName.WhileLoop, config: { sig: [['cond', built_in_props_1.ArgProp.NoDefault | built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Atomic], ['expr', built_in_props_1.ArgProp.NoDefault]] }, assumePrimitive: true },
|
|
@@ -1225,9 +1278,10 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1225
1278
|
{ type: 'function', names: [identifier_1.Identifier.from(['c', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Vector, config: { props: built_in_props_1.CallProp.Pure, sig: [['...', built_in_props_1.ArgProp.Value]] }, assumePrimitive: true, evalHandler: built_in_eval_name_1.BuiltInEvalName.Vector },
|
|
1226
1279
|
{ type: 'function', names: [identifier_1.Identifier.from(['cmpfun', "compiler" /* PkgName.Compiler */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { sig: [['f', built_in_props_1.ArgProp.Alias]] } },
|
|
1227
1280
|
{ type: 'function', names: [identifier_1.Identifier.from(['compile', "compiler" /* PkgName.Compiler */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { sig: [['e', built_in_props_1.ArgProp.Alias]] } },
|
|
1228
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['loadcmp', "compiler" /* PkgName.Compiler */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { hasUnknownSideEffects: true, sig: [['file', built_in_props_1.ArgProp.NoDefault], ['envir', 0], ['chdir', 0]] } },
|
|
1281
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['loadcmp', "compiler" /* PkgName.Compiler */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Invisible, hasUnknownSideEffects: true, sig: [['file', built_in_props_1.ArgProp.NoDefault], ['envir', 0], ['chdir', 0]] } },
|
|
1229
1282
|
{ type: 'function', names: [identifier_1.Identifier.from(['setNames', "stats" /* PkgName.Stats */]), identifier_1.Identifier.from(['setNames', "FastUtils" /* PkgName.FastUtils */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Pure, sig: [['object', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['nm', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] } },
|
|
1230
|
-
{ type: 'function', names: identifier_1.Identifier.fromAll("data.table" /* PkgName.DataTable */, ['
|
|
1283
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("data.table" /* PkgName.DataTable */, ['setkey', 'setkeyv', 'setindex', 'setindexv', 'setattr']), processor: built_in_proc_name_1.BuiltInProcName.Assignment, config: DataTableSetter },
|
|
1284
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['setnames', "data.table" /* PkgName.DataTable */])], processor: built_in_proc_name_1.BuiltInProcName.Assignment, config: { ...DataTableSetter, tags: [built_in_props_1.SemanticCallTag.Transforms] } },
|
|
1231
1285
|
{
|
|
1232
1286
|
type: 'function',
|
|
1233
1287
|
names: [
|
|
@@ -1244,11 +1298,12 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1244
1298
|
{ type: 'function', names: [identifier_1.Identifier.from(['dir.create', "base" /* PkgName.Base */]), identifier_1.Identifier.from(['dir_create', "fs" /* PkgName.Fs */]), ...identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['Sys.chmod', 'unlink', 'file.remove', 'file.rename', 'file.copy', 'file.link', 'file.append', 'Sys.junction'])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { hasUnknownSideEffects: true, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes] }, assumePrimitive: false },
|
|
1245
1299
|
/* `sink` diverts the output, `par`/`tpar` set (or query) the parameters of the current device */
|
|
1246
1300
|
{ type: 'function', names: [identifier_1.Identifier.from(['sink', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { hasUnknownSideEffects: true, props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['file', built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1247
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['par', "graphics" /* PkgName.Graphics */]), identifier_1.Identifier.from(['tpar', "tinyplot" /* PkgName.TinyPlot */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Configures, ambient: { type: "set-graphics" /* AmbientStateAccessType.SetGraphics */, queryOnUnnamedStrings: true, queryLinksTo: LinkToLastPlot }, tags: [built_in_props_1.SemanticCallTag.Graphics], sig: [['...', 0], ['no.readonly', 0]] }, assumePrimitive: false },
|
|
1301
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['par', "graphics" /* PkgName.Graphics */]), identifier_1.Identifier.from(['tpar', "tinyplot" /* PkgName.TinyPlot */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Configures | built_in_props_1.CallProp.Invisible, ambient: { type: "set-graphics" /* AmbientStateAccessType.SetGraphics */, queryOnUnnamedStrings: true, queryLinksTo: LinkToLastPlot }, tags: [built_in_props_1.SemanticCallTag.Graphics], sig: [['...', 0], ['no.readonly', 0]] }, assumePrimitive: false },
|
|
1248
1302
|
/* they arrange the device or change its colors, which every later plot on it picks up */
|
|
1249
|
-
{ type: 'function', names: identifier_1.Identifier.fromAll("graphics" /* PkgName.Graphics */, ['layout', '
|
|
1303
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("graphics" /* PkgName.Graphics */, ['layout', 'screen', 'close.screen']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Configures | built_in_props_1.CallProp.Invisible, ambient: { type: "set-graphics" /* AmbientStateAccessType.SetGraphics */ }, tags: [built_in_props_1.SemanticCallTag.Graphics], sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1304
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("graphics" /* PkgName.Graphics */, ['split.screen']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Configures, ambient: { type: "set-graphics" /* AmbientStateAccessType.SetGraphics */ }, tags: [built_in_props_1.SemanticCallTag.Graphics], sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1250
1305
|
/* the palette, other than the parameters above, is shared by all devices */
|
|
1251
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['palette', "grDevices" /* PkgName.GrDevices */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Configures, ambient: { type: "set-palette" /* AmbientStateAccessType.SetPalette */ }, tags: [built_in_props_1.SemanticCallTag.Graphics], sig: [['value', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1306
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['palette', "grDevices" /* PkgName.GrDevices */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Configures | built_in_props_1.CallProp.Invisible, ambient: { type: "set-palette" /* AmbientStateAccessType.SetPalette */ }, tags: [built_in_props_1.SemanticCallTag.Graphics], sig: [['value', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1252
1307
|
{
|
|
1253
1308
|
type: 'function',
|
|
1254
1309
|
names: [
|
|
@@ -1279,16 +1334,18 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1279
1334
|
{ type: 'function', names: [identifier_1.Identifier.from(['on_package_load', "rlang" /* PkgName.Rlang */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.Invisible | built_in_props_1.CallProp.Scope | built_in_props_1.CallProp.MayPure, sig: [['pkg', built_in_props_1.ArgProp.Value], ['expr', built_in_props_1.ArgProp.Forced], ['env', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1280
1335
|
{ type: 'function', names: [identifier_1.Identifier.from(['run_on_load', "rlang" /* PkgName.Rlang */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.Invisible | built_in_props_1.CallProp.Scope | built_in_props_1.CallProp.MayPure, sig: [['ns', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1281
1336
|
/* `parse(text=)` turns text into an expression, with `file=` it reads that file */
|
|
1282
|
-
{ type: 'function', names:
|
|
1337
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['parse', 'str2lang', 'str2expression']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Pure, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1338
|
+
/* the tidy-eval sinks (`!!`, `{{`) are no calls flowR sees, so the text is checked where it turns into code */
|
|
1339
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("rlang" /* PkgName.Rlang */, ['parse_expr', 'parse_exprs']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.Lang, sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable]] }, assumePrimitive: false },
|
|
1283
1340
|
/* they answer with whatever is on disk when they run */
|
|
1284
1341
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['list.files', 'dir', 'list.dirs']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads, built_in_props_1.SemanticCallTag.Glob], sig: [['path', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1285
1342
|
{ type: 'function', names: [identifier_1.Identifier.from(['Sys.glob', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads, built_in_props_1.SemanticCallTag.Glob], sig: [['paths', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1286
1343
|
/* language objects */
|
|
1287
1344
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['enquote', 'call', 'as.call', 'as.expression', 'as.name', 'as.symbol', 'args', 'deparse', 'deparse1']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Lang, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1288
1345
|
/* they hand back the call they sit in, so the function around them reads its arguments as written, unevaluated */
|
|
1289
|
-
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['match.call', 'sys.call', 'sys.calls']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Lang, frame: built_in_props_1.ArgProp.Nse, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1346
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['match.call', 'sys.call', 'sys.calls']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Lang | built_in_props_1.CallProp.NonDet, frame: built_in_props_1.ArgProp.Nse, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1290
1347
|
/* `nargs()` counts what the call supplied, so it sees no argument, only whether there was one */
|
|
1291
|
-
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['nargs', 'sys.nframe']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Lang, frame: built_in_props_1.ArgProp.Presence, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1348
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['nargs', 'sys.nframe']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Lang | built_in_props_1.CallProp.NonDet, frame: built_in_props_1.ArgProp.Presence, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1292
1349
|
/* `alist` keeps its arguments unevaluated, `evalq` evaluates its first one in another frame */
|
|
1293
1350
|
{ type: 'function', names: [identifier_1.Identifier.from(['alist', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Lang, sig: [['...', built_in_props_1.ArgProp.Nse]] }, assumePrimitive: false },
|
|
1294
1351
|
{ type: 'function', names: [identifier_1.Identifier.from(['evalq', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { ambient: { type: "evaluate-quoted" /* AmbientStateAccessType.EvaluateQuoted */ }, props: built_in_props_1.CallProp.Lang, tags: [built_in_props_1.SemanticCallTag.Eval], sig: [['expr', built_in_props_1.ArgProp.Nse | built_in_props_1.ArgProp.Injectable], ['envir', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
@@ -1298,25 +1355,32 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1298
1355
|
{ type: 'function', names: [...identifier_1.Identifier.fromAllIn(TidyEvalPackages, ['enexpr', 'enexprs', 'enquo', 'enquos', 'ensym', 'ensyms', 'sym', 'syms', 'quo_name', 'as_label']), ...identifier_1.Identifier.fromAll("rlang" /* PkgName.Rlang */, ['inject', 'enquo0', 'enquos0', 'new_formula', 'f_rhs', 'f_lhs', 'fn_body', 'fn_fmls', 'fn_fmls_names', 'call2', 'as_name', 'as_string'])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.Lang, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1299
1356
|
/* native code */
|
|
1300
1357
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['dyn.load', 'getNativeSymbolInfo']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Ffi, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1301
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['sourceCpp', "Rcpp" /* PkgName.Rcpp */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.Ffi, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1358
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['sourceCpp', "Rcpp" /* PkgName.Rcpp */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.Ffi | built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource]] }, assumePrimitive: false },
|
|
1302
1359
|
/* ambient state: options, environment variables, the clock, the session itself */
|
|
1303
1360
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['Sys.getenv', 'Sys.info', 'Sys.getpid', 'getwd', 'getRversion', 'R.Version', 'Sys.time', 'Sys.Date', 'Sys.timezone', 'date', 'proc.time', 'interactive']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Ambient, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1304
1361
|
{ type: 'function', names: [identifier_1.Identifier.from(['getOption', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { ambient: { type: "get-option" /* AmbientStateAccessType.GetOption */ }, props: built_in_props_1.CallProp.Ambient, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1305
1362
|
{ type: 'function', names: [identifier_1.Identifier.from(['commandArgs', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { props: built_in_props_1.CallProp.Ambient, tags: [built_in_props_1.SemanticCallTag.CommandLine], sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1306
1363
|
/* system commands */
|
|
1307
1364
|
{ type: 'function', names: [identifier_1.Identifier.from(['system', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { tags: [built_in_props_1.SemanticCallTag.Process], sig: [['command', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['intern', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['ignore.stdout', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['ignore.stderr', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['wait', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['input', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['show.output.on.console', built_in_props_1.ArgProp.Flag], ['minimized', built_in_props_1.ArgProp.Flag], ['invisible', built_in_props_1.ArgProp.Flag], ['timeout', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1308
|
-
{ type: 'function', names: [identifier_1.Identifier.from(['system2', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { tags: [built_in_props_1.SemanticCallTag.Process], sig: [['command', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['args', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['stdout', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['stderr', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['stdin', built_in_props_1.ArgProp.Value], ['input', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['env', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['wait', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['minimized', built_in_props_1.ArgProp.Flag], ['invisible', built_in_props_1.ArgProp.Flag], ['timeout', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1365
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['system2', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { tags: [built_in_props_1.SemanticCallTag.Process], sig: [['command', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['args', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['stdout', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['stderr', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['stdin', built_in_props_1.ArgProp.Value], ['input', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['env', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['wait', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['minimized', built_in_props_1.ArgProp.Flag], ['invisible', built_in_props_1.ArgProp.Flag], ['timeout', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1309
1366
|
{ type: 'function', names: [identifier_1.Identifier.from(['shell', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { tags: [built_in_props_1.SemanticCallTag.Process], sig: [['cmd', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['shell', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['flag', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['intern', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['wait', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['translate', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['mustWork', built_in_props_1.ArgProp.Flag], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1310
1367
|
{ type: 'function', names: [identifier_1.Identifier.from(['shell.exec', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { tags: [built_in_props_1.SemanticCallTag.Process], sig: [['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Injectable]] }, assumePrimitive: false },
|
|
1311
1368
|
{ type: 'function', names: [identifier_1.Identifier.from(['pipe', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { tags: [built_in_props_1.SemanticCallTag.Opens, built_in_props_1.SemanticCallTag.Process], sig: [['description', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource | built_in_props_1.ArgProp.Injectable], ['open', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['encoding', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1312
1369
|
{ type: 'function', names: identifier_1.Identifier.fromAll("processx" /* PkgName.Processx */, ['run', 'process']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Process], sig: [['command', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['args', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1313
1370
|
{ type: 'function', names: identifier_1.Identifier.fromAll("sys" /* PkgName.Sys */, ['exec_wait', 'exec_internal', 'exec_background']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Process], sig: [['cmd', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['args', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable]] }, assumePrimitive: false },
|
|
1314
|
-
{ type: 'function', names: identifier_1.Identifier.
|
|
1315
|
-
{ type: 'function', names:
|
|
1371
|
+
{ type: 'function', names: identifier_1.Identifier.fromAllIn(["DBI" /* PkgName.Dbi */, 'RSQLite', 'RPostgres', 'RMariaDB', 'odbc', 'pool'], ['dbGetQuery', 'dbSendQuery', 'dbSendStatement', 'dbExecute']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.NonDet, tags: [built_in_props_1.SemanticCallTag.Database], sig: [['conn', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Handle], ['statement', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['...', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1372
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("DBI" /* PkgName.Dbi */, ['dbQuoteString', 'dbQuoteLiteral', 'dbQuoteIdentifier']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.Pure, sig: [['conn', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Handle], ['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1373
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['htmlEscape', "htmltools" /* PkgName.HtmlTools */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.Pure, sig: [['text', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['attribute', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1374
|
+
/* these escape the values they interpolate, but not the template they are handed */
|
|
1375
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['sqlInterpolate', "DBI" /* PkgName.Dbi */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, sig: [['conn', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Handle], ['sql', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['...', built_in_props_1.ArgProp.Value], ['.dots', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1376
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("glue" /* PkgName.Glue */, ['glue_sql', 'glue_data_sql']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, sig: [['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['.con', built_in_props_1.ArgProp.Handle], ['.envir', built_in_props_1.ArgProp.Value], ['.na', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1377
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['sqldf', "sqldf" /* PkgName.Sqldf */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.NonDet, tags: [built_in_props_1.SemanticCallTag.Database], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['stringsAsFactors', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['row.names', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['envir', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['method', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1378
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll('RODBC', ['sqlQuery', 'odbcQuery']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.NonDet, tags: [built_in_props_1.SemanticCallTag.Database], sig: [['channel', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Handle], ['query', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['...', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1316
1379
|
{ type: 'function', names: [identifier_1.Identifier.from(['sql', "dplyr" /* PkgName.Dplyr */]), identifier_1.Identifier.from(['sql', "dbplyr" /* PkgName.DbPlyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Database], sig: [['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable]] }, assumePrimitive: false },
|
|
1317
1380
|
{ type: 'function', names: [identifier_1.Identifier.from(['HTML', "shiny" /* PkgName.Shiny */]), identifier_1.Identifier.from(['HTML', "htmltools" /* PkgName.HtmlTools */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Html], sig: [['text', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1381
|
+
{ type: 'function', names: [identifier_1.Identifier.from(['markdown', "shiny" /* PkgName.Shiny */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Html], sig: [['mds', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['extensions', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['.noWS', built_in_props_1.ArgProp.Flag], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1318
1382
|
{ type: 'function', names: [identifier_1.Identifier.from(['insertUI', "shiny" /* PkgName.Shiny */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Html], sig: [['selector', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['where', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['ui', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['immediate', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['session', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1319
|
-
{ type: 'function', names:
|
|
1383
|
+
{ type: 'function', names: identifier_1.Identifier.fromAllIn(["htmlwidgets" /* PkgName.HtmlWidgets */, 'DT'], ['JS']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.JavaScript], sig: [['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable]] }, assumePrimitive: false },
|
|
1320
1384
|
{ type: 'function', names: [identifier_1.Identifier.from(['runjs', "shinyjs" /* PkgName.ShinyJs */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.JavaScript], sig: [['code', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable]] }, assumePrimitive: false },
|
|
1321
1385
|
{ type: 'function', names: [identifier_1.Identifier.from(['html', "shinyjs" /* PkgName.ShinyJs */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.Html], sig: [['id', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['html', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['add', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['selector', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['asis', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1322
1386
|
{ type: 'function', names: [identifier_1.Identifier.from(['extendShinyjs', "shinyjs" /* PkgName.ShinyJs */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.JavaScript, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['script', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['text', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable], ['functions', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
@@ -1342,12 +1406,14 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1342
1406
|
{ type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['tempfile', 'tempdir']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { tags: [built_in_props_1.SemanticCallTag.TempFile], sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1343
1407
|
{ type: 'function', names: [...identifier_1.Identifier.fromAll("fs" /* PkgName.Fs */, ['file_temp', 'path_temp']), ...identifier_1.Identifier.fromAll("withr" /* PkgName.Withr */, ['local_tempfile', 'with_tempfile', 'local_tempdir', 'with_tempdir'])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, tags: [built_in_props_1.SemanticCallTag.TempFile], sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1344
1408
|
/* wrappers that run the expression they are handed; `observe`/`render*` are left out, they yield a handle instead */
|
|
1345
|
-
{ type: 'function', names: identifier_1.Identifier.fromAll("shiny" /* PkgName.Shiny */, ['reactive', 'eventReactive', 'bindEvent', 'bindCache', 'isolate', 'req', 'debounce', 'throttle', '
|
|
1409
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("shiny" /* PkgName.Shiny */, ['reactive', 'eventReactive', 'bindEvent', 'bindCache', 'isolate', 'req', 'debounce', 'throttle', 'reactiveValuesToList', 'freezeReactiveVal']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.MayPure, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1410
|
+
/* their content is whatever the app sets later on, `v(input$x)` included */
|
|
1411
|
+
{ type: 'function', names: identifier_1.Identifier.fromAll("shiny" /* PkgName.Shiny */, ['reactiveVal', 'reactiveValues']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.NonDet, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1346
1412
|
/* assembling a cohort keeps the data of its source; `filter` is registered above, dplyr holds that name */
|
|
1347
1413
|
{ type: 'function', names: identifier_1.Identifier.fromAll("cohortBuilder" /* PkgName.CohortBuilder */, ['cohort', 'set_source', 'add_source', 'update_source', 'add_filter', 'update_filter', 'rm_filter', 'bind_key', 'bind_keys', 'as.tblist', 'tblist', 'step', 'add_step', 'rm_step', 'run', 'restore']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { libFn: true, props: built_in_props_1.CallProp.Pure, sig: [['...', built_in_props_1.ArgProp.Forced]] }, assumePrimitive: false },
|
|
1348
1414
|
/* they are all mapped to `<-` but we separate super assignments */
|
|
1349
1415
|
{ type: 'replacement', suffixes: ['<-', '<<-'], names: ['[', '[[', ...identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['names', 'dimnames', 'attributes', 'attr', 'class', 'levels', 'rownames', 'colnames', 'environment', 'length', 'dim'])], config: { readIndices: true, props: built_in_props_1.CallProp.Scope } },
|
|
1350
|
-
{ type: 'replacement', suffixes: ['<-', '<<-'], names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['body', 'formals']), config: { readIndices: true, props: built_in_props_1.CallProp.Scope | built_in_props_1.CallProp.Lang } },
|
|
1416
|
+
{ type: 'replacement', suffixes: ['<-', '<<-'], names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['body', 'formals']), config: { readIndices: true, props: built_in_props_1.CallProp.Scope | built_in_props_1.CallProp.Lang, sig: [['fun', built_in_props_1.ArgProp.Value], ['value', built_in_props_1.ArgProp.Value | built_in_props_1.ArgProp.Injectable]] } },
|
|
1351
1417
|
{ type: 'replacement', suffixes: ['<-', '<<-'], names: [identifier_1.Identifier.from(['method', "S7" /* PkgName.S7 */])], config: { readIndices: true, constructName: 's7' } },
|
|
1352
1418
|
{ type: 'replacement', suffixes: ['<-', '<<-'], names: ['$', '@'], config: { readIndices: false, props: built_in_props_1.CallProp.Scope } },
|
|
1353
1419
|
/* the string and shape functions R declares formals for, restated one by one: the group above gives them
|
|
@@ -1355,36 +1421,37 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1355
1421
|
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['sprintf', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['fmt', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
1356
1422
|
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['format', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { ambient: PrintDispatched, props: built_in_props_1.CallProp.Pure, sig: SigXDots }, assumePrimitive: true },
|
|
1357
1423
|
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['grep', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['pattern', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['ignore.case', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['perl', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['value', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['fixed', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['useBytes', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['invert', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: true },
|
|
1358
|
-
{ overrides: true, type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['sub', 'gsub']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['pattern', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['replacement', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['ignore.case', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['perl', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['fixed', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['useBytes', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: true },
|
|
1359
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['substr', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['start', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['stop', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
1360
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['substring', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['text', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['first', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['last', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
1361
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['strsplit', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['split', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['fixed', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['perl', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['useBytes', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: true },
|
|
1362
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['trimws', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['which', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['whitespace', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true, evalHandler: built_in_eval_name_1.BuiltInEvalName.StringFn },
|
|
1424
|
+
{ overrides: true, type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['sub', 'gsub']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Edits], sig: [['pattern', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['replacement', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['ignore.case', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['perl', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['fixed', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['useBytes', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: true },
|
|
1425
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['substr', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Edits], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['start', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['stop', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
1426
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['substring', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Edits], sig: [['text', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['first', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['last', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
1427
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['strsplit', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Edits], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['split', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['fixed', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['perl', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['useBytes', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: true },
|
|
1428
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['trimws', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Edits], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['which', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['whitespace', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true, evalHandler: built_in_eval_name_1.BuiltInEvalName.StringFn },
|
|
1429
|
+
{ overrides: true, type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['chartr', 'regmatches']), processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Edits] }, assumePrimitive: true },
|
|
1363
1430
|
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['strtoi', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['base', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
1364
1431
|
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['matrix', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['data', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['nrow', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['ncol', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['byrow', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['dimnames', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
1365
1432
|
/* the tidyverse verbs, under the names R declares them with. They keep the data mask the group above
|
|
1366
1433
|
gives them; what this adds is which argument is the data and what the further ones are called */
|
|
1367
|
-
{ overrides: true, type: 'function', names: identifier_1.Identifier.fromAll("dplyr" /* PkgName.Dplyr */, ['mutate', 'select', 'rename']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, sig: SigDataDots }, assumePrimitive: false },
|
|
1434
|
+
{ overrides: true, type: 'function', names: identifier_1.Identifier.fromAll("dplyr" /* PkgName.Dplyr */, ['mutate', 'select', 'rename']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: SigDataDots }, assumePrimitive: false },
|
|
1368
1435
|
/* `transmute` is one of them and deprecated on top of it */
|
|
1369
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['transmute', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, sig: SigDataDots }, assumePrimitive: false },
|
|
1436
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['transmute', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: SigDataDots }, assumePrimitive: false },
|
|
1370
1437
|
{ type: 'function', names: [identifier_1.Identifier.from(['filter', "stats" /* PkgName.Stats */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['filter', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['method', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['sides', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['circular', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['init', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1371
1438
|
{ type: 'function', names: [identifier_1.Identifier.from(['step', "stats" /* PkgName.Stats */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Prints], sig: [['object', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['scope', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['scale', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['direction', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['trace', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['steps', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['k', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1372
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['filter', "dplyr" /* PkgName.Dplyr */]), identifier_1.Identifier.from(['slice', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, sig: [...SigDataDots, ['.by', built_in_props_1.ArgProp.Value], ['.preserve', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1373
|
-
{ overrides: true, type: 'function', names: identifier_1.Identifier.fromAll("dplyr" /* PkgName.Dplyr */, ['summarise', 'summarize']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, sig: [...SigDataDots, ['.by', built_in_props_1.ArgProp.Value], ['.groups', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1374
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['arrange', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, sig: [...SigDataDots, ['.by_group', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1375
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['group_by', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, sig: [...SigDataDots, ['.add', built_in_props_1.ArgProp.Flag], ['.drop', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1376
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['distinct', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, sig: [...SigDataDots, ['.keep_all', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1377
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['relocate', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, sig: [...SigDataDots, ['.before', built_in_props_1.ArgProp.Value], ['.after', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1378
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['count', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, sig: [['x', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value], ['wt', built_in_props_1.ArgProp.Value], ['sort', built_in_props_1.ArgProp.Flag], ['name', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1379
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['pull', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, sig: [['.data', built_in_props_1.ArgProp.Value], ['var', built_in_props_1.ArgProp.Value], ['name', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1380
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['nest', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, sig: SigDataDots }, assumePrimitive: false },
|
|
1439
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['filter', "dplyr" /* PkgName.Dplyr */]), identifier_1.Identifier.from(['slice', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [...SigDataDots, ['.by', built_in_props_1.ArgProp.Value], ['.preserve', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1440
|
+
{ overrides: true, type: 'function', names: identifier_1.Identifier.fromAll("dplyr" /* PkgName.Dplyr */, ['summarise', 'summarize']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [...SigDataDots, ['.by', built_in_props_1.ArgProp.Value], ['.groups', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1441
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['arrange', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [...SigDataDots, ['.by_group', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1442
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['group_by', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [...SigDataDots, ['.add', built_in_props_1.ArgProp.Flag], ['.drop', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1443
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['distinct', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [...SigDataDots, ['.keep_all', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1444
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['relocate', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [...SigDataDots, ['.before', built_in_props_1.ArgProp.Value], ['.after', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1445
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['count', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [['x', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value], ['wt', built_in_props_1.ArgProp.Value], ['sort', built_in_props_1.ArgProp.Flag], ['name', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1446
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['pull', "dplyr" /* PkgName.Dplyr */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [['.data', built_in_props_1.ArgProp.Value], ['var', built_in_props_1.ArgProp.Value], ['name', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1447
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['nest', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: SigDataDots }, assumePrimitive: false },
|
|
1381
1448
|
/* `drop_na` names its first argument `data`, not `.data`, so it gets a line of its own */
|
|
1382
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['drop_na', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, sig: [['data', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1383
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['pivot_longer', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, sig: [['data', built_in_props_1.ArgProp.Value], ['cols', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value], ['names_to', built_in_props_1.ArgProp.Value], ['values_to', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1384
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['pivot_wider', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, sig: [['data', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value], ['names_from', built_in_props_1.ArgProp.Value], ['values_from', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1385
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['separate', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, sig: [['data', built_in_props_1.ArgProp.Value], ['col', built_in_props_1.ArgProp.Value], ['into', built_in_props_1.ArgProp.Value], ['sep', built_in_props_1.ArgProp.Value], ['remove', built_in_props_1.ArgProp.Flag], ['convert', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1386
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['unite', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, sig: [['data', built_in_props_1.ArgProp.Value], ['col', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value], ['sep', built_in_props_1.ArgProp.Value], ['remove', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1387
|
-
{ overrides: true, type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['subset', 'transform']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, sig: [['x', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1449
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['drop_na', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [['data', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1450
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['pivot_longer', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [['data', built_in_props_1.ArgProp.Value], ['cols', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value], ['names_to', built_in_props_1.ArgProp.Value], ['values_to', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1451
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['pivot_wider', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [['data', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value], ['names_from', built_in_props_1.ArgProp.Value], ['values_from', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1452
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['separate', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [['data', built_in_props_1.ArgProp.Value], ['col', built_in_props_1.ArgProp.Value], ['into', built_in_props_1.ArgProp.Value], ['sep', built_in_props_1.ArgProp.Value], ['remove', built_in_props_1.ArgProp.Flag], ['convert', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1453
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['unite', "tidyr" /* PkgName.TidyR */])], processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [['data', built_in_props_1.ArgProp.Value], ['col', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value], ['sep', built_in_props_1.ArgProp.Value], ['remove', built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1454
|
+
{ overrides: true, type: 'function', names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, ['subset', 'transform']), processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms], sig: [['x', built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1388
1455
|
/* these share the `f(x, ...)` shape above, but R puts one more formal before the `...`: leaving it out
|
|
1389
1456
|
would shift every position after it, so each names its own */
|
|
1390
1457
|
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['sort', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Pure, sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['decreasing', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: true },
|
|
@@ -1399,11 +1466,24 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1399
1466
|
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['readLines', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Reads], sig: [['con', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['n', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['ok', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['warn', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['encoding', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['skipNul', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1400
1467
|
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['writeLines', "base" /* PkgName.Base */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes, built_in_props_1.SemanticCallTag.Prints], sig: [['text', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['con', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['sep', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['useBytes', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag]] }, assumePrimitive: false },
|
|
1401
1468
|
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['write.table', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['x', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['file', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['append', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['quote', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['sep', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1402
|
-
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['download.file', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['url', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['destfile', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['method', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['quiet', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['mode', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['cacheOK', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['extra', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['headers', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1469
|
+
{ overrides: true, type: 'function', names: [identifier_1.Identifier.from(['download.file', "utils" /* PkgName.Utils */])], processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { props: built_in_props_1.CallProp.Invisible, tags: [built_in_props_1.SemanticCallTag.Network, built_in_props_1.SemanticCallTag.File, built_in_props_1.SemanticCallTag.Writes], sig: [['url', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['destfile', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Resource], ['method', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['quiet', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['mode', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['cacheOK', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Flag], ['extra', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['headers', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value], ['...', built_in_props_1.ArgProp.Forced | built_in_props_1.ArgProp.Value]] }, assumePrimitive: false },
|
|
1470
|
+
/* deprecated and defunct functions of base R */
|
|
1471
|
+
{
|
|
1472
|
+
type: 'function',
|
|
1473
|
+
processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs,
|
|
1474
|
+
config: { tags: [built_in_props_1.SemanticCallTag.Deprecated] },
|
|
1475
|
+
names: identifier_1.Identifier.fromAll("base" /* PkgName.Base */, [
|
|
1476
|
+
'plclust', 'La.eigen', 'tetragamma', 'pentagamma', 'package.description', 'gammaCody', 'manglePackageName',
|
|
1477
|
+
'.readRDS', '.saveRDS', 'mem.limits', 'trySilent', 'traceOn', 'traceOff', 'print.coefmat', 'anovalist.lm',
|
|
1478
|
+
'lm.fit.null', 'lm.wfit.null', 'glm.fit.null', 'tkcmd', 'tkfile.tail', 'tkfile.dir', 'tkopen', 'tkclose',
|
|
1479
|
+
'tkputs', 'tkread', 'Rd_parse', 'CRAN.packages', 'zip.file.extract', 'real', 'as.real', 'is.real',
|
|
1480
|
+
'.find.package', '.path.package'
|
|
1481
|
+
])
|
|
1482
|
+
},
|
|
1403
1483
|
{ type: 'function', processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Deprecated] }, names: identifier_1.Identifier.fromAll("dplyr" /* PkgName.Dplyr */, ['id', 'progress_estimated', 'add_rownames', 'tbl_df', 'src_local', 'summarise_each', 'summarize_', 'summarise_', 'slice_', 'select_vars_', 'select_', 'rename_vars_', 'rename_', 'transmute_', 'tally_', 'mutate_', 'group_indices_', 'group_by_', 'funs_', 'filter_', 'do_', 'distinct_', 'count_', 'arrange_', 'add_tally_', 'add_count_', 'funs', 'combine', 'changes', 'location', 'eval_tbls2', 'eval_tbls', 'compare_tbls2', 'compare_tbls', 'bench_tbls', 'current_vars', 'select_var', 'rename_vars', 'select_vars', 'failwith', 'all_equal']) },
|
|
1404
1484
|
{ type: 'function', processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Deprecated] }, names: [identifier_1.Identifier.make('fct_explicit_na', "forcats" /* PkgName.Forecats */)] },
|
|
1405
1485
|
/* deprecated, but still data-masking: restating the mask keeps the column names out of the variable resolution */
|
|
1406
|
-
{ overrides: true, type: 'function', processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure }, names: [...identifier_1.Identifier.fromAll("dplyr" /* PkgName.Dplyr */, ['with_groups']), ...identifier_1.Identifier.fromAll("tidyr" /* PkgName.TidyR */, ['spread', 'separate_rows', 'gather', 'extract'])] },
|
|
1486
|
+
{ overrides: true, type: 'function', processor: built_in_proc_name_1.BuiltInProcName.Default, config: { markArgsAsMasked: known_call_handling_1.NseArguments.AllButFirst, props: built_in_props_1.CallProp.Pure, tags: [built_in_props_1.SemanticCallTag.Transforms] }, names: [...identifier_1.Identifier.fromAll("dplyr" /* PkgName.Dplyr */, ['with_groups']), ...identifier_1.Identifier.fromAll("tidyr" /* PkgName.TidyR */, ['spread', 'separate_rows', 'gather', 'extract'])] },
|
|
1407
1487
|
{ type: 'function', processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Deprecated] }, names: identifier_1.Identifier.fromAll("ggplot2" /* PkgName.GgPlot2 */, ['gg_dep', 'is.ggplot', 'guide_train', 'aes_auto', 'aes_']) },
|
|
1408
1488
|
{ type: 'function', processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Deprecated] }, names: identifier_1.Identifier.fromAll("plyr" /* PkgName.Plyr */, ['liply', 'isplit2']) },
|
|
1409
1489
|
{ type: 'function', processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Deprecated] }, names: identifier_1.Identifier.fromAll("purrr" /* PkgName.Purrr */, ['reduce_right', 'map_raw', 'update_list', 'when', 'rdunif', 'rbernoulli', 'splice', 'rerun', 'prepend', 'at_depth', 'cross', 'list_along']) },
|
|
@@ -1412,7 +1492,7 @@ exports.WrittenBuiltinDefinitions = [
|
|
|
1412
1492
|
{ type: 'function', processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Deprecated] }, names: identifier_1.Identifier.fromAll("tibble" /* PkgName.Tibble */, ['is.tibble', 'trunc_mat', 'frame_data', 'as.tibble', 'as_data_frame', 'lst_', 'data_frame_', 'tibble_', 'data_frame']) },
|
|
1413
1493
|
{ type: 'function', processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: { tags: [built_in_props_1.SemanticCallTag.Deprecated] }, names: identifier_1.Identifier.fromAll("tidyr" /* PkgName.TidyR */, ['unnest_', 'unite_', 'spread_', 'separate_', 'separate_rows_', 'nest_', 'gather_', 'fill_', 'extract_', 'nesting_', 'crossing_', 'expand_', 'drop_na_', 'complete_', 'extract_numeric']) },
|
|
1414
1494
|
/* superseded or experimental in their lifecycle, which is no deprecation */
|
|
1415
|
-
{ type: 'function', processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: {}, names: [...identifier_1.Identifier.fromAll("dplyr" /* PkgName.Dplyr */, ['top_n', 'sample_n', 'recode', 'group_nest', 'do', 'all_vars', 'vars'
|
|
1495
|
+
{ type: 'function', processor: built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs, config: {}, names: [...identifier_1.Identifier.fromAll("dplyr" /* PkgName.Dplyr */, ['top_n', 'sample_n', 'recode', 'group_nest', 'do', 'all_vars', 'vars']), ...identifier_1.Identifier.fromAll("purrr" /* PkgName.Purrr */, ['transpose', 'as_vector', 'map_dfr', 'flatten']), ...identifier_1.Identifier.fromAll("tibble" /* PkgName.Tibble */, ['repair_names', 'set_tidy_names', 'tidy_names']), ...identifier_1.Identifier.fromAll("tidyr" /* PkgName.TidyR */, ['nest_legacy'])] },
|
|
1416
1496
|
/* deprecated, but only when when a certain condition is met (e.g. specific argument value)
|
|
1417
1497
|
https://tidyverse.org/blog/2025/09/ggplot2-4-0-0/#violin--quantiles
|
|
1418
1498
|
the quantiles moved to the stat, and the geom only kept arguments styling them, so neither is a rename of
|