Skip to content

Commit 1c42b8d

Browse files
committed
Update urls
1 parent cd357f9 commit 1c42b8d

File tree

7 files changed

+37
-37
lines changed

7 files changed

+37
-37
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Description: A consistent, simple and easy to use set of
1414
"NA"'s and zero length vectors in the same way, and the output from
1515
one function is easy to feed into the input of another.
1616
License: GPL-2 | file LICENSE
17-
URL: http://stringr.tidyverse.org,
17+
URL: https://stringr.tidyverse.org,
1818
https://github.com/tidyverse/stringr
1919
BugReports: https://github.com/tidyverse/stringr/issues
2020
Depends:

NEWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Hot patch release to resolve R CMD check failures.
3939
## New features
4040

4141
* `str_glue()` and `str_glue_data()` provide convenient wrappers around
42-
`glue` and `glue_data()` from the [glue](http://glue.tidyverse.org/) package
42+
`glue` and `glue_data()` from the [glue](https://glue.tidyverse.org/) package
4343
(#157).
4444

4545
* `str_flatten()` is a wrapper around `stri_flatten()` and clearly
@@ -133,7 +133,7 @@ Hot patch release to resolve R CMD check failures.
133133

134134
# stringr 1.0.0
135135

136-
* stringr is now powered by [stringi](https://github.com/Rexamine/stringi)
136+
* stringr is now powered by [stringi](https://github.com/gagolews/stringi)
137137
instead of base R regular expressions. This improves unicode and support, and
138138
makes most operations considerably faster. If you find stringr inadequate for
139139
your string processing needs, I highly recommend looking at stringi in more

README.Rmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ library(stringr)
1919
[![CRAN status](https://www.r-pkg.org/badges/version/stringr)](https://cran.r-project.org/package=stringr)
2020
[![Travis build status](https://travis-ci.org/tidyverse/stringr.svg?branch=master)](https://travis-ci.org/tidyverse/stringr)
2121
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/tidyverse/stringr?branch=master&svg=true)](https://ci.appveyor.com/project/tidyverse/stringr)
22-
[![Codecov test coverage](https://codecov.io/gh/tidyverse/stringr/branch/master/graph/badge.svg)](https://codecov.io/gh/tidyverse/stringr?branch=master)
23-
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)
22+
[![Codecov test coverage](https://codecov.io/gh/tidyverse/stringr/branch/master/graph/badge.svg)](https://app.codecov.io/gh/tidyverse/stringr?branch=master)
23+
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
2424
<!-- badges: end -->
2525

2626
## Overview
2727

28-
Strings are not glamorous, high-profile components of R, but they do play a big role in many data cleaning and preparation tasks. The stringr package provide a cohesive set of functions designed to make working with strings as easy as possible. If you're not familiar with strings, the best place to start is the [chapter on strings](http://r4ds.had.co.nz/strings.html) in R for Data Science.
28+
Strings are not glamorous, high-profile components of R, but they do play a big role in many data cleaning and preparation tasks. The stringr package provide a cohesive set of functions designed to make working with strings as easy as possible. If you're not familiar with strings, the best place to start is the [chapter on strings](https://r4ds.had.co.nz/strings.html) in R for Data Science.
2929

30-
stringr is built on top of [stringi](https://github.com/gagolews/stringi), which uses the [ICU](http://site.icu-project.org) C library to provide fast, correct implementations of common string manipulations. stringr focusses on the most important and commonly used string manipulation functions whereas stringi provides a comprehensive set covering almost anything you can imagine. If you find that stringr is missing a function that you need, try looking in stringi. Both packages share similar conventions, so once you've mastered stringr, you should find stringi similarly easy to use.
30+
stringr is built on top of [stringi](https://github.com/gagolews/stringi), which uses the [ICU](https://icu.unicode.org) C library to provide fast, correct implementations of common string manipulations. stringr focusses on the most important and commonly used string manipulation functions whereas stringi provides a comprehensive set covering almost anything you can imagine. If you find that stringr is missing a function that you need, try looking in stringi. Both packages share similar conventions, so once you've mastered stringr, you should find stringi similarly easy to use.
3131

3232
## Installation
3333

README.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ status](https://travis-ci.org/tidyverse/stringr.svg?branch=master)](https://trav
1212
[![AppVeyor Build
1313
Status](https://ci.appveyor.com/api/projects/status/github/tidyverse/stringr?branch=master&svg=true)](https://ci.appveyor.com/project/tidyverse/stringr)
1414
[![Codecov test
15-
coverage](https://codecov.io/gh/tidyverse/stringr/branch/master/graph/badge.svg)](https://codecov.io/gh/tidyverse/stringr?branch=master)
15+
coverage](https://codecov.io/gh/tidyverse/stringr/branch/master/graph/badge.svg)](https://app.codecov.io/gh/tidyverse/stringr?branch=master)
1616
[![Lifecycle:
17-
stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)
17+
stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
1818
<!-- badges: end -->
1919

2020
## Overview
@@ -24,11 +24,11 @@ play a big role in many data cleaning and preparation tasks. The stringr
2424
package provide a cohesive set of functions designed to make working
2525
with strings as easy as possible. If you’re not familiar with strings,
2626
the best place to start is the [chapter on
27-
strings](http://r4ds.had.co.nz/strings.html) in R for Data Science.
27+
strings](https://r4ds.had.co.nz/strings.html) in R for Data Science.
2828

2929
stringr is built on top of
3030
[stringi](https://github.com/gagolews/stringi), which uses the
31-
[ICU](http://site.icu-project.org) C library to provide fast, correct
31+
[ICU](https://icu.unicode.org) C library to provide fast, correct
3232
implementations of common string manipulations. stringr focusses on the
3333
most important and commonly used string manipulation functions whereas
3434
stringi provides a comprehensive set covering almost anything you can
@@ -79,30 +79,30 @@ str_count(x, "[aeiou]")
7979

8080
There are seven main verbs that work with patterns:
8181

82-
- `str_detect(x, pattern)` tells you if there’s any match to the
82+
- `str_detect(x, pattern)` tells you if there’s any match to the
8383
pattern.
84-
84+
8585
``` r
8686
str_detect(x, "[aeiou]")
8787
#> [1] FALSE TRUE TRUE TRUE TRUE TRUE
8888
```
8989

90-
- `str_count(x, pattern)` counts the number of patterns.
91-
90+
- `str_count(x, pattern)` counts the number of patterns.
91+
9292
``` r
9393
str_count(x, "[aeiou]")
9494
#> [1] 0 3 1 2 2 4
9595
```
9696

97-
- `str_subset(x, pattern)` extracts the matching components.
98-
97+
- `str_subset(x, pattern)` extracts the matching components.
98+
9999
``` r
100100
str_subset(x, "[aeiou]")
101101
#> [1] "video" "cross" "extra" "deal" "authority"
102102
```
103103

104-
- `str_locate(x, pattern)` gives the position of the match.
105-
104+
- `str_locate(x, pattern)` gives the position of the match.
105+
106106
``` r
107107
str_locate(x, "[aeiou]")
108108
#> start end
@@ -114,16 +114,16 @@ There are seven main verbs that work with patterns:
114114
#> [6,] 1 1
115115
```
116116

117-
- `str_extract(x, pattern)` extracts the text of the match.
118-
117+
- `str_extract(x, pattern)` extracts the text of the match.
118+
119119
``` r
120120
str_extract(x, "[aeiou]")
121121
#> [1] NA "i" "o" "e" "e" "a"
122122
```
123123

124-
- `str_match(x, pattern)` extracts parts of the match defined by
124+
- `str_match(x, pattern)` extracts parts of the match defined by
125125
parentheses.
126-
126+
127127
``` r
128128
# extract the characters on either side of the vowel
129129
str_match(x, "(.)[aeiou](.)")
@@ -136,16 +136,16 @@ There are seven main verbs that work with patterns:
136136
#> [6,] "aut" "a" "t"
137137
```
138138

139-
- `str_replace(x, pattern, replacement)` replaces the matches with new
139+
- `str_replace(x, pattern, replacement)` replaces the matches with new
140140
text.
141-
141+
142142
``` r
143143
str_replace(x, "[aeiou]", "?")
144144
#> [1] "why" "v?deo" "cr?ss" "?xtra" "d?al" "?uthority"
145145
```
146146

147-
- `str_split(x, pattern)` splits up a string into multiple pieces.
148-
147+
- `str_split(x, pattern)` splits up a string into multiple pieces.
148+
149149
``` r
150150
str_split(c("a,b", "c,d,e"), ",")
151151
#> [[1]]
@@ -158,9 +158,9 @@ There are seven main verbs that work with patterns:
158158
As well as regular expressions (the default), there are three other
159159
pattern matching engines:
160160

161-
- `fixed()`: match exact bytes
162-
- `coll()`: match human letters
163-
- `boundary()`: match boundaries
161+
- `fixed()`: match exact bytes
162+
- `coll()`: match human letters
163+
- `boundary()`: match boundaries
164164

165165
## RStudio Addin
166166

@@ -187,10 +187,10 @@ learn. Additionally, they lag behind the string operations in other
187187
programming languages, so that some things that are easy to do in
188188
languages like Ruby or Python are rather hard to do in R.
189189

190-
- Uses consistent function and argument names. The first argument is
190+
- Uses consistent function and argument names. The first argument is
191191
always the vector of strings to modify, which makes stringr work
192192
particularly well in conjunction with the pipe:
193-
193+
194194
``` r
195195
letters %>%
196196
.[1:10] %>%
@@ -199,9 +199,9 @@ languages like Ruby or Python are rather hard to do in R.
199199
#> [1] "a b" "b c" "c d" "d e" "e f" "f g" "g h" "h i" "i j" "j k"
200200
```
201201

202-
- Simplifies string operations by eliminating options that you dont
202+
- Simplifies string operations by eliminating options that you dont
203203
need 95% of the time.
204204

205-
- Produces outputs than can easily be used as inputs. This includes
205+
- Produces outputs than can easily be used as inputs. This includes
206206
ensuring that missing inputs result in missing outputs, and zero
207207
length inputs result in zero length outputs.

_pkgdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ home:
77
strip_header: true
88
links:
99
- text: Learn more at R4DS
10-
href: http://r4ds.had.co.nz/strings.html
10+
href: https://r4ds.had.co.nz/strings.html
1111

1212
navbar:
1313
left:

man/stringr-package.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/regular-expressions.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ knitr::opts_chunk$set(
1515
library(stringr)
1616
```
1717

18-
Regular expressions are a concise and flexible tool for describing patterns in strings. This vignette describes the key features of stringr's regular expressions, as implemented by [stringi](https://github.com/gagolews/stringi). It is not a tutorial, so if you're unfamiliar regular expressions, I'd recommend starting at <http://r4ds.had.co.nz/strings.html>. If you want to master the details, I'd recommend reading the classic [_Mastering Regular Expressions_](https://amzn.com/0596528124) by Jeffrey E. F. Friedl.
18+
Regular expressions are a concise and flexible tool for describing patterns in strings. This vignette describes the key features of stringr's regular expressions, as implemented by [stringi](https://github.com/gagolews/stringi). It is not a tutorial, so if you're unfamiliar regular expressions, I'd recommend starting at <https://r4ds.had.co.nz/strings.html>. If you want to master the details, I'd recommend reading the classic [_Mastering Regular Expressions_](https://www.amazon.com/dp/0596528124) by Jeffrey E. F. Friedl.
1919

2020
Regular expressions are the default pattern engine in stringr. That means when you use a pattern matching function with a bare string, it's equivalent to wrapping it in a call to `regex()`:
2121

0 commit comments

Comments
 (0)