PACKAGE_HOOKS:{ createSearch:()=>FlowrSearchBuilder< "from", [], ParentInformation, FlowrSearchElements<ParentInformation, (...)[]>, >; info:{ certainty:BestEffort; defaultConfig:()=>{ allowedOutput: (...)[]; followCalls:true; startupMessageFunctions: (...)[]; unsafeCalls: (...)[]; }; description:"Finds problems in `.onLoad`, `.onAttach`, `.onDetach`, and `.Last.lib`: argument lists, attaching packages, output other than `packageStartupMessage()`, `installed.packages()`, misplaced `library.dynam()` calls, and the obsolete `.First.lib`. Follows calls into the package's own functions."; name:"Package Hooks"; tags:readonly[CmdCheck,Bug,Usability,QuickFix]; }; prettyPrint:{ full:(r:PackageHooksResult,metadata:unknown)=>string; query:(r:PackageHooksResult,metadata:unknown)=>string; }; processSearchResult:( _elements:FlowrSearchElements< ParentInformation, FlowrSearchElement<(...)>[], >, config:PackageHooksConfig, data:ReadonlyFlowrAnalysisProvider<KnownParser>, )=>Promise<{".meta":{hooks: ... };results: (...)[]}>; } = ...
Port of the R CMD check notes on package hooks (checking R code for possible problems, from
tools:::.check_package_code_startup_functions and tools:::.check_package_code_unload_functions).
Port of the
R CMD checknotes on package hooks (checking R code for possible problems, fromtools:::.check_package_code_startup_functionsandtools:::.check_package_code_unload_functions).