@eagleoutice/flowr 2.13.14 → 2.13.16

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.
Files changed (166) hide show
  1. package/README.md +25 -31
  2. package/abstract-interpretation/data-frame/resolve-args.js +11 -12
  3. package/abstract-interpretation/unsupported-functions.d.ts +1 -0
  4. package/abstract-interpretation/unsupported-functions.js +1 -0
  5. package/benchmark/summarizer/second-phase/graph.d.ts +23 -0
  6. package/benchmark/summarizer/second-phase/graph.js +47 -14
  7. package/cli/repl/commands/repl-cfg.js +2 -42
  8. package/cli/repl/commands/repl-clipboard.d.ts +7 -0
  9. package/cli/repl/commands/repl-clipboard.js +53 -0
  10. package/cli/repl/commands/repl-dataflow.js +5 -70
  11. package/cli/repl/commands/repl-normalize.js +3 -51
  12. package/cli/repl/commands/repl-query.js +37 -2
  13. package/cli/repl/core.js +5 -2
  14. package/control-flow/cfg-dead-code.js +5 -29
  15. package/control-flow/control-flow-graph.d.ts +2 -0
  16. package/control-flow/control-flow-graph.js +2 -0
  17. package/control-flow/diff-cfg.js +2 -56
  18. package/control-flow/semantic-cfg-guided-visitor.d.ts +7 -0
  19. package/control-flow/semantic-cfg-guided-visitor.js +14 -0
  20. package/control-flow/useless-loop.js +4 -26
  21. package/core/steps/all/core/10-normalize.d.ts +8 -0
  22. package/core/steps/all/core/10-normalize.js +10 -8
  23. package/core/steps/all/core/11-normalize-tree-sitter.d.ts +5 -7
  24. package/core/steps/all/core/11-normalize-tree-sitter.js +2 -9
  25. package/data/r-base-packages.generated.d.ts +1 -0
  26. package/data/r-base-packages.generated.js +5 -3
  27. package/dataflow/environments/built-in-config.d.ts +9 -1
  28. package/dataflow/environments/built-in-proc-name.d.ts +2 -0
  29. package/dataflow/environments/built-in-proc-name.js +2 -0
  30. package/dataflow/environments/built-in-props.d.ts +4 -0
  31. package/dataflow/environments/built-in-props.js +3 -3
  32. package/dataflow/environments/built-in.d.ts +4 -2
  33. package/dataflow/environments/built-in.js +53 -3
  34. package/dataflow/environments/data-masking-functions.d.ts +3 -4
  35. package/dataflow/environments/data-masking-functions.js +7 -8
  36. package/dataflow/environments/default-builtin-config.d.ts +92 -12
  37. package/dataflow/environments/default-builtin-config.js +86 -43
  38. package/dataflow/environments/environment.d.ts +5 -0
  39. package/dataflow/environments/environment.js +17 -12
  40. package/dataflow/environments/identifier.d.ts +3 -0
  41. package/dataflow/eval/resolve/alias-tracking.js +4 -7
  42. package/dataflow/eval/resolve/node-value.d.ts +51 -0
  43. package/dataflow/eval/resolve/node-value.js +71 -0
  44. package/dataflow/eval/resolve/resolve-argument.js +10 -7
  45. package/dataflow/eval/resolve/resolve-operators.js +1 -2
  46. package/dataflow/eval/values/general.d.ts +4 -0
  47. package/dataflow/eval/values/general.js +14 -0
  48. package/dataflow/eval/values/r-value.d.ts +15 -0
  49. package/dataflow/eval/values/r-value.js +27 -1
  50. package/dataflow/extractor.js +2 -0
  51. package/dataflow/fn/higher-order-function.d.ts +1 -1
  52. package/dataflow/fn/higher-order-function.js +22 -4
  53. package/dataflow/graph/call-graph.d.ts +1 -1
  54. package/dataflow/graph/call-graph.js +1 -1
  55. package/dataflow/graph/df-helper.d.ts +2 -2
  56. package/dataflow/graph/df-helper.js +1 -1
  57. package/dataflow/graph/diff-dataflow-graph.js +3 -55
  58. package/dataflow/graph/graph-helper.d.ts +1 -0
  59. package/dataflow/graph/graph-helper.js +1 -0
  60. package/dataflow/graph/graph.d.ts +5 -0
  61. package/dataflow/graph/graph.js +27 -0
  62. package/dataflow/graph/vertex.d.ts +5 -0
  63. package/dataflow/graph/vertex.js +5 -0
  64. package/dataflow/internal/linker.d.ts +23 -0
  65. package/dataflow/internal/linker.js +70 -1
  66. package/dataflow/internal/process/functions/call/built-in/built-in-access.js +4 -1
  67. package/dataflow/internal/process/functions/call/built-in/built-in-apply.d.ts +2 -0
  68. package/dataflow/internal/process/functions/call/built-in/built-in-apply.js +8 -29
  69. package/dataflow/internal/process/functions/call/built-in/built-in-assignment.js +39 -6
  70. package/dataflow/internal/process/functions/call/built-in/built-in-envir-utils.js +10 -22
  71. package/dataflow/internal/process/functions/call/built-in/built-in-eval.js +29 -53
  72. package/dataflow/internal/process/functions/call/built-in/built-in-if-then-else.js +4 -5
  73. package/dataflow/internal/process/functions/call/built-in/built-in-library.js +7 -7
  74. package/dataflow/internal/process/functions/call/built-in/built-in-load.js +2 -3
  75. package/dataflow/internal/process/functions/call/built-in/built-in-pipe.js +19 -12
  76. package/dataflow/internal/process/functions/call/built-in/built-in-purrr-formula.js +2 -1
  77. package/dataflow/internal/process/functions/call/built-in/built-in-quote.d.ts +3 -0
  78. package/dataflow/internal/process/functions/call/built-in/built-in-quote.js +69 -52
  79. package/dataflow/internal/process/functions/call/built-in/built-in-recall.js +2 -2
  80. package/dataflow/internal/process/functions/call/built-in/built-in-register-hook.js +2 -8
  81. package/dataflow/internal/process/functions/call/built-in/built-in-rm.js +2 -8
  82. package/dataflow/internal/process/functions/call/built-in/built-in-s-seven-new-generic.js +2 -2
  83. package/dataflow/internal/process/functions/call/built-in/built-in-s-three-dispatch.js +2 -2
  84. package/dataflow/internal/process/functions/call/built-in/built-in-source.d.ts +6 -1
  85. package/dataflow/internal/process/functions/call/built-in/built-in-source.js +31 -5
  86. package/dataflow/internal/process/functions/call/built-in/built-in-special-bin-op.d.ts +5 -4
  87. package/dataflow/internal/process/functions/call/built-in/built-in-special-bin-op.js +7 -10
  88. package/dataflow/internal/process/functions/call/built-in/built-in-stack-env.d.ts +6 -1
  89. package/dataflow/internal/process/functions/call/built-in/built-in-stack-env.js +20 -3
  90. package/dataflow/internal/process/functions/call/built-in/built-in-stop-if-not.js +6 -8
  91. package/dataflow/internal/process/functions/call/built-in/built-in-string-template.d.ts +25 -0
  92. package/dataflow/internal/process/functions/call/built-in/built-in-string-template.js +105 -0
  93. package/dataflow/internal/process/functions/call/built-in/built-in-try-catch.js +1 -27
  94. package/dataflow/internal/process/functions/call/built-in/built-in-while-loop.js +4 -5
  95. package/dataflow/internal/process/functions/call/built-in/built-in-with.js +1 -1
  96. package/dataflow/internal/process/functions/call/deferred.d.ts +48 -0
  97. package/dataflow/internal/process/functions/call/deferred.js +149 -0
  98. package/dataflow/internal/process/functions/call/known-call-handling.d.ts +13 -12
  99. package/dataflow/internal/process/functions/call/known-call-handling.js +35 -35
  100. package/dataflow/internal/process/functions/call/named-call-handling.d.ts +1 -1
  101. package/dataflow/internal/process/functions/call/named-call-handling.js +8 -4
  102. package/dataflow/internal/process/functions/call/nse.d.ts +29 -0
  103. package/dataflow/internal/process/functions/call/nse.js +88 -0
  104. package/dataflow/internal/process/functions/call/quoted.d.ts +30 -0
  105. package/dataflow/internal/process/functions/call/quoted.js +191 -0
  106. package/documentation/doc-util/doc-types.js +15 -9
  107. package/documentation/wiki-dataflow-graph.js +8 -0
  108. package/linter/linter-format.d.ts +1 -0
  109. package/linter/linter-format.js +1 -0
  110. package/linter/rules/deprecated-functions.js +9 -3
  111. package/linter/rules/seeded-randomness.js +2 -3
  112. package/linter/rules/undefined-symbol.js +10 -1
  113. package/package.json +1 -1
  114. package/project/plugins/file-plugins/flowr-analyzer-description-file-plugin.d.ts +6 -0
  115. package/project/plugins/file-plugins/flowr-analyzer-description-file-plugin.js +17 -1
  116. package/project/plugins/file-plugins/notebooks/flowr-analyzer-qmd-file-plugin.d.ts +2 -11
  117. package/project/plugins/file-plugins/notebooks/flowr-analyzer-qmd-file-plugin.js +3 -15
  118. package/project/plugins/file-plugins/notebooks/flowr-analyzer-rmarkdown-file-plugin.d.ts +16 -0
  119. package/project/plugins/file-plugins/notebooks/flowr-analyzer-rmarkdown-file-plugin.js +26 -0
  120. package/project/plugins/file-plugins/notebooks/flowr-analyzer-rmd-file-plugin.d.ts +2 -11
  121. package/project/plugins/file-plugins/notebooks/flowr-analyzer-rmd-file-plugin.js +3 -15
  122. package/project/plugins/loading-order-plugins/flowr-analyzer-loading-order-description-file-plugin.js +4 -10
  123. package/project/plugins/package-version-plugins/flowr-analyzer-meta-description-file-plugin.js +2 -9
  124. package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-description-file-plugin.js +2 -9
  125. package/project/plugins/package-version-plugins/flowr-analyzer-package-versions-sigdb-plugin.js +1 -1
  126. package/project/sigdb/reader.d.ts +9 -0
  127. package/project/sigdb/reader.js +30 -0
  128. package/queries/catalog/absint-query/absint-query-format.js +1 -1
  129. package/queries/catalog/does-call-query/does-call-query-format.js +2 -1
  130. package/queries/catalog/input-sources-query/input-sources-query-format.js +2 -2
  131. package/queries/catalog/inspect-exceptions-query/inspect-exception-query-executor.d.ts +0 -12
  132. package/queries/catalog/inspect-exceptions-query/inspect-exception-query-executor.js +2 -37
  133. package/queries/catalog/inspect-exceptions-query/inspect-exception-query-format.js +1 -1
  134. package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-executor.js +2 -23
  135. package/queries/catalog/inspect-higher-order-query/inspect-higher-order-query-format.js +1 -1
  136. package/queries/catalog/inspect-recursion-query/inspect-recursion-query-executor.js +2 -2
  137. package/queries/catalog/inspect-recursion-query/inspect-recursion-query-format.js +1 -1
  138. package/queries/catalog/location-map-query/location-map-query-format.js +1 -1
  139. package/queries/catalog/origin-query/origin-query-format.js +1 -1
  140. package/queries/catalog/provenance-query/provenance-query-format.js +1 -1
  141. package/queries/catalog/resolve-value-query/resolve-value-query-format.js +1 -1
  142. package/queries/query-function-filter.d.ts +21 -0
  143. package/queries/query-function-filter.js +48 -0
  144. package/r-bridge/data/data.d.ts +13 -3
  145. package/r-bridge/data/data.js +15 -3
  146. package/r-bridge/lang-4.x/ast/model/nodes/info/r-delimiter.d.ts +1 -0
  147. package/r-bridge/lang-4.x/ast/model/nodes/info/r-delimiter.js +1 -0
  148. package/r-bridge/lang-4.x/ast/model/nodes/r-function-call.d.ts +2 -0
  149. package/r-bridge/lang-4.x/ast/model/nodes/r-function-call.js +4 -0
  150. package/search/flowr-search-filters.d.ts +5 -1
  151. package/search/flowr-search-filters.js +31 -21
  152. package/search/search-executor/search-enrichers.d.ts +24 -4
  153. package/search/search-executor/search-enrichers.js +22 -9
  154. package/search/search-executor/search-transformer.js +1 -1
  155. package/slicing/criterion/parse.d.ts +1 -0
  156. package/slicing/criterion/parse.js +1 -0
  157. package/util/diff-graph.d.ts +13 -0
  158. package/util/diff-graph.js +64 -1
  159. package/util/files.js +9 -8
  160. package/util/r-base-packages.d.ts +2 -0
  161. package/util/r-base-packages.js +3 -1
  162. package/util/r-version.d.ts +2 -0
  163. package/util/r-version.js +2 -0
  164. package/util/record.d.ts +1 -0
  165. package/util/record.js +1 -0
  166. package/util/version.js +1 -1
@@ -41,4 +41,5 @@ export declare const RBasePackageStore: {
41
41
  readonly tools: readonly [".print.via.format", "Adobe_glyphs", "CRAN_aliases_db", "CRAN_archive_db", "CRAN_authors_db", "CRAN_check_details", "CRAN_check_issues", "CRAN_check_results", "CRAN_current_db", "CRAN_package_db", "CRAN_rdxrefs_db", "HTMLheader", "R", "R_user_dir", "Rcmd", "Rd2HTML", "Rd2ex", "Rd2latex", "Rd2txt", "Rd2txt_options", "RdTextFilter", "Rd_db", "Rdiff", "Rdindex", "SIGCHLD", "SIGCONT", "SIGHUP", "SIGINT", "SIGKILL", "SIGQUIT", "SIGSTOP", "SIGTERM", "SIGTSTP", "SIGUSR1", "SIGUSR2", "SweaveTeXFilter", "[.check_details_changes", "add_datalist", "analyze_license", "as.Rconcordance", "as.Rconcordance.default", "as.character.Rconcordance", "as.character.Rd", "as.matrix.check_url_db", "assertCondition", "assertError", "assertWarning", "base_aliases_db", "base_rdxrefs_db", "bibstyle", "buildVignette", "buildVignettes", "charset_to_Unicode", "checkDocFiles", "checkDocStyle", "checkFF", "checkMD5sums", "checkPoFile", "checkPoFiles", "checkRd", "checkRdContents", "checkRdaFiles", "checkReplaceFuns", "checkS3methods", "checkTnF", "checkVignettes", "check_package_dois", "check_package_urls", "check_packages_in_dir", "check_packages_in_dir_changes", "check_packages_in_dir_details", "codoc", "codocClasses", "codocData", "compactPDF", "delimMatch", "deparseLatex", "dependsOnPkgs", "encoded_text_to_latex", "file_ext", "file_path_as_absolute", "file_path_sans_ext", "findHTMLlinks", "find_gs_cmd", "followConcordance", "format.CRAN_package_reverse_dependencies_and_views", "format.checkDocFiles", "format.checkDocStyle", "format.checkFF", "format.checkRdContents", "format.checkReplaceFuns", "format.checkS3methods", "format.checkTnF", "format.checkVignettes", "format.check_Rd_line_widths", "format.check_Rd_metadata", "format.check_Rd_xrefs", "format.check_RegSym_calls", "format.check_S3_methods_needing_delayed_registration", "format.check_T_and_F", "format.check_bogus_return", "format.check_code_usage_in_package", "format.check_compiled_code", "format.check_depdef", "format.check_details", "format.check_details_changes", "format.check_doi_db", "format.check_dotInternal", "format.check_make_vars", "format.check_nonAPI_calls", "format.check_package_CRAN_incoming", "format.check_package_code_assign_to_globalenv", "format.check_package_code_attach", "format.check_package_code_startup_functions", "format.check_package_datalist", "format.check_package_datasets", "format.check_package_depends", "format.check_package_description", "format.check_package_description2", "format.check_package_description_encoding", "format.check_package_license", "format.check_packages_used", "format.check_so_symbols", "format.check_url_db", "format.codocClasses", "format.codocData", "format.compactPDF", "format.news_db_from_md", "format.subdir_tests", "format.summarize_CRAN_check_status", "format.undoc", "getBibstyle", "getDepList", "getVignetteInfo", "installFoundDepends", "langElts", "latexToUtf8", "list_files_with_exts", "list_files_with_type", "loadPkgRdMacros", "loadRdMacros", "make_translations_pkg", "makevars_site", "makevars_user", "matchConcordance", "md5sum", "nonS3methods", "package.dependencies", "package_dependencies", "package_native_routine_registration_skeleton", "parseLatex", "parse_Rd", "parse_URI_reference", "pkg2HTML", "pkgDepends", "pkgVignettes", "print.CRAN_package_reverse_dependencies_and_views", "print.LaTeX", "print.Rconcordance", "print.Rd", "print.activeConcordance", "print.checkRd", "print.check_demo_index", "print.check_details", "print.check_details_changes", "print.check_doi_db", "print.check_package_CRAN_incoming", "print.check_package_code_syntax", "print.check_package_compact_datasets", "print.check_package_description", "print.check_packages_in_dir", "print.check_po_files", "print.check_pragmas", "print.check_url_db", "print.check_vignette_index", "print.codoc", "print.summarize_CRAN_check_status", "print.xgettext", "print.xngettext", "pskill", "psnice", "read.00Index", "resaveRdaFiles", "sha256sum", "showNonASCII", "showNonASCIIfile", "standard_package_names", "startDynamicHelp", "summarize_CRAN_check_status", "summarize_check_packages_in_dir_depends", "summarize_check_packages_in_dir_results", "summarize_check_packages_in_dir_timings", "summary.check_packages_in_dir", "testInstalledBasic", "testInstalledPackage", "testInstalledPackages", "texi2dvi", "texi2pdf", "toHTML", "toHTML.citation", "toHTML.news_db", "toHTML.news_db_from_md", "toHTML.packageIQR", "toRd", "toRd.bibentry", "toRd.default", "toTitleCase", "undoc", "update_PACKAGES", "update_pkg_po", "vignetteDepends", "vignetteEngine", "vignetteInfo", "write_PACKAGES", "xgettext", "xgettext2pot", "xngettext"];
42
42
  readonly utils: readonly ["$.bibentry", "$.person", "$<-.bibentry", "$<-.citation", "$<-.person", ".AtNames", ".AtNames.default", ".DollarNames", ".DollarNames.default", ".DollarNames.environment", ".DollarNames.list", ".RtangleCodeLabel", ".S3methods", ".checkHT", ".romans", "?", "DLL.version", "Filters", "Ops.roman", "RShowDoc", "RSiteSearch", "Rprof", "Rprofmem", "Rtangle", "RtangleFinish", "RtangleRuncode", "RtangleSetup", "RtangleWritedoc", "RweaveChunkPrefix", "RweaveEvalWithOpt", "RweaveLatex", "RweaveLatexFinish", "RweaveLatexOptions", "RweaveLatexSetup", "RweaveLatexWritedoc", "RweaveTryStop", "Stangle", "Summary.roman", "Sweave", "SweaveHooks", "SweaveSyntConv", "SweaveSyntaxLatex", "SweaveSyntaxNoweb", "URLdecode", "URLencode", "View", "[.bibentry", "[.getAnywhere", "[.news_db", "[.person", "[.roman", "[<-.bibentry", "[<-.person", "[[.bibentry", "[[.hashtab", "[[.person", "[[<-.bibentry", "[[<-.hashtab", "[[<-.person", "adist", "alarm", "apropos", "aregexec", "argsAnywhere", "arrangeWindows", "as.character.person", "as.character.roman", "as.data.frame.bibentry", "as.data.frame.citation", "as.data.frame.person", "as.environment.hashtab", "as.person", "as.person.default", "as.personList", "as.personList.default", "as.personList.person", "as.relistable", "as.roman", "asDateBuilt", "askYesNo", "aspell", "aspell_package_C_files", "aspell_package_R_files", "aspell_package_Rd_files", "aspell_package_vignettes", "aspell_write_personal_dictionary_file", "assignInMyNamespace", "assignInNamespace", "available.packages", "bibentry", "browseEnv", "browseURL", "browseVignettes", "bug.report", "c.bibentry", "c.person", "capture.output", "changedFiles", "charClass", "checkCRAN", "choose.dir", "choose.files", "chooseBioCmirror", "chooseCRANmirror", "citEntry", "citFooter", "citHeader", "citation", "cite", "citeNatbib", "close.socket", "close.txtProgressBar", "close.winProgressBar", "clrhash", "combn", "compareVersion", "contrib.url", "count.fields", "create.post", "data.entry", "dataentry", "de", "de.ncols", "de.restore", "de.setup", "debugcall", "debugger", "demo", "download.file", "download.packages", "dump.frames", "edit", "edit.data.frame", "edit.default", "edit.matrix", "edit.vignette", "emacs", "example", "file.edit", "fileSnapshot", "file_test", "find", "findCRANmirror", "findLineNum", "findMatches", "fix", "fixInNamespace", "flush.console", "format.MethodsFunction", "format.aspell", "format.aspell_inspect_context", "format.bibentry", "format.citation", "format.hashtab", "format.news_db", "format.object_size", "format.person", "format.roman", "formatOL", "formatUL", "getAnywhere", "getCRANmirrors", "getClipboardFormats", "getFromNamespace", "getIdentification", "getParseData", "getParseText", "getRcode.vignette", "getS3method", "getSrcDirectory", "getSrcFilename", "getSrcLocation", "getSrcref", "getTxtProgressBar", "getWinProgressBar", "getWindowTitle", "getWindowsHandle", "getWindowsHandles", "gethash", "glob2rx", "globalVariables", "hasName", "hashtab", "head", "head.array", "head.default", "head.ftable", "head.function", "head.matrix", "help", "help.request", "help.search", "help.start", "history", "hsearch_db", "hsearch_db_concepts", "hsearch_db_keywords", "install.packages", "installed.packages", "is.hashtab", "is.relistable", "isS3method", "isS3stdGeneric", "length.hashtab", "limitedLabels", "loadRconsole", "loadhistory", "localeToCharset", "ls.str", "lsf.str", "maintainer", "make.packages.html", "make.socket", "makeRweaveLatexCodeRunner", "maphash", "memory.limit", "memory.size", "menu", "mirror2html", "modifyList", "new.packages", "news", "nsl", "numhash", "object.size", "old.packages", "package.skeleton", "packageDate", "packageDescription", "packageName", "packageStatus", "packageVersion", "page", "person", "personList", "pico", "print.Bibtex", "print.Latex", "print.MethodsFunction", "print.aspell", "print.aspell_inspect_context", "print.bibentry", "print.browseVignettes", "print.changedFiles", "print.citation", "print.fileSnapshot", "print.findLineNumResult", "print.getAnywhere", "print.hashtab", "print.help_files_with_topic", "print.hsearch", "print.hsearch_db", "print.ls_str", "print.news_db", "print.object_size", "print.packageDescription", "print.packageIQR", "print.packageStatus", "print.person", "print.roman", "print.sessionInfo", "print.socket", "print.summary.packageStatus", "print.vignette", "process.events", "prompt", "prompt.data.frame", "prompt.default", "promptData", "promptImport", "promptPackage", "rc.getOption", "rc.options", "rc.settings", "rc.status", "read.DIF", "read.csv", "read.csv2", "read.delim", "read.delim2", "read.fortran", "read.fwf", "read.socket", "read.table", "readCitationFile", "readClipboard", "readRegistry", "recover", "relist", "relist.default", "relist.factor", "relist.list", "relist.matrix", "remhash", "remove.packages", "removeSource", "rep.bibentry", "rep.person", "rep.roman", "rtags", "savehistory", "select.list", "sessionInfo", "setBreakpoint", "setInternet2", "setRepositories", "setStatusBar", "setTxtProgressBar", "setWinProgressBar", "setWindowTitle", "sethash", "shortPathName", "sort.bibentry", "stack", "stack.data.frame", "stack.default", "str", "str.Date", "str.POSIXt", "str.data.frame", "str.default", "str.hashtab", "strOptions", "strcapture", "subset.news_db", "summary.aspell", "summary.packageStatus", "summaryRprof", "suppressForeignCheck", "tail", "tail.array", "tail.default", "tail.ftable", "tail.function", "tail.matrix", "tar", "timestamp", "toBibtex", "toBibtex.bibentry", "toBibtex.person", "toLatex", "toLatex.sessionInfo", "transform.bibentry", "txtProgressBar", "type.convert", "type.convert.data.frame", "type.convert.default", "type.convert.list", "typhash", "undebugcall", "unique.bibentry", "unique.person", "unlist.relistable", "unstack", "unstack.data.frame", "unstack.default", "untar", "unzip", "update.packages", "upgrade", "upgrade.packageStatus", "url.show", "vi", "vignette", "warnErrList", "win.version", "winDialog", "winDialogString", "winMenuAdd", "winMenuAddItem", "winMenuDel", "winMenuDelItem", "winMenuItems", "winMenuNames", "winProgressBar", "write.csv", "write.csv2", "write.socket", "write.table", "writeClipboard", "xedit", "xemacs", "zip", "zip.unpack"];
43
43
  };
44
+ readonly generics: readonly [".AtNames", ".DollarNames", "AIC", "Axis", "BIC", "NLSstAsymptotic", "NLSstClosestX", "NLSstLfAsymptote", "NLSstRtAsymptote", "SSD", "TukeyHSD", "add1", "aggregate", "alias", "all.equal", "anova", "ansari.test", "anyDuplicated", "aperm", "ar.burg", "ar.yw", "as.Date", "as.POSIXct", "as.POSIXlt", "as.array", "as.data.frame", "as.dendrogram", "as.dist", "as.expression", "as.function", "as.hclust", "as.list", "as.matrix", "as.null", "as.person", "as.personList", "as.raster", "as.single", "as.stepfun", "as.table", "as.ts", "barplot", "bartlett.test", "biplot", "boxplot", "by", "case.names", "cdplot", "chol", "chooseOpsMethod", "close", "coef", "coefficients", "conditionCall", "conditionMessage", "confint", "contour", "cooks.distance", "cophenetic", "cor.test", "cut", "cycle", "deltat", "density", "deriv", "deriv3", "determinant", "deviance", "df.residual", "dfbeta", "dfbetas", "diff", "diffinv", "drop1", "droplevels", "dummy.coef", "duplicated", "edit", "effects", "end", "estVar", "extractAIC", "family", "fitted", "fitted.values", "fligner.test", "flush", "format", "formula", "frequency", "friedman.test", "ftable", "fx", "getCall", "getDLLRegisteredRoutines", "getInitial", "glyphJust", "hatvalues", "head", "hist", "identify", "image", "influence", "is.na<-", "isSymmetric", "julian", "kappa", "kernapply", "knots", "kruskal.test", "ks.test", "labels", "lag", "levels", "lines", "logLik", "makeStandardGeneric", "makepredictcall", "mauchly.test", "mean", "median", "merge", "model.frame", "model.matrix", "model.tables", "monthplot", "months", "mood.test", "mosaicplot", "mtfrm", "na.action", "na.contiguous", "na.exclude", "na.fail", "na.omit", "nameOfClass", "napredict", "naprint", "naresid", "nobs", "open", "pacf", "pairs", "persp", "plot", "points", "ppr", "prcomp", "predict", "preplot", "pretty", "princomp", "print", "profile", "proj", "prompt", "qqnorm", "qr", "quade.test", "quantile", "quarters", "relevel", "relist", "reorder", "resid", "residuals", "rev", "row.names", "row.names<-", "rowsum", "rstandard", "rstudent", "scale", "screeplot", "se.contrast", "seek", "selfStart", "seq", "sequence", "setGeneric", "sigma", "simulate", "solve", "sort", "sort_by", "sortedXyData", "spineplot", "split", "split<-", "stack", "start", "str", "stripchart", "subset", "summary", "sunflowerplot", "t", "t.test", "tail", "terms", "text", "time", "toBibtex", "toLatex", "toString", "transform", "truncate", "tsSmooth", "tsdiag", "type.convert", "unique", "units", "units<-", "unstack", "update", "upgrade", "var.test", "variable.names", "vcov", "weekdays", "weighted.mean", "weights", "wilcox.test", "window", "window<-", "with", "within"];
44
45
  };
@@ -3,11 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RBasePackageStore = void 0;
4
4
  /* eslint-disable */
5
5
  /*
6
- * GENERATED from the flowr-sigdb bundle by scripts/gen-base-packages.ts on 2026-07-19 -- do not edit.
7
- * bundle: v5|2026-07-19|a3cdbf4d8e58dde2,cc4093180737bbaf,e1390711ba58c661,c0a7ca9838d56152
6
+ * GENERATED from the flowr-sigdb bundle by scripts/gen-base-packages.ts on 2026-08-13 -- do not edit.
7
+ * bundle: v7|2026-07-19|a3cdbf4d8e58dde2,cc4093180737bbaf,e1390711ba58c661,c0a7ca9838d56152
8
8
  * newestRVersion: newest R release in the database. current: its base packages. packages: [first, last]
9
9
  * core R-version per package. exportsByPackage: each current base package to its exported names
10
10
  * (inverted to an export -> owning-package lookup on first use, so a package name is not repeated).
11
+ * generics: the exports of the attached base packages whose body dispatches (UseMethod and friends).
11
12
  */
12
13
  exports.RBasePackageStore = {
13
14
  newestRVersion: "4.5.3",
@@ -27,6 +28,7 @@ exports.RBasePackageStore = {
27
28
  "tcltk": ["$.tclArray", "$<-.tclArray", ".Tcl", ".Tcl.args", ".Tcl.args.objv", ".Tcl.callback", ".Tcl.objv", ".Tk.ID", ".Tk.newwin", ".Tk.subwin", ".TkRoot", ".TkUp", "[[.tclArray", "[[<-.tclArray", "addTclPath", "as.character.tclObj", "as.character.tclVar", "as.double.tclObj", "as.integer.tclObj", "as.logical.tclObj", "as.raw.tclObj", "as.tclObj", "close.tkProgressBar", "getTkProgressBar", "is.tclObj", "is.tkwin", "length.tclArray", "length<-.tclArray", "names.tclArray", "names<-.tclArray", "print.tclObj", "setTkProgressBar", "tcl", "tclArray", "tclObj", "tclObj.tclVar", "tclObj<-", "tclObj<-.tclVar", "tclRequire", "tclServiceMode", "tclVar", "tclVersion", "tclclose", "tclfile.dir", "tclfile.tail", "tclopen", "tclputs", "tclread", "tclvalue", "tclvalue.default", "tclvalue.tclObj", "tclvalue.tclVar", "tclvalue<-", "tclvalue<-.default", "tclvalue<-.tclVar", "tclvar", "tkProgressBar", "tkStartGUI", "tkXselection.clear", "tkXselection.get", "tkXselection.handle", "tkXselection.own", "tk_choose.dir", "tk_choose.files", "tk_messageBox", "tk_select.list", "tkactivate", "tkadd", "tkaddtag", "tkbbox", "tkbell", "tkbind", "tkbindtags", "tkbutton", "tkcanvas", "tkcanvasx", "tkcanvasy", "tkcget", "tkcheckbutton", "tkchooseDirectory", "tkclipboard.append", "tkclipboard.clear", "tkcompare", "tkconfigure", "tkcoords", "tkcreate", "tkcurselection", "tkdchars", "tkdebug", "tkdelete", "tkdelta", "tkdeselect", "tkdestroy", "tkdialog", "tkdlineinfo", "tkdtag", "tkdump", "tkentry", "tkentrycget", "tkentryconfigure", "tkevent.add", "tkevent.delete", "tkevent.generate", "tkevent.info", "tkfind", "tkflash", "tkfocus", "tkfont.actual", "tkfont.configure", "tkfont.create", "tkfont.delete", "tkfont.families", "tkfont.measure", "tkfont.metrics", "tkfont.names", "tkfraction", "tkframe", "tkget", "tkgetOpenFile", "tkgetSaveFile", "tkgettags", "tkgrab", "tkgrab.current", "tkgrab.release", "tkgrab.set", "tkgrab.status", "tkgrid", "tkgrid.bbox", "tkgrid.columnconfigure", "tkgrid.configure", "tkgrid.forget", "tkgrid.info", "tkgrid.location", "tkgrid.propagate", "tkgrid.remove", "tkgrid.rowconfigure", "tkgrid.size", "tkgrid.slaves", "tkicursor", "tkidentify", "tkimage.create", "tkimage.delete", "tkimage.height", "tkimage.inuse", "tkimage.names", "tkimage.type", "tkimage.types", "tkimage.width", "tkindex", "tkinsert", "tkinvoke", "tkitembind", "tkitemcget", "tkitemconfigure", "tkitemfocus", "tkitemlower", "tkitemraise", "tkitemscale", "tklabel", "tklistbox", "tklower", "tkmark.gravity", "tkmark.names", "tkmark.next", "tkmark.previous", "tkmark.set", "tkmark.unset", "tkmenu", "tkmenubutton", "tkmessage", "tkmessageBox", "tkmove", "tknearest", "tkpack", "tkpack.configure", "tkpack.forget", "tkpack.info", "tkpack.propagate", "tkpack.slaves", "tkpager", "tkplace", "tkplace.configure", "tkplace.forget", "tkplace.info", "tkplace.slaves", "tkpopup", "tkpost", "tkpostcascade", "tkpostscript", "tkradiobutton", "tkraise", "tkscale", "tkscan.dragto", "tkscan.mark", "tkscrollbar", "tksearch", "tksee", "tkselect", "tkselection.adjust", "tkselection.anchor", "tkselection.clear", "tkselection.from", "tkselection.includes", "tkselection.present", "tkselection.range", "tkselection.set", "tkselection.to", "tkset", "tksize", "tktag.add", "tktag.bind", "tktag.cget", "tktag.configure", "tktag.delete", "tktag.lower", "tktag.names", "tktag.nextrange", "tktag.prevrange", "tktag.raise", "tktag.ranges", "tktag.remove", "tktext", "tktitle", "tktitle<-", "tktoggle", "tktoplevel", "tktype", "tkunpost", "tkwait.variable", "tkwait.visibility", "tkwait.window", "tkwidget", "tkwindow.cget", "tkwindow.configure", "tkwindow.create", "tkwindow.names", "tkwinfo", "tkwm.aspect", "tkwm.client", "tkwm.colormapwindows", "tkwm.command", "tkwm.deiconify", "tkwm.focusmodel", "tkwm.frame", "tkwm.geometry", "tkwm.grid", "tkwm.group", "tkwm.iconbitmap", "tkwm.iconify", "tkwm.iconmask", "tkwm.iconname", "tkwm.iconposition", "tkwm.iconwindow", "tkwm.maxsize", "tkwm.minsize", "tkwm.overrideredirect", "tkwm.positionfrom", "tkwm.protocol", "tkwm.resizable", "tkwm.sizefrom", "tkwm.state", "tkwm.title", "tkwm.transient", "tkwm.withdraw", "tkxview", "tkxview.moveto", "tkxview.scroll", "tkyposition", "tkyview", "tkyview.moveto", "tkyview.scroll", "ttkbutton", "ttkcheckbutton", "ttkcombobox", "ttkentry", "ttkframe", "ttklabel", "ttklabelframe", "ttkmenubutton", "ttknotebook", "ttkpanedwindow", "ttkprogressbar", "ttkradiobutton", "ttkscale", "ttkscrollbar", "ttkseparator", "ttksizegrip", "ttkspinbox", "ttktreeview"],
28
29
  "tools": [".print.via.format", "Adobe_glyphs", "CRAN_aliases_db", "CRAN_archive_db", "CRAN_authors_db", "CRAN_check_details", "CRAN_check_issues", "CRAN_check_results", "CRAN_current_db", "CRAN_package_db", "CRAN_rdxrefs_db", "HTMLheader", "R", "R_user_dir", "Rcmd", "Rd2HTML", "Rd2ex", "Rd2latex", "Rd2txt", "Rd2txt_options", "RdTextFilter", "Rd_db", "Rdiff", "Rdindex", "SIGCHLD", "SIGCONT", "SIGHUP", "SIGINT", "SIGKILL", "SIGQUIT", "SIGSTOP", "SIGTERM", "SIGTSTP", "SIGUSR1", "SIGUSR2", "SweaveTeXFilter", "[.check_details_changes", "add_datalist", "analyze_license", "as.Rconcordance", "as.Rconcordance.default", "as.character.Rconcordance", "as.character.Rd", "as.matrix.check_url_db", "assertCondition", "assertError", "assertWarning", "base_aliases_db", "base_rdxrefs_db", "bibstyle", "buildVignette", "buildVignettes", "charset_to_Unicode", "checkDocFiles", "checkDocStyle", "checkFF", "checkMD5sums", "checkPoFile", "checkPoFiles", "checkRd", "checkRdContents", "checkRdaFiles", "checkReplaceFuns", "checkS3methods", "checkTnF", "checkVignettes", "check_package_dois", "check_package_urls", "check_packages_in_dir", "check_packages_in_dir_changes", "check_packages_in_dir_details", "codoc", "codocClasses", "codocData", "compactPDF", "delimMatch", "deparseLatex", "dependsOnPkgs", "encoded_text_to_latex", "file_ext", "file_path_as_absolute", "file_path_sans_ext", "findHTMLlinks", "find_gs_cmd", "followConcordance", "format.CRAN_package_reverse_dependencies_and_views", "format.checkDocFiles", "format.checkDocStyle", "format.checkFF", "format.checkRdContents", "format.checkReplaceFuns", "format.checkS3methods", "format.checkTnF", "format.checkVignettes", "format.check_Rd_line_widths", "format.check_Rd_metadata", "format.check_Rd_xrefs", "format.check_RegSym_calls", "format.check_S3_methods_needing_delayed_registration", "format.check_T_and_F", "format.check_bogus_return", "format.check_code_usage_in_package", "format.check_compiled_code", "format.check_depdef", "format.check_details", "format.check_details_changes", "format.check_doi_db", "format.check_dotInternal", "format.check_make_vars", "format.check_nonAPI_calls", "format.check_package_CRAN_incoming", "format.check_package_code_assign_to_globalenv", "format.check_package_code_attach", "format.check_package_code_startup_functions", "format.check_package_datalist", "format.check_package_datasets", "format.check_package_depends", "format.check_package_description", "format.check_package_description2", "format.check_package_description_encoding", "format.check_package_license", "format.check_packages_used", "format.check_so_symbols", "format.check_url_db", "format.codocClasses", "format.codocData", "format.compactPDF", "format.news_db_from_md", "format.subdir_tests", "format.summarize_CRAN_check_status", "format.undoc", "getBibstyle", "getDepList", "getVignetteInfo", "installFoundDepends", "langElts", "latexToUtf8", "list_files_with_exts", "list_files_with_type", "loadPkgRdMacros", "loadRdMacros", "make_translations_pkg", "makevars_site", "makevars_user", "matchConcordance", "md5sum", "nonS3methods", "package.dependencies", "package_dependencies", "package_native_routine_registration_skeleton", "parseLatex", "parse_Rd", "parse_URI_reference", "pkg2HTML", "pkgDepends", "pkgVignettes", "print.CRAN_package_reverse_dependencies_and_views", "print.LaTeX", "print.Rconcordance", "print.Rd", "print.activeConcordance", "print.checkRd", "print.check_demo_index", "print.check_details", "print.check_details_changes", "print.check_doi_db", "print.check_package_CRAN_incoming", "print.check_package_code_syntax", "print.check_package_compact_datasets", "print.check_package_description", "print.check_packages_in_dir", "print.check_po_files", "print.check_pragmas", "print.check_url_db", "print.check_vignette_index", "print.codoc", "print.summarize_CRAN_check_status", "print.xgettext", "print.xngettext", "pskill", "psnice", "read.00Index", "resaveRdaFiles", "sha256sum", "showNonASCII", "showNonASCIIfile", "standard_package_names", "startDynamicHelp", "summarize_CRAN_check_status", "summarize_check_packages_in_dir_depends", "summarize_check_packages_in_dir_results", "summarize_check_packages_in_dir_timings", "summary.check_packages_in_dir", "testInstalledBasic", "testInstalledPackage", "testInstalledPackages", "texi2dvi", "texi2pdf", "toHTML", "toHTML.citation", "toHTML.news_db", "toHTML.news_db_from_md", "toHTML.packageIQR", "toRd", "toRd.bibentry", "toRd.default", "toTitleCase", "undoc", "update_PACKAGES", "update_pkg_po", "vignetteDepends", "vignetteEngine", "vignetteInfo", "write_PACKAGES", "xgettext", "xgettext2pot", "xngettext"],
29
30
  "utils": ["$.bibentry", "$.person", "$<-.bibentry", "$<-.citation", "$<-.person", ".AtNames", ".AtNames.default", ".DollarNames", ".DollarNames.default", ".DollarNames.environment", ".DollarNames.list", ".RtangleCodeLabel", ".S3methods", ".checkHT", ".romans", "?", "DLL.version", "Filters", "Ops.roman", "RShowDoc", "RSiteSearch", "Rprof", "Rprofmem", "Rtangle", "RtangleFinish", "RtangleRuncode", "RtangleSetup", "RtangleWritedoc", "RweaveChunkPrefix", "RweaveEvalWithOpt", "RweaveLatex", "RweaveLatexFinish", "RweaveLatexOptions", "RweaveLatexSetup", "RweaveLatexWritedoc", "RweaveTryStop", "Stangle", "Summary.roman", "Sweave", "SweaveHooks", "SweaveSyntConv", "SweaveSyntaxLatex", "SweaveSyntaxNoweb", "URLdecode", "URLencode", "View", "[.bibentry", "[.getAnywhere", "[.news_db", "[.person", "[.roman", "[<-.bibentry", "[<-.person", "[[.bibentry", "[[.hashtab", "[[.person", "[[<-.bibentry", "[[<-.hashtab", "[[<-.person", "adist", "alarm", "apropos", "aregexec", "argsAnywhere", "arrangeWindows", "as.character.person", "as.character.roman", "as.data.frame.bibentry", "as.data.frame.citation", "as.data.frame.person", "as.environment.hashtab", "as.person", "as.person.default", "as.personList", "as.personList.default", "as.personList.person", "as.relistable", "as.roman", "asDateBuilt", "askYesNo", "aspell", "aspell_package_C_files", "aspell_package_R_files", "aspell_package_Rd_files", "aspell_package_vignettes", "aspell_write_personal_dictionary_file", "assignInMyNamespace", "assignInNamespace", "available.packages", "bibentry", "browseEnv", "browseURL", "browseVignettes", "bug.report", "c.bibentry", "c.person", "capture.output", "changedFiles", "charClass", "checkCRAN", "choose.dir", "choose.files", "chooseBioCmirror", "chooseCRANmirror", "citEntry", "citFooter", "citHeader", "citation", "cite", "citeNatbib", "close.socket", "close.txtProgressBar", "close.winProgressBar", "clrhash", "combn", "compareVersion", "contrib.url", "count.fields", "create.post", "data.entry", "dataentry", "de", "de.ncols", "de.restore", "de.setup", "debugcall", "debugger", "demo", "download.file", "download.packages", "dump.frames", "edit", "edit.data.frame", "edit.default", "edit.matrix", "edit.vignette", "emacs", "example", "file.edit", "fileSnapshot", "file_test", "find", "findCRANmirror", "findLineNum", "findMatches", "fix", "fixInNamespace", "flush.console", "format.MethodsFunction", "format.aspell", "format.aspell_inspect_context", "format.bibentry", "format.citation", "format.hashtab", "format.news_db", "format.object_size", "format.person", "format.roman", "formatOL", "formatUL", "getAnywhere", "getCRANmirrors", "getClipboardFormats", "getFromNamespace", "getIdentification", "getParseData", "getParseText", "getRcode.vignette", "getS3method", "getSrcDirectory", "getSrcFilename", "getSrcLocation", "getSrcref", "getTxtProgressBar", "getWinProgressBar", "getWindowTitle", "getWindowsHandle", "getWindowsHandles", "gethash", "glob2rx", "globalVariables", "hasName", "hashtab", "head", "head.array", "head.default", "head.ftable", "head.function", "head.matrix", "help", "help.request", "help.search", "help.start", "history", "hsearch_db", "hsearch_db_concepts", "hsearch_db_keywords", "install.packages", "installed.packages", "is.hashtab", "is.relistable", "isS3method", "isS3stdGeneric", "length.hashtab", "limitedLabels", "loadRconsole", "loadhistory", "localeToCharset", "ls.str", "lsf.str", "maintainer", "make.packages.html", "make.socket", "makeRweaveLatexCodeRunner", "maphash", "memory.limit", "memory.size", "menu", "mirror2html", "modifyList", "new.packages", "news", "nsl", "numhash", "object.size", "old.packages", "package.skeleton", "packageDate", "packageDescription", "packageName", "packageStatus", "packageVersion", "page", "person", "personList", "pico", "print.Bibtex", "print.Latex", "print.MethodsFunction", "print.aspell", "print.aspell_inspect_context", "print.bibentry", "print.browseVignettes", "print.changedFiles", "print.citation", "print.fileSnapshot", "print.findLineNumResult", "print.getAnywhere", "print.hashtab", "print.help_files_with_topic", "print.hsearch", "print.hsearch_db", "print.ls_str", "print.news_db", "print.object_size", "print.packageDescription", "print.packageIQR", "print.packageStatus", "print.person", "print.roman", "print.sessionInfo", "print.socket", "print.summary.packageStatus", "print.vignette", "process.events", "prompt", "prompt.data.frame", "prompt.default", "promptData", "promptImport", "promptPackage", "rc.getOption", "rc.options", "rc.settings", "rc.status", "read.DIF", "read.csv", "read.csv2", "read.delim", "read.delim2", "read.fortran", "read.fwf", "read.socket", "read.table", "readCitationFile", "readClipboard", "readRegistry", "recover", "relist", "relist.default", "relist.factor", "relist.list", "relist.matrix", "remhash", "remove.packages", "removeSource", "rep.bibentry", "rep.person", "rep.roman", "rtags", "savehistory", "select.list", "sessionInfo", "setBreakpoint", "setInternet2", "setRepositories", "setStatusBar", "setTxtProgressBar", "setWinProgressBar", "setWindowTitle", "sethash", "shortPathName", "sort.bibentry", "stack", "stack.data.frame", "stack.default", "str", "str.Date", "str.POSIXt", "str.data.frame", "str.default", "str.hashtab", "strOptions", "strcapture", "subset.news_db", "summary.aspell", "summary.packageStatus", "summaryRprof", "suppressForeignCheck", "tail", "tail.array", "tail.default", "tail.ftable", "tail.function", "tail.matrix", "tar", "timestamp", "toBibtex", "toBibtex.bibentry", "toBibtex.person", "toLatex", "toLatex.sessionInfo", "transform.bibentry", "txtProgressBar", "type.convert", "type.convert.data.frame", "type.convert.default", "type.convert.list", "typhash", "undebugcall", "unique.bibentry", "unique.person", "unlist.relistable", "unstack", "unstack.data.frame", "unstack.default", "untar", "unzip", "update.packages", "upgrade", "upgrade.packageStatus", "url.show", "vi", "vignette", "warnErrList", "win.version", "winDialog", "winDialogString", "winMenuAdd", "winMenuAddItem", "winMenuDel", "winMenuDelItem", "winMenuItems", "winMenuNames", "winProgressBar", "write.csv", "write.csv2", "write.socket", "write.table", "writeClipboard", "xedit", "xemacs", "zip", "zip.unpack"],
30
- }
31
+ },
32
+ generics: [".AtNames", ".DollarNames", "AIC", "Axis", "BIC", "NLSstAsymptotic", "NLSstClosestX", "NLSstLfAsymptote", "NLSstRtAsymptote", "SSD", "TukeyHSD", "add1", "aggregate", "alias", "all.equal", "anova", "ansari.test", "anyDuplicated", "aperm", "ar.burg", "ar.yw", "as.Date", "as.POSIXct", "as.POSIXlt", "as.array", "as.data.frame", "as.dendrogram", "as.dist", "as.expression", "as.function", "as.hclust", "as.list", "as.matrix", "as.null", "as.person", "as.personList", "as.raster", "as.single", "as.stepfun", "as.table", "as.ts", "barplot", "bartlett.test", "biplot", "boxplot", "by", "case.names", "cdplot", "chol", "chooseOpsMethod", "close", "coef", "coefficients", "conditionCall", "conditionMessage", "confint", "contour", "cooks.distance", "cophenetic", "cor.test", "cut", "cycle", "deltat", "density", "deriv", "deriv3", "determinant", "deviance", "df.residual", "dfbeta", "dfbetas", "diff", "diffinv", "drop1", "droplevels", "dummy.coef", "duplicated", "edit", "effects", "end", "estVar", "extractAIC", "family", "fitted", "fitted.values", "fligner.test", "flush", "format", "formula", "frequency", "friedman.test", "ftable", "fx", "getCall", "getDLLRegisteredRoutines", "getInitial", "glyphJust", "hatvalues", "head", "hist", "identify", "image", "influence", "is.na<-", "isSymmetric", "julian", "kappa", "kernapply", "knots", "kruskal.test", "ks.test", "labels", "lag", "levels", "lines", "logLik", "makeStandardGeneric", "makepredictcall", "mauchly.test", "mean", "median", "merge", "model.frame", "model.matrix", "model.tables", "monthplot", "months", "mood.test", "mosaicplot", "mtfrm", "na.action", "na.contiguous", "na.exclude", "na.fail", "na.omit", "nameOfClass", "napredict", "naprint", "naresid", "nobs", "open", "pacf", "pairs", "persp", "plot", "points", "ppr", "prcomp", "predict", "preplot", "pretty", "princomp", "print", "profile", "proj", "prompt", "qqnorm", "qr", "quade.test", "quantile", "quarters", "relevel", "relist", "reorder", "resid", "residuals", "rev", "row.names", "row.names<-", "rowsum", "rstandard", "rstudent", "scale", "screeplot", "se.contrast", "seek", "selfStart", "seq", "sequence", "setGeneric", "sigma", "simulate", "solve", "sort", "sort_by", "sortedXyData", "spineplot", "split", "split<-", "stack", "start", "str", "stripchart", "subset", "summary", "sunflowerplot", "t", "t.test", "tail", "terms", "text", "time", "toBibtex", "toLatex", "toString", "transform", "truncate", "tsSmooth", "tsdiag", "type.convert", "unique", "units", "units<-", "unstack", "update", "upgrade", "var.test", "variable.names", "vcov", "weekdays", "weighted.mean", "weights", "wilcox.test", "window", "window<-", "with", "within"]
31
33
  };
32
34
  //# sourceMappingURL=r-base-packages.generated.js.map
@@ -20,6 +20,8 @@ export interface BuiltInConstantDefinition<Value> extends BaseBuiltInDefinition
20
20
  /** The constant value to define */
21
21
  readonly value: Value;
22
22
  }
23
+ /** The config a processor accepts, `unknown` for the ones taking none (they still carry {@link BuiltInFnInfo}). */
24
+ type ConfigOfProcessor<P extends keyof typeof BuiltInProcessorMapper> = ConfigOfBuiltInMappingName<P> extends undefined ? unknown : ConfigOfBuiltInMappingName<P>;
23
25
  /**
24
26
  * Define a built-in function (like `print` or `c`) and the processor to use.
25
27
  * @template BuiltInProcessor - The processor to use for this function
@@ -27,7 +29,7 @@ export interface BuiltInConstantDefinition<Value> extends BaseBuiltInDefinition
27
29
  export interface BuiltInFunctionDefinition<BuiltInProcessor extends keyof typeof BuiltInProcessorMapper> extends BaseBuiltInDefinition {
28
30
  readonly type: 'function';
29
31
  readonly processor: BuiltInProcessor;
30
- readonly config?: ConfigOfBuiltInMappingName<BuiltInProcessor> & BuiltInFnInfo & {
32
+ readonly config?: ConfigOfProcessor<BuiltInProcessor> & BuiltInFnInfo & {
31
33
  libFn?: boolean;
32
34
  };
33
35
  /** the value solver to use when folding a call to this function to a constant, see {@link BuiltInEvalHandlerMapper} */
@@ -46,6 +48,11 @@ export interface BuiltInReplacementDefinition extends BaseBuiltInDefinition {
46
48
  };
47
49
  }
48
50
  export type BuiltInDefinition<T extends keyof typeof BuiltInProcessorMapper = keyof typeof BuiltInProcessorMapper> = BuiltInConstantDefinition<unknown> | BuiltInFunctionDefinition<T> | BuiltInReplacementDefinition;
51
+ type AnyBuiltInFunctionDefinition = {
52
+ [P in keyof typeof BuiltInProcessorMapper]: BuiltInFunctionDefinition<P>;
53
+ }[keyof typeof BuiltInProcessorMapper];
54
+ /** Like {@link BuiltInDefinition} but one member per processor, so a config key of a foreign processor is rejected instead of silently allowed. */
55
+ export type AnyBuiltInDefinition = BuiltInConstantDefinition<unknown> | AnyBuiltInFunctionDefinition | BuiltInReplacementDefinition;
49
56
  /**
50
57
  * @see DefaultBuiltinConfig
51
58
  */
@@ -62,3 +69,4 @@ export declare function getDefaultBuiltInDefinitions(): BuiltIns;
62
69
  * @param loadDefaults - whether to first add the {@link DefaultBuiltinConfig} before the given {@link definitions}
63
70
  */
64
71
  export declare function getBuiltInDefinitions<Keys extends (keyof typeof BuiltInProcessorMapper)[]>(definitions: BuiltInDefinitions<Keys>, loadDefaults: boolean | undefined): BuiltIns;
72
+ export {};
@@ -22,6 +22,8 @@ export declare enum BuiltInProcName {
22
22
  DefaultReadAllArgs = "builtin:d-ra",
23
23
  /** for `eval` calls, see {@link processEvalCall} */
24
24
  Eval = "builtin:eval",
25
+ /** for string templates carrying R code, see {@link processStringTemplate} */
26
+ StringTemplate = "builtin:string-template",
25
27
  /** for expression lists, see {@link processExpressionList} */
26
28
  ExpressionList = "builtin:el",
27
29
  /** for `for` loops, see {@link processForLoop} */
@@ -26,6 +26,8 @@ var BuiltInProcName;
26
26
  BuiltInProcName["DefaultReadAllArgs"] = "builtin:d-ra";
27
27
  /** for `eval` calls, see {@link processEvalCall} */
28
28
  BuiltInProcName["Eval"] = "builtin:eval";
29
+ /** for string templates carrying R code, see {@link processStringTemplate} */
30
+ BuiltInProcName["StringTemplate"] = "builtin:string-template";
29
31
  /** for expression lists, see {@link processExpressionList} */
30
32
  BuiltInProcName["ExpressionList"] = "builtin:el";
31
33
  /** for `for` loops, see {@link processForLoop} */
@@ -168,6 +168,8 @@ export interface BuiltInFnInfo {
168
168
  readonly sig?: FnSig;
169
169
  /** bitfield of {@link CallProp} */
170
170
  readonly props?: CallProps;
171
+ /** keep the environment on the call vertex, for a later pass to look names up in */
172
+ readonly keepEnvironment?: boolean;
171
173
  }
172
174
  /** A {@link FnSig} in the form the call processors use it, see {@link sigLayout}. */
173
175
  export interface SigLayout {
@@ -189,6 +191,8 @@ declare function sigLayout(this: void, sig: FnSig): SigLayout;
189
191
  declare function argProp(this: void, { props, rest }: SigLayout, index: number): ArgProps;
190
192
  /** The positions of the first `count` arguments that carry any of `prop`. */
191
193
  declare function argsWith(this: void, layout: SigLayout, count: number, prop: ArgProps): number[];
194
+ /** the callees that make the calling function itself a generic ({@link CallProp.Generic}) */
195
+ export declare const DispatchCallees: ReadonlySet<string>;
192
196
  /**
193
197
  * The part of a {@link BuiltInFnInfo} that the signature database already knows: the parameter names in order
194
198
  * (`...` included) with the ones R always forces, plus the properties listed in {@link SigDbProps}. Everything
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FnSig = exports.PropagatedProps = exports.FileInputProps = exports.SigDbInferable = exports.InputProps = exports.ExclusiveCallProps = exports.ImpureProps = exports.CallProp = exports.ArgProp = void 0;
3
+ exports.DispatchCallees = exports.FnSig = exports.PropagatedProps = exports.FileInputProps = exports.SigDbInferable = exports.InputProps = exports.ExclusiveCallProps = exports.ImpureProps = exports.CallProp = exports.ArgProp = void 0;
4
4
  exports.fnInfoFromSignature = fnInfoFromSignature;
5
5
  /**
6
6
  * What a single argument of a call is used for, as a bitmask.
@@ -205,7 +205,7 @@ const SigDbProps = {
205
205
  's3-method': CallProp.Method
206
206
  };
207
207
  /** the callees that make the calling function itself a generic ({@link CallProp.Generic}) */
208
- const DispatchCallees = new Set(['UseMethod', 'standardGeneric', 'S7_dispatch']);
208
+ exports.DispatchCallees = new Set(['UseMethod', 'standardGeneric', 'S7_dispatch']);
209
209
  /**
210
210
  * The part of a {@link BuiltInFnInfo} that the signature database already knows: the parameter names in order
211
211
  * (`...` included) with the ones R always forces, plus the properties listed in {@link SigDbProps}. Everything
@@ -218,7 +218,7 @@ function fnInfoFromSignature(fn) {
218
218
  props |= SigDbProps[name] ?? 0;
219
219
  }
220
220
  /* a function whose own body dispatches is the generic, which no property of the database states */
221
- if (fn.callees.some(c => DispatchCallees.has(c))) {
221
+ if (fn.callees.some(c => exports.DispatchCallees.has(c))) {
222
222
  props |= CallProp.Generic;
223
223
  }
224
224
  return {
@@ -1,6 +1,6 @@
1
1
  import type { DataflowProcessorInformation } from '../processor';
2
2
  import type { DataflowInformation, ExitPointType } from '../info';
3
- import type { NseArguments } from '../internal/process/functions/call/known-call-handling';
3
+ import { NseArguments } from '../internal/process/functions/call/known-call-handling';
4
4
  import { processAccess } from '../internal/process/functions/call/built-in/built-in-access';
5
5
  import { processIfThenElse } from '../internal/process/functions/call/built-in/built-in-if-then-else';
6
6
  import { processAssignment, processAssignmentLike, processDefineArgument } from '../internal/process/functions/call/built-in/built-in-assignment';
@@ -53,6 +53,7 @@ import { processAttach } from '../internal/process/functions/call/built-in/built
53
53
  import { processWithEnv } from '../internal/process/functions/call/built-in/built-in-with';
54
54
  import { processNamespaceAccess } from '../internal/process/functions/call/built-in/built-in-namespace-access';
55
55
  import { processLoadCall } from '../internal/process/functions/call/built-in/built-in-load';
56
+ import { processStringTemplate } from '../internal/process/functions/call/built-in/built-in-string-template';
56
57
  import { type BuiltInFnInfo } from './built-in-props';
57
58
  export type BuiltInIdentifierProcessor = <OtherInfo>(name: RSymbol<OtherInfo & ParentInformation>, args: readonly PotentiallyEmptyRArgument<OtherInfo & ParentInformation>[], rootId: NodeId, data: DataflowProcessorInformation<OtherInfo & ParentInformation>) => DataflowInformation;
58
59
  export type BuiltInIdentifierProcessorWithConfig<Config> = <OtherInfo>(name: RSymbol<OtherInfo & ParentInformation>, args: readonly PotentiallyEmptyRArgument<OtherInfo & ParentInformation>[], rootId: NodeId, data: DataflowProcessorInformation<OtherInfo & ParentInformation>, config: Config) => DataflowInformation;
@@ -60,7 +61,7 @@ export interface BuiltInIdentifierDefinition extends IdentifierReference {
60
61
  type: ReferenceType.BuiltInFunction;
61
62
  definedAt: BuiltIn;
62
63
  processor: BuiltInIdentifierProcessor;
63
- config?: ConfigOfBuiltInMappingName<keyof typeof BuiltInProcessorMapper> & {
64
+ config?: ConfigOfBuiltInMappingName<keyof typeof BuiltInProcessorMapper> & BuiltInFnInfo & {
64
65
  libFn?: boolean;
65
66
  };
66
67
  /** folds a call to this function to a constant, see {@link BuiltInEvalHandlerMapper} */
@@ -111,6 +112,7 @@ export declare const BuiltInProcessorMapper: {
111
112
  readonly "builtin:define-arg": typeof processDefineArgument;
112
113
  readonly "builtin:d": typeof defaultBuiltInProcessor;
113
114
  readonly "builtin:d-ra": typeof defaultBuiltInProcessorReadallArgs;
115
+ readonly "builtin:string-template": typeof processStringTemplate;
114
116
  readonly "builtin:eval": typeof processEvalCall;
115
117
  readonly "builtin:el": typeof processExpressionList;
116
118
  readonly "builtin:fl": typeof processForLoop;
@@ -53,6 +53,7 @@ const built_in_attach_1 = require("../internal/process/functions/call/built-in/b
53
53
  const built_in_with_1 = require("../internal/process/functions/call/built-in/built-in-with");
54
54
  const built_in_namespace_access_1 = require("../internal/process/functions/call/built-in/built-in-namespace-access");
55
55
  const built_in_load_1 = require("../internal/process/functions/call/built-in/built-in-load");
56
+ const built_in_string_template_1 = require("../internal/process/functions/call/built-in/built-in-string-template");
56
57
  const built_in_props_1 = require("./built-in-props");
57
58
  function defaultBuiltInProcessor(name, args, rootId, data, { useAsProcessor = built_in_proc_name_1.BuiltInProcName.Default, forceArgs, readAllArguments, cfg, hasUnknownSideEffects, treatAsFnCall, markArgsAsNSE: nse, markArgsAsMasked: masked, keepArgumentOut, sig }) {
58
59
  /* a signature states per argument what the individual options state for all of them at once */
@@ -61,9 +62,24 @@ function defaultBuiltInProcessor(name, args, rootId, data, { useAsProcessor = bu
61
62
  forceArgs ??= (layout.any & built_in_props_1.ArgProp.Forced) !== 0 ? args.map((_, i) => (built_in_props_1.FnSig.propAt(layout, i) & built_in_props_1.ArgProp.Forced) !== 0) : undefined;
62
63
  nse ??= (layout.any & built_in_props_1.ArgProp.Nse) !== 0 ? built_in_props_1.FnSig.posWith(layout, args.length, built_in_props_1.ArgProp.Nse) : undefined;
63
64
  }
64
- const { information: res, processedArguments } = (0, known_call_handling_1.processKnownFunctionCall)({ name, args, rootId, data, forceArgs, origin: useAsProcessor });
65
+ const nsePositions = nsePositionsOf(nse, args.length);
66
+ let lastEnv = data.environment;
67
+ const { information: res, processedArguments } = (0, known_call_handling_1.processKnownFunctionCall)({
68
+ name, args, rootId, data, forceArgs, origin: useAsProcessor,
69
+ /* an unevaluated argument must not read the current frame, so it is analyzed in a clean env like `quote` */
70
+ patchData: nsePositions === undefined ? undefined : (d, index) => {
71
+ if (nsePositions.has(index)) {
72
+ lastEnv = d.environment;
73
+ return { ...d, environment: d.ctx.env.makeCleanEnv() };
74
+ }
75
+ return { ...d, environment: lastEnv };
76
+ }
77
+ });
78
+ if (nsePositions !== undefined) {
79
+ dropQuotedReferences(res, processedArguments, nsePositions, lastEnv);
80
+ }
65
81
  (0, known_call_handling_1.markArgumentsAsNonStandardEvaluation)(res.graph, rootId, processedArguments, nse);
66
- (0, known_call_handling_1.markArgumentsAsNonStandardEvaluation)(res.graph, rootId, processedArguments, masked, known_call_handling_1.NseKind.DataMasked);
82
+ (0, known_call_handling_1.markArgumentsAsNonStandardEvaluation)(res.graph, rootId, processedArguments, masked, { kind: known_call_handling_1.NseKind.DataMasked });
67
83
  if (keepArgumentOut) {
68
84
  res.out = [...res.out, ...processedArguments.flatMap(arg => arg?.out ?? [])];
69
85
  }
@@ -132,6 +148,39 @@ function defaultBuiltInProcessor(name, args, rootId, data, { useAsProcessor = bu
132
148
  }
133
149
  return res;
134
150
  }
151
+ /** The argument positions {@link markArgumentsAsNonStandardEvaluation} would mark as quoted. */
152
+ function nsePositionsOf(which, count) {
153
+ if (which === undefined) {
154
+ return undefined;
155
+ }
156
+ else if (typeof which !== 'string') {
157
+ return new Set(which);
158
+ }
159
+ const positions = new Set();
160
+ const end = which === known_call_handling_1.NseArguments.First ? Math.min(1, count) : count;
161
+ for (let i = which === known_call_handling_1.NseArguments.AllButFirst ? 1 : 0; i < end; i++) {
162
+ positions.add(i);
163
+ }
164
+ return positions;
165
+ }
166
+ /** Whatever a quoted argument saw in its clean env must not be resolved in the caller's frame afterwards. */
167
+ function dropQuotedReferences(res, processedArguments, nsePositions, lastEnv) {
168
+ const quoted = new Set();
169
+ for (const i of nsePositions) {
170
+ const arg = processedArguments[i];
171
+ for (const ref of [...arg?.in ?? [], ...arg?.unknownReferences ?? []]) {
172
+ quoted.add(ref.nodeId);
173
+ }
174
+ }
175
+ if (quoted.size > 0) {
176
+ res.in = res.in.filter(ref => !quoted.has(ref.nodeId));
177
+ res.unknownReferences = res.unknownReferences.filter(ref => !quoted.has(ref.nodeId));
178
+ }
179
+ if (nsePositions.has(processedArguments.length - 1)) {
180
+ /* the clean env of the last argument must not become the env the call leaves behind */
181
+ res.environment = lastEnv;
182
+ }
183
+ }
135
184
  function defaultBuiltInProcessorReadallArgs(name, args, rootId, data, { useAsProcessor = built_in_proc_name_1.BuiltInProcName.Default, forceArgs, markArgsAsNSE: nse, markArgsAsMasked: masked }) {
136
185
  const { information, processedArguments } = (0, known_call_handling_1.processKnownFunctionCall)({ name, args, rootId, data, forceArgs, origin: useAsProcessor });
137
186
  const g = information.graph;
@@ -141,7 +190,7 @@ function defaultBuiltInProcessorReadallArgs(name, args, rootId, data, { useAsPro
141
190
  }
142
191
  }
143
192
  (0, known_call_handling_1.markArgumentsAsNonStandardEvaluation)(g, rootId, processedArguments, nse);
144
- (0, known_call_handling_1.markArgumentsAsNonStandardEvaluation)(g, rootId, processedArguments, masked, known_call_handling_1.NseKind.DataMasked);
193
+ (0, known_call_handling_1.markArgumentsAsNonStandardEvaluation)(g, rootId, processedArguments, masked, { kind: known_call_handling_1.NseKind.DataMasked });
145
194
  return information;
146
195
  }
147
196
  exports.BuiltInProcessorMapper = {
@@ -152,6 +201,7 @@ exports.BuiltInProcessorMapper = {
152
201
  [built_in_proc_name_1.BuiltInProcName.DefineArgument]: built_in_assignment_1.processDefineArgument,
153
202
  [built_in_proc_name_1.BuiltInProcName.Default]: defaultBuiltInProcessor,
154
203
  [built_in_proc_name_1.BuiltInProcName.DefaultReadAllArgs]: defaultBuiltInProcessorReadallArgs,
204
+ [built_in_proc_name_1.BuiltInProcName.StringTemplate]: built_in_string_template_1.processStringTemplate,
155
205
  [built_in_proc_name_1.BuiltInProcName.Eval]: built_in_eval_1.processEvalCall,
156
206
  [built_in_proc_name_1.BuiltInProcName.ExpressionList]: built_in_expression_list_1.processExpressionList,
157
207
  [built_in_proc_name_1.BuiltInProcName.ForLoop]: built_in_for_loop_1.processForLoop,
@@ -1,9 +1,8 @@
1
1
  import { Identifier, PkgName } from './identifier';
2
2
  /**
3
- * Functions that data-mask their non-first argument: the symbols passed there name columns of the first
4
- * (data) argument, not variables in scope. The {@link DefaultBuiltinConfig} marks those arguments
5
- * {@link EdgeType.NonStandardEvaluation|NSE}; the pipe processor ({@link processPipe}) re-applies the same
6
- * treatment when the data is supplied through `%>%`/`|>` (then every explicit argument is a column).
3
+ * Functions that data-mask (or tidy-select) their non-first argument: symbols there name columns of the first
4
+ * (data) argument. Functions without a data argument (`aes`, `vars`, `join_by`) mask every argument and are
5
+ * configured separately.
7
6
  */
8
7
  export declare const DataMaskingFunctions: readonly (readonly [string, PkgName])[];
9
8
  /** The {@link DataMaskingFunctions} as {@link Identifier}s, for the built-in configuration. */
@@ -3,10 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DataMaskingFunctionNames = exports.DataMaskingFunctionIdentifiers = exports.DataMaskingFunctions = void 0;
4
4
  const identifier_1 = require("./identifier");
5
5
  /**
6
- * Functions that data-mask their non-first argument: the symbols passed there name columns of the first
7
- * (data) argument, not variables in scope. The {@link DefaultBuiltinConfig} marks those arguments
8
- * {@link EdgeType.NonStandardEvaluation|NSE}; the pipe processor ({@link processPipe}) re-applies the same
9
- * treatment when the data is supplied through `%>%`/`|>` (then every explicit argument is a column).
6
+ * Functions that data-mask (or tidy-select) their non-first argument: symbols there name columns of the first
7
+ * (data) argument. Functions without a data argument (`aes`, `vars`, `join_by`) mask every argument and are
8
+ * configured separately.
10
9
  */
11
10
  exports.DataMaskingFunctions = [
12
11
  ['subset', "base" /* PkgName.Base */], ['transform', "base" /* PkgName.Base */],
@@ -22,7 +21,8 @@ exports.DataMaskingFunctions = [
22
21
  ['pull', "dplyr" /* PkgName.Dplyr */], ['rename', "dplyr" /* PkgName.Dplyr */],
23
22
  ['relocate', "dplyr" /* PkgName.Dplyr */], ['select', "dplyr" /* PkgName.Dplyr */],
24
23
  ['group_split', "dplyr" /* PkgName.Dplyr */], ['add_count', "dplyr" /* PkgName.Dplyr */],
25
- ['add_tally', "dplyr" /* PkgName.Dplyr */], ['nest_by', "dplyr" /* PkgName.Dplyr */],
24
+ ['add_tally', "dplyr" /* PkgName.Dplyr */], ['nest_by', "dplyr" /* PkgName.Dplyr */], ['rowwise', "dplyr" /* PkgName.Dplyr */],
25
+ ['with_groups', "dplyr" /* PkgName.Dplyr */],
26
26
  ['pivot_longer', "tidyr" /* PkgName.TidyR */], ['pivot_wider', "tidyr" /* PkgName.TidyR */],
27
27
  ['gather', "tidyr" /* PkgName.TidyR */], ['spread', "tidyr" /* PkgName.TidyR */],
28
28
  ['separate', "tidyr" /* PkgName.TidyR */], ['separate_rows', "tidyr" /* PkgName.TidyR */],
@@ -35,9 +35,8 @@ exports.DataMaskingFunctions = [
35
35
  ['pack', "tidyr" /* PkgName.TidyR */], ['unpack', "tidyr" /* PkgName.TidyR */],
36
36
  ['drop_na', "tidyr" /* PkgName.TidyR */], ['fill', "tidyr" /* PkgName.TidyR */],
37
37
  ['replace_na', "tidyr" /* PkgName.TidyR */], ['complete', "tidyr" /* PkgName.TidyR */],
38
- ['expand', "tidyr" /* PkgName.TidyR */], ['crossing', "tidyr" /* PkgName.TidyR */],
39
- ['nesting', "tidyr" /* PkgName.TidyR */], ['expand_grid', "tidyr" /* PkgName.TidyR */],
40
- ['uncount', "tidyr" /* PkgName.TidyR */]
38
+ ['expand', "tidyr" /* PkgName.TidyR */], ['uncount', "tidyr" /* PkgName.TidyR */],
39
+ ['separate_longer_delim', "tidyr" /* PkgName.TidyR */], ['separate_longer_position', "tidyr" /* PkgName.TidyR */]
41
40
  ];
42
41
  /** The {@link DataMaskingFunctions} as {@link Identifier}s, for the built-in configuration. */
43
42
  exports.DataMaskingFunctionIdentifiers = exports.DataMaskingFunctions.map(([name, pkg]) => identifier_1.Identifier.from([name, pkg]));