Skip to content
/ boxview Public

Display the Code of a Function in Nested Boxes

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

cynkra/boxview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boxview

boxview::boxview() displays the code of a function in nested boxes, showing the ‘yes’ and ‘no’ clauses of if calls side by side. It often makes code easier to skim than the traditional way.

Installation

You can install the development version of boxview like so:

pak::pak("cynkra/boxview")

Example

Here’s base::interaction() shown with boxview and in the console.

There’s also a width argument to adjust, and an optimization argument that you might use to get a nicer output, at the cost of taking more time.

See also

The flow package and in particular the function flow::flow_view() for a somewhat comparable way to represent functions.

About

Display the Code of a Function in Nested Boxes

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages