Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Commit

Permalink
add contributor code of conduct, removed install leaflet from github …
Browse files Browse the repository at this point in the history
…in readme
  • Loading branch information
sckott committed Aug 24, 2015
1 parent c99415a commit 467b3c7
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 12 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ vignettes/img
.V8history
cran-comments.md

^CONDUCT\.md$
25 changes: 25 additions & 0 deletions CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Contributor Code of Conduct

As contributors and maintainers of this project, we pledge to respect all people who
contribute through reporting issues, posting feature requests, updating documentation,
submitting pull requests or patches, and other activities.

We are committed to making participation in this project a harassment-free experience for
everyone, regardless of level of experience, gender, gender identity and expression,
sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.

Examples of unacceptable behavior by participants include the use of sexual language or
imagery, derogatory comments or personal attacks, trolling, public or private harassment,
insults, or other unprofessional conduct.

Project maintainers have the right and responsibility to remove, edit, or reject comments,
commits, code, wiki edits, issues, and other contributions that are not aligned to this
Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed
from the project team.

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by
opening an issue or contacting one or more of the project maintainers.

This Code of Conduct is adapted from the Contributor Covenant
(http:contributor-covenant.org), version 1.0.0, available at
http://contributor-covenant.org/version/1/0/0/
5 changes: 2 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ knitr::opts_chunk$set(
[![Build Status](https://travis-ci.org/ropensci/lawn.svg?branch=master)](https://travis-ci.org/ropensci/lawn)
[![Build status](https://ci.appveyor.com/api/projects/status/v7d3p3q9j97h0ttw?svg=true)](https://ci.appveyor.com/project/sckott/lawn)
[![codecov.io](https://codecov.io/github/ropensci/lawn/coverage.svg?branch=master)](https://codecov.io/github/ropensci/lawn?branch=master)
[![rstudio mirror downloads](http://cranlogs.r-pkg.org/badges/grand-total/lawn?color=2ECC71)](https://github.com/metacran/cranlogs.app)
[![rstudio mirror downloads](http://cranlogs.r-pkg.org/badges/grand-total/lawn?color=ff69b4)](https://github.com/metacran/cranlogs.app)
[![cran version](http://www.r-pkg.org/badges/version/lawn)](http://cran.rstudio.com/web/packages/lawn)

`lawn` is an R wrapper for the Javascript library [turf.js](http://turfjs.org/). In addition, we have a few functions to interface with the [geojson-random](https://github.com/mapbox/geojson-random) Javascript library.
Expand All @@ -30,11 +30,9 @@ To install the development version:

```{r eval=FALSE}
install.packages("devtools")
devtools::install_github("rstudio/leaflet")
devtools::install_github("ropensci/lawn")
```


```{r}
library("lawn")
```
Expand Down Expand Up @@ -186,5 +184,6 @@ lawn_sample(lawn_data$points_average, 2) %>% view()
* Please [report any issues or bugs](https://github.com/ropensci/lawn/issues).
* License: MIT
* Get citation information for `lawn` in R doing `citation(package = 'lawn')`
* Please note that this project is released with a [Contributor Code of Conduct](CONDUCT.md). By participating in this project you agree to abide by its terms.

[![rofooter](http://ropensci.org/public_images/github_footer.png)](http://ropensci.org)
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ lawn
[![Build Status](https://travis-ci.org/ropensci/lawn.svg?branch=master)](https://travis-ci.org/ropensci/lawn)
[![Build status](https://ci.appveyor.com/api/projects/status/v7d3p3q9j97h0ttw?svg=true)](https://ci.appveyor.com/project/sckott/lawn)
[![codecov.io](https://codecov.io/github/ropensci/lawn/coverage.svg?branch=master)](https://codecov.io/github/ropensci/lawn?branch=master)
[![rstudio mirror downloads](http://cranlogs.r-pkg.org/badges/grand-total/lawn?color=2ECC71)](https://github.com/metacran/cranlogs.app)
[![rstudio mirror downloads](http://cranlogs.r-pkg.org/badges/grand-total/lawn?color=ff69b4)](https://github.com/metacran/cranlogs.app)
[![cran version](http://www.r-pkg.org/badges/version/lawn)](http://cran.rstudio.com/web/packages/lawn)

`lawn` is an R wrapper for the Javascript library [turf.js](http://turfjs.org/). In addition, we have a few functions to interface with the [geojson-random](https://github.com/mapbox/geojson-random) Javascript library.
Expand All @@ -25,12 +25,10 @@ To install the development version:

```r
install.packages("devtools")
devtools::install_github("rstudio/leaflet")
devtools::install_github("ropensci/lawn")
```



```r
library("lawn")
```
Expand Down Expand Up @@ -101,7 +99,7 @@ lawn_distance(from, to)
```r
lawn_random(n = 2)
#> <FeatureCollection>
#> Bounding box: -82.9 -47.8 137.5 87.4
#> Bounding box: -109.5 -57.0 178.4 -45.7
#> No. features: 2
#> No. points: 4
#> Properties: NULL
Expand All @@ -111,7 +109,7 @@ lawn_random(n = 2)
```r
lawn_random(n = 5)
#> <FeatureCollection>
#> Bounding box: -88.5 -80.7 162.7 31.1
#> Bounding box: -165.5 -85.7 102.4 67.4
#> No. features: 5
#> No. points: 10
#> Properties: NULL
Expand All @@ -125,7 +123,7 @@ Points
```r
gr_point(2)
#> <FeatureCollection>
#> Bounding box: 168.6 22.5 179.4 79.4
#> Bounding box: 168.8 -87.1 176.5 12.9
#> No. features: 2
#> No. points: 4
#> Properties: NULL
Expand All @@ -136,7 +134,7 @@ Positions

```r
gr_position()
#> [1] 141.487700 -1.177591
#> [1] 153.81914 -14.46048
```

Polygons
Expand All @@ -145,7 +143,7 @@ Polygons
```r
gr_polygon(n = 1, vertices = 5, max_radial_length = 5)
#> <FeatureCollection>
#> Bounding box: -7.1 83.3 -4.0 86.7
#> Bounding box: -18.9 -89.7 -12.6 -84.0
#> No. features: 1
#> No. points: 12
#> Properties: NULL
Expand Down Expand Up @@ -178,7 +176,7 @@ lawn_sample(dat, 2)
```r
lawn_sample(dat, 3)
#> <FeatureCollection>
#> Bounding box: 10.7 59.9 10.7 59.9
#> Bounding box: 10.7 59.9 10.8 59.9
#> No. features: 3
#> No. points: 6
#> Properties: NULL
Expand Down

0 comments on commit 467b3c7

Please sign in to comment.