Skip to content

Commit d1edeab

Browse files
update appveyor link, remove html preview, substitute devtools::load_all() with pkgload::load_all()
1 parent 5613d04 commit d1edeab

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

DESCRIPTION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ Suggests:
2121
knitr,
2222
rmarkdown,
2323
rstudioapi,
24-
testthat
24+
testthat,
25+
pkgload
2526
Remotes:
2627
r-lib/pkgload,
2728
krlmlr/utf8

README.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
output:
33
github_document:
4-
html_preview: true
4+
html_preview: false
55
---
66

77
<!-- README.md is generated from README.Rmd. Please edit that file -->
@@ -27,7 +27,7 @@ rules. Support for custom style guides is planned.
2727

2828
You can style a simple character vector of code with `style_text()`:
2929
```{r echo=FALSE, message=FALSE}
30-
devtools::load_all()
30+
pkgload::load_all()
3131
library("magrittr")
3232
#knitr::opts_chunk$set(comment = NA)
3333
```
@@ -45,7 +45,7 @@ There are a few variants of `style_text()`:
4545
* `style_file()` styles a single .R file.
4646
* `style_dir()` styles all .R files in a directory.
4747
* `style_pkg()` styles the source files of an R package.
48-
* An RStudio-Addin that styles the active file .R file
48+
* An RStudio Addin that styles the active file .R file
4949

5050
```{r, out.width = "650px", echo = FALSE}
5151
knitr::include_graphics("https://raw.githubusercontent.com/lorenzwalthert/some_raw_data/master/styler_0.1.gif")

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
styler
44
======
55

6-
[![Build Status](https://travis-ci.org/krlmlr/styler.svg?branch=master)](https://travis-ci.org/krlmlr/styler) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/krlmlr/styler?branch=master&svg=true)](https://ci.appveyor.com/project/lorenzwalthert/styler) [![Project Status: WIP - Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](http://www.repostatus.org/badges/latest/wip.svg)](http://www.repostatus.org/#wip)
6+
[![Build Status](https://travis-ci.org/krlmlr/styler.svg?branch=master)](https://travis-ci.org/krlmlr/styler) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/krlmlr/styler?branch=master&svg=true)](https://ci.appveyor.com/project/krlmlr/styler) [![Project Status: WIP - Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](http://www.repostatus.org/badges/latest/wip.svg)](http://www.repostatus.org/#wip)
77

88
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.
99

@@ -21,10 +21,8 @@ There are a few variants of `style_text()`:
2121
- `style_file()` styles a single .R file.
2222
- `style_dir()` styles all .R files in a directory.
2323
- `style_pkg()` styles the source files of an R package.
24-
- An RStudio-Addin that styles the active file .R file
24+
- An RStudio Addin that styles the active file .R file
2525

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

2828
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://krlmlr.github.io/styler/) page.
29-
30-
In the following, we present a dirty file and how it is styled with styler. The file can either be tidied, which is a less strict form of styling with an emphasis on preserving the programmer's intentions - or cleaned, which means to strictly apply the style guide at hand.

0 commit comments

Comments
 (0)