Skip to content

Commit 9ec5379

Browse files
update remote.
1 parent 3b92ed2 commit 9ec5379

File tree

2 files changed

+27
-11
lines changed

2 files changed

+27
-11
lines changed

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ You can install the package from GitHub:
3232

3333
```{r, eval = FALSE}
3434
# install.packages("remotes")
35-
remotes::install_github("krlmlr/styler")
35+
remotes::install_github("r-lib/styler")
3636
```
3737

3838

README.md

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,29 @@
11

22
<!-- README.md is generated from README.Rmd. Please edit that file -->
3-
styler
4-
======
53

6-
[![Build Status](https://travis-ci.org/r-lib/styler.svg?branch=master)](https://travis-ci.org/r-lib/styler) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/r-lib/styler?branch=master&svg=true)](https://ci.appveyor.com/project/r-lib/styler) [![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active) [![codecov](https://codecov.io/gh/r-lib/styler/branch/master/graph/badge.svg)](https://codecov.io/gh/r-lib/styler) [![cran version](http://www.r-pkg.org/badges/version/styler)](https://cran.r-project.org/package=styler)
4+
# styler
75

8-
The goal of styler is to provide non-invasive pretty-printing of R source code while adhering to the [tidyverse](https://github.com/tidyverse/style) formatting rules. Support for custom style guides is planned.
6+
[![Build
7+
Status](https://travis-ci.org/r-lib/styler.svg?branch=master)](https://travis-ci.org/r-lib/styler)
8+
[![AppVeyor Build
9+
Status](https://ci.appveyor.com/api/projects/status/github/r-lib/styler?branch=master&svg=true)](https://ci.appveyor.com/project/r-lib/styler)
10+
[![Project Status: Active – The project has reached a stable, usable
11+
state and is being actively
12+
developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
13+
[![codecov](https://codecov.io/gh/r-lib/styler/branch/master/graph/badge.svg)](https://codecov.io/gh/r-lib/styler)
14+
[![cran
15+
version](http://www.r-pkg.org/badges/version/styler)](https://cran.r-project.org/package=styler)
16+
17+
The goal of styler is to provide non-invasive pretty-printing of R
18+
source code while adhering to the
19+
[tidyverse](https://github.com/tidyverse/style) formatting rules.
20+
Support for custom style guides is planned.
921

1022
You can install the package from GitHub:
1123

1224
``` r
1325
# install.packages("remotes")
14-
remotes::install_github("krlmlr/styler")
26+
remotes::install_github("r-lib/styler")
1527
```
1628

1729
You can style a simple character vector of code with `style_text()`:
@@ -26,11 +38,15 @@ style_text(ugly_code)
2638

2739
There are a few variants of `style_text()`:
2840

29-
- `style_file()` styles .R and/or .Rmd files.
30-
- `style_dir()` styles all .R files in a directory.
31-
- `style_pkg()` styles the source files of an R package.
32-
- RStudio Addins for styling the active file, styling the current package and styling the highlighted code region.
41+
- `style_file()` styles .R and/or .Rmd files.
42+
- `style_dir()` styles all .R files in a directory.
43+
- `style_pkg()` styles the source files of an R package.
44+
- RStudio Addins for styling the active file, styling the current
45+
package and styling the highlighted code
46+
region.
3347

3448
<img src="https://raw.githubusercontent.com/lorenzwalthert/some_raw_data/master/styler_0.1.gif" width="650px" />
3549

36-
You can find more information on the wiki of [Google Summer of Code 2017](https://github.com/rstats-gsoc/gsoc2017/wiki/Noninvasive-source-code-formatting) or check out the [pkgdown](https://r-lib.github.io/styler/) page.
50+
You can find more information on the wiki of [Google Summer of
51+
Code 2017](https://github.com/rstats-gsoc/gsoc2017/wiki/Noninvasive-source-code-formatting)
52+
or check out the [pkgdown](https://r-lib.github.io/styler/) page.

0 commit comments

Comments
 (0)