<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title>Lewin Fox</title>
    <subtitle>Software, app and web development in Queenstown, New Zealand. I build software to solve business problems: apps, websites, whatever the job needs.</subtitle>
    <link rel="self" type="application/atom+xml" href="https://lewinfox.com/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://lewinfox.com"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2025-10-01T00:00:00+00:00</updated>
    <id>https://lewinfox.com/atom.xml</id>
    <entry xml:lang="en">
        <title>Announcing the release of foodwebr 1.0.0</title>
        <published>2025-10-01T00:00:00+00:00</published>
        <updated>2025-10-01T00:00:00+00:00</updated>
        
        <author>
          <name>Unknown</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://lewinfox.com/blog/foodwebr-1-0-0/"/>
        <id>https://lewinfox.com/blog/foodwebr-1-0-0/</id>
        
        <content type="html" xml:base="https://lewinfox.com/blog/foodwebr-1-0-0/">&lt;p&gt;I&#39;m excited to announce that &lt;a rel=&quot;external&quot; href=&quot;https://lewinfox.com/foodwebr/&quot;&gt;foodwebr&lt;/a&gt; 1.0.0 is now available on
CRAN! The package makes it simple to understand and visualize function dependencies in R codebases.&lt;/p&gt;
&lt;h2 id=&quot;what-is-foodwebr&quot;&gt;What is foodwebr?&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;foodwebr&lt;/code&gt; helps developers and analysts explore code relationships by generating function
dependency graphs. It shows which functions call other functions, making it easier to understand
code structure and relationships at a glance.&lt;/p&gt;
&lt;h2 id=&quot;installation&quot;&gt;Installation&lt;/h2&gt;
&lt;p&gt;Install directly from CRAN:&lt;/p&gt;
&lt;pre class=&quot;giallo&quot; style=&quot;color: #E1E4E8; background-color: #24292E;&quot; &gt;&lt;code data-lang=&quot;r&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #B392F0;&quot;&gt;install.packages&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span style=&quot;color: #9ECBFF;&quot;&gt;&amp;quot;foodwebr&amp;quot;&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&quot;quick-example&quot;&gt;Quick Example&lt;/h2&gt;
&lt;pre class=&quot;giallo&quot; style=&quot;color: #E1E4E8; background-color: #24292E;&quot; &gt;&lt;code data-lang=&quot;r&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #F97583;&quot;&gt;library&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span style=&quot;color: #FFAB70;&quot;&gt;foodwebr&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #6A737D;&quot;&gt;# Define some interconnected functions&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #FFAB70;&quot;&gt;f&lt;/span&gt;&lt;span style=&quot;color: #F97583;&quot;&gt; &amp;lt;- function&lt;/span&gt;&lt;span&gt;()&lt;/span&gt;&lt;span style=&quot;color: #79B8FF;&quot;&gt; 1&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #FFAB70;&quot;&gt;g&lt;/span&gt;&lt;span style=&quot;color: #F97583;&quot;&gt; &amp;lt;- function&lt;/span&gt;&lt;span&gt;()&lt;/span&gt;&lt;span style=&quot;color: #B392F0;&quot;&gt; f&lt;/span&gt;&lt;span&gt;()&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #FFAB70;&quot;&gt;h&lt;/span&gt;&lt;span style=&quot;color: #F97583;&quot;&gt; &amp;lt;- function&lt;/span&gt;&lt;span&gt;() {&lt;/span&gt;&lt;span style=&quot;color: #B392F0;&quot;&gt; f&lt;/span&gt;&lt;span&gt;(); &lt;/span&gt;&lt;span style=&quot;color: #B392F0;&quot;&gt;g&lt;/span&gt;&lt;span&gt;() }&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #6A737D;&quot;&gt;# Generate the foodweb&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #FFAB70;&quot;&gt;fw&lt;/span&gt;&lt;span style=&quot;color: #F97583;&quot;&gt; &amp;lt;-&lt;/span&gt;&lt;span style=&quot;color: #B392F0;&quot;&gt; foodweb&lt;/span&gt;&lt;span&gt;()&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #FFAB70;&quot;&gt;fw&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #6A737D;&quot;&gt;#&amp;gt; # A `foodweb`: 3 vertices and 3 edges&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #6A737D;&quot;&gt;#&amp;gt; digraph &amp;#39;foodweb&amp;#39; {&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #6A737D;&quot;&gt;#&amp;gt;   f()&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #6A737D;&quot;&gt;#&amp;gt;   g() -&amp;gt; { f() }&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #6A737D;&quot;&gt;#&amp;gt;   h() -&amp;gt; { f(), g() }&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #6A737D;&quot;&gt;#&amp;gt; }&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #B392F0;&quot;&gt;plot&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span style=&quot;color: #FFAB70;&quot;&gt;fw&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&quot;key-features&quot;&gt;Key Features&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Easy visualization&lt;/strong&gt;: Generate function dependency graphs with minimal code&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Flexible filtering&lt;/strong&gt;: Focus on specific function relationships or view the entire codebase&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Package analysis&lt;/strong&gt;: Explore dependencies in other packages, not just your own code&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Integration&lt;/strong&gt;: Works with tidygraph for advanced graph analysis and graphviz for enhanced
visualization&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;filtering-options&quot;&gt;Filtering Options&lt;/h2&gt;
&lt;p&gt;Target specific functions or view the full picture:&lt;/p&gt;
&lt;pre class=&quot;giallo&quot; style=&quot;color: #E1E4E8; background-color: #24292E;&quot; &gt;&lt;code data-lang=&quot;r&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #6A737D;&quot;&gt;# Show dependencies centered on a specific function&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #B392F0;&quot;&gt;foodweb&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span style=&quot;color: #FFAB70;&quot;&gt;FUN&lt;/span&gt;&lt;span style=&quot;color: #F97583;&quot;&gt; =&lt;/span&gt;&lt;span style=&quot;color: #FFAB70;&quot;&gt; g&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #6A737D;&quot;&gt;# Include all functions, even unconnected ones&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #B392F0;&quot;&gt;foodweb&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span style=&quot;color: #FFAB70;&quot;&gt;FUN&lt;/span&gt;&lt;span style=&quot;color: #F97583;&quot;&gt; =&lt;/span&gt;&lt;span style=&quot;color: #FFAB70;&quot;&gt; g&lt;/span&gt;&lt;span style=&quot;color: #F97583;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #FFAB70;&quot;&gt; filter&lt;/span&gt;&lt;span style=&quot;color: #F97583;&quot;&gt; =&lt;/span&gt;&lt;span style=&quot;color: #79B8FF;&quot;&gt; FALSE&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&quot;learn-more&quot;&gt;Learn More&lt;/h2&gt;
&lt;p&gt;Check out the &lt;a rel=&quot;external&quot; href=&quot;https://lewinfox.com/foodwebr/&quot;&gt;documentation&lt;/a&gt; for more examples and advanced usage.&lt;/p&gt;
&lt;p&gt;If you find foodwebr useful, consider starring the
&lt;a rel=&quot;external&quot; href=&quot;https://github.com/lewinfox/foodwebr&quot;&gt;GitHub repository&lt;/a&gt; or filing issues and feature requests
there.&lt;/p&gt;
</content>
        
    </entry>
</feed>
