Package: kwb.code 0.3.0
kwb.code: Analyse Your R Code!
This package allows you to parse your R scripts and to calculate some staticstics on your code.
Authors:
kwb.code_0.3.0.tar.gz
kwb.code_0.3.0.zip(r-4.5)kwb.code_0.3.0.zip(r-4.4)kwb.code_0.3.0.zip(r-4.3)
kwb.code_0.3.0.tgz(r-4.4-any)kwb.code_0.3.0.tgz(r-4.3-any)
kwb.code_0.3.0.tar.gz(r-4.5-noble)kwb.code_0.3.0.tar.gz(r-4.4-noble)
kwb.code_0.3.0.tgz(r-4.4-emscripten)kwb.code_0.3.0.tgz(r-4.3-emscripten)
kwb.code.pdf |kwb.code.html✨
kwb.code/json (API)
NEWS
# Install 'kwb.code' in R: |
install.packages('kwb.code', repos = c('https://kwb-r.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/kwb-r/kwb.code/issues
Last updated 1 years agofrom:bc81324403. Checks:OK: 3 NOTE: 4. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Sep 07 2024 |
R-4.5-win | NOTE | Sep 07 2024 |
R-4.5-linux | NOTE | Sep 07 2024 |
R-4.4-win | NOTE | Sep 07 2024 |
R-4.4-mac | NOTE | Sep 07 2024 |
R-4.3-win | OK | Sep 07 2024 |
R-4.3-mac | OK | Sep 07 2024 |
Exports:analysearg_namesfind_string_constantsfind_weaknesses_in_scriptsget_elements_by_typeget_full_function_infoget_names_of_used_packagesget_package_function_usageget_package_usage_per_scriptget_string_constants_in_scriptsparse_scriptsto_full_script_infowalk_tree
Dependencies:clidigestdplyrfansifsgenericsgluekwb.filekwb.utilslifecyclemagrittrpillarpkgconfigR6rlangstringistringrtibbletidyselectutf8vctrswithryaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Analyse the Parse Tree of an R Script | analyse |
Get Argument Names of a Function | arg_names |
Extract Elements from Parse Tree of R Script | extract_from_parse_tree |
Show String Constants Used in R Scripts | find_string_constants |
Find weaknesses in R scripts | find_weaknesses_in_scripts |
Extract Sections of Same "Type" from Parse Tree | get_elements_by_type |
Get information on function definitions in parsed R scripts | get_full_function_info |
Which Function is Called How Often? | get_function_call_frequency |
Get Names of Packages Used in R-Scripts | get_names_of_used_packages |
How Often Are the Functions of a Package Used? | get_package_function_usage |
Get Package Usage per Script | get_package_usage_per_script |
Get Frequency of String Constant Usage in R Scripts | get_string_constants_in_scripts |
Parse all given R scripts into a tree structure | parse_scripts |
Get script statistics from a list of R script trees | to_full_script_info |
Walk Along a Parse Tree | walk_tree |