Debian Codegraph @

inst/README.markdown

raw
1
2 # prettycode
3
4 > Pretty Print R Code in the Terminal
5
6 [![Linux Build Status](https://travis-ci.org/r-lib/prettycode.svg?branch=master)](https://travis-ci.org/r-lib/prettycode)
7 [![Windows Build status](https://ci.appveyor.com/api/projects/status/github/r-lib/prettycode?svg=true)](https://ci.appveyor.com/project/gaborcsardi/prettycode)
8 [![](http://www.r-pkg.org/badges/version/prettycode)](http://www.r-pkg.org/pkg/prettycode)
9 [![CRAN RStudio mirror downloads](http://cranlogs.r-pkg.org/badges/prettycode)](http://www.r-pkg.org/pkg/prettycode)
10 [![Coverage Status](https://img.shields.io/codecov/c/github/r-lib/prettycode/master.svg)](https://codecov.io/github/r-lib/prettycode?branch=master)
11
12 Replace the standard print method for functions with one that performs
13 syntax highlighting, using ANSI colors, if the terminal supports them.
14
15 ## Installation
16
17 ```r
18 install.packages("prettycode")
19 ```
20
21 ## Usage
22
23 Just call `prettycode::prettycode()` and start printing functions to the
24 screen. Long functions are automatically paged using the default pager.
25
26 ![](/inst/screenshot.png)
27
28 ## License
29
30 MIT © Gábor Csárdi