Package: foolbox 0.1.1.9000

foolbox: Function Manipulation Toolbox

Provides functionality for manipulating functions and translating them in metaprogramming.

Authors:Thomas Mailund [aut, cre]

foolbox_0.1.1.9000.tar.gz
foolbox_0.1.1.9000.zip(r-4.5)foolbox_0.1.1.9000.zip(r-4.4)foolbox_0.1.1.9000.zip(r-4.3)
foolbox_0.1.1.9000.tgz(r-4.4-any)foolbox_0.1.1.9000.tgz(r-4.3-any)
foolbox_0.1.1.9000.tar.gz(r-4.5-noble)foolbox_0.1.1.9000.tar.gz(r-4.4-noble)
foolbox_0.1.1.9000.tgz(r-4.4-emscripten)foolbox_0.1.1.9000.tgz(r-4.3-emscripten)
foolbox.pdf |foolbox.html
foolbox/json (API)
NEWS

# Install 'foolbox' in R:
install.packages('foolbox', repos = c('https://mailund.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mailund/foolbox/issues

On CRAN:

3.75 score 8 stars 14 scripts 110 downloads 33 exports 2 dependencies

Last updated 3 years agofrom:0e74395890. Checks:ERROR: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesFAILOct 09 2024
R-4.5-winWARNINGOct 09 2024
R-4.5-linuxWARNINGOct 09 2024
R-4.4-winWARNINGOct 09 2024
R-4.4-macWARNINGOct 09 2024
R-4.3-winWARNINGOct 09 2024
R-4.3-macWARNINGOct 09 2024

Exports:%>%add_call_callbackadd_topdown_callbackanalyseanalyse_expranalyse_expr_withanalyse_withanalysis_callbackscollect_from_argsidentity_analysis_callbackidentity_rewrite_callbackmerge_bottomupnop_topdown_callbackremove_formalremove_formal_rewriterewrite_callbacksrewrite_exprrewrite_expr_withrewrite_withrewritesset_warn_on_local_functionset_warn_on_unknown_functionunset_warn_on_local_functionunset_warn_on_unknown_functionwarning_flagswith_atomic_callbackwith_call_callbackwith_pairlist_callbackwith_primitive_callbackwith_symbol_callbackwith_topdown_call_callbackwith_topdown_pairlist_callback

Dependencies:magrittrrlang

Readme and manuals

Help Manual

Help pageTopics
Provide list of rewrite transformations.[.foolbox_rewrite_spec
This operator is used together with 'rewrites' to transform a function after it is defined and before it is assigned to a name.<.foolbox_pipe
Add a function-specific callback to the call callbacks.add_call_callback
Add a function-specific callback to the top-down callbacks.add_topdown_callback
Put attribute "assigned_symbols" on expressions bottom-upannotate_assigned_symbols_callbacks
Annotate sub-expressions with variables bound in their scope.annotate_bound_symbols_in_function
Propagate parameters and local variables top-down to assign attribute "bound" to all call expressions.annotate_bound_variables_callbacks
Extracts all the symbols that appear on the left-hand side of an assignment.collect_assigned_symbols_in_expression collect_assigned_symbols_in_function
Collect attributes set in the arguments to a call expression.collect_from_args
Analyse an expression.depth_first_analyse_expr
Analyse the body of function.depth_first_analyse_function
Transform an expression.depth_first_rewrite_expr
Transform the body of function.depth_first_rewrite_function
A callback that does not do any transformation.identity_analysis_callback identity_rewrite_callback
Create a function for setting callbacks.make_with_callback
Merge the results of several bottomup results.merge_bottomup
Top-down analysis callback.nop_topdown_callback
Remove a parameter from the formal parameters of a function.remove_formal
Remove a parameter from the formal parameters of a function.remove_formal_
Default expression-transformation callbacks.analysis_callbacks rewrite_callbacks with_atomic_callback with_call_callback with_pairlist_callback with_primitive_callback with_symbol_callback with_topdown_call_callback with_topdown_pairlist_callback
Functions for applying a sequence of rewrites.analyse analyse_expr analyse_expr_with analyse_with rewrite rewrite_expr rewrite_expr_with rewrite_with
Object for setting up a transformation pipeline when defining functionsrewrites
Collection of warning flags used when traversing expressions.set_warn_on_local_function set_warn_on_unknown_function unset_warn_on_local_function unset_warn_on_unknown_function warning_flags