Commit Graph

60 Commits

Author SHA1 Message Date
Hadley Wickham 47585ee920 Mention quantifier term
Fixes #898
2021-04-18 08:57:24 -05:00
Hadley Wickham 3abea6ba61 Fix typo
Fixes #934
2021-04-18 08:52:06 -05:00
vanderlindenma 2ee3426457
str_view(), repetition at most n times yields error #807, and small typos in "Iteration chapter" (#808)
* Update and rename strings.Rmd to strings.Rmd 

Proposed fix related to this issue: https://github.com/hadley/r4ds/issues/807

A more comprehensive fix should perhaps discuss why "`{,m}`: at most m" does not work (or warn the reader that it does not)

* Typos in iteration.Rmd

Correcting two small typos

* Add missing word

* Add code example for 1,m

Co-authored-by: Mine Cetinkaya-Rundel <cetinkaya.mine@gmail.com>
2021-04-14 16:43:36 +01:00
Jakob Krigovsky 20b925c1ee
Fix str_to_upper’s default locale (#937)
From https://stringr.tidyverse.org/reference/case.html:

> locale: Locale to use for translations. Defaults to "en" (English) to ensure consistent default ordering across platforms.
2021-04-14 16:03:48 +01:00
Mine Çetinkaya-Rundel 5769a02123 Update referencing style 2021-02-22 12:59:50 +00:00
Mine Çetinkaya-Rundel fbb738e799 Enumerate exercise subparts with letters 2021-02-21 17:32:37 +00:00
Mine Cetinkaya-Rundel 32c625c6ef
Use the visual editor (#923)
* Sentence wrap + visual editor Rmd style updates

* Move files not called in bookdown.yml to extra

* UK spelling + canonical source + sentence wrap

* Rename .rmd -> .Rmd

* Sentence wrap + visual editor Rmd style

* Fix capitalization
2021-02-21 09:40:40 -06:00
Jakob Krigovsky 94f42e373c
Fix spelling of “Stack Overflow” (#902) 2021-02-08 11:31:04 -06:00
Jacek Kolacz 6eb53ea069 update tidyverse loadings (#754)
Update to the tidyverse prerequsities for the strings and factors chapters. stringr and forcats now load with the core tidyverse.
2020-01-15 12:40:22 -06:00
Zhuoer Dong 3ff4336ca5 14.4 exercise of Detect matches should be 4th level heading (#727) 2018-11-12 09:55:21 -06:00
Rob Tenorio c63f496ed9 small typo referencing wrong object (#686)
Line 571 should reference word, the column name in df, not words, the vector.
2018-10-24 12:25:50 -05:00
Jennifer (Jenny) Bryan 03eb8d06a9 Mention the use of a character class for metacharacters (#687)
Closes #673
2018-06-21 05:08:05 +02:00
Garrick Aden-Buie c7a2442f64 Minor typo: dash needs to be first in character class group (#664) 2018-06-20 11:10:38 +02:00
Dirk Eddelbuettel 64a1716d71 suprinsingly -> surprisingly (#658)
one char typo
2018-06-20 11:09:36 +02:00
Floris Vanderhaeghe 3b688ee8a5 Elaborate on capturing groups (#615)
Clarify the meaning and use of capturing groups.
2018-06-20 10:58:59 +02:00
yahwes c81d1e0087 fix list of typos (#488) 2016-10-24 13:04:21 -05:00
hadley 425f22f45d More @csgillespie changes 2016-10-04 09:01:12 -05:00
hadley 7768955fe6 Use tidyverse package
Fixes #451
2016-10-03 12:30:24 -05:00
Ajay Deonarine d800a19a83 Fixed Typo (#317) 2016-08-26 10:33:27 -05:00
hadley 92d7665920 Drop handling hierarchy
It's just a bit too raw - and rather than polishing it, it would be better to put the time in to (e.g.) ggplot2 scales
2016-08-15 09:18:56 -05:00
S'busiso Mkhondwane 6c5eb2a452 Update strings.Rmd (#263)
Typo. In some exercises there seem like the spacing between the numbering is not consistent. I tried to fix one here.
2016-08-15 07:32:32 -05:00
S'busiso Mkhondwane b0d830b181 Update strings.Rmd (#262)
Typo
2016-08-15 07:32:17 -05:00
hadley 686254068d Proof strings 2016-08-12 11:28:16 -05:00
hadley 0ab8d322fb Another pass through strings 2016-08-08 10:45:11 -05:00
hadley e56032efe3 common is now words 2016-07-20 11:51:53 -05:00
hadley 6a09717269 Strings tweaks
* Don't need to cache html widgets anymore
* Data now in stringr package
2016-07-19 18:01:52 -05:00
hadley 8faebedf9f Consistent chapter intro layout 2016-07-19 08:01:50 -05:00
behrman 0934f77c28 Fix typos - strings.Rmd (#149)
* Fix typos

* Changed excercise 10.2.6 1.2 back to original
2016-07-15 13:03:18 -05:00
hadley 539e6d9a8a Fixes from Roberto 2016-06-27 13:07:23 -05:00
jjchern ffdf38d2bf "vs" should be "vs." 2016-05-23 18:37:05 -05:00
Garrett b724f667bb Small copy edits edits to strings.Rmd 2016-04-07 16:10:32 -04:00
hadley 53afb76ae7 Don't cache loading of stringr package 2016-03-22 07:49:09 -05:00
hadley 9e2fc73aac Drop jekyll markdown 2016-02-17 16:26:32 +11:00
hadley c87c50301b More reliable way of getting number of stringi functions 2016-02-12 16:07:40 -06:00
Radu Grosu 504c3c44b4 Update strings.Rmd
typos
2016-02-11 17:45:33 +00:00
Brandon Greenwell af8f81c28c Fix typo
Missing a word (e.g., over or of) here.
2016-01-22 08:50:37 -05:00
hadley cc554ee638 Another regexp tutorial to read in more detail 2016-01-19 07:08:17 -06:00
hadley 7e70308dd5 Fix yaml metadata 2015-12-16 17:22:03 -06:00
hadley fae4699bba Restore yaml metadata necessary for travis 2015-12-16 16:41:08 -06:00
hadley 8e40393cf5 Local bookdown working 2015-12-11 13:28:10 -06:00
hadley bad4c9d975 Make sure first element is heading 2015-12-11 12:34:20 -06:00
Brandon Greenwell 6b47330ea4 Change `*` to `$` in Anchors Section of strings.Rmd
I'm just learning regular expressions, but I think you meant to use $ instead of * in the second bullet point in the section titled Anchors in strings.Rmd.
2015-12-01 14:27:35 -05:00
hadley 6c84e9d384 Note to look at site 2015-11-11 16:44:57 -06:00
Daniel Gromer 1d02bda86a Fix for string subsetting example
Words in example vector `x <- c("apple", "banana", "pear")` should start with an uppercase letter so the `str_to_lower` example makes sense.
2015-11-09 19:41:00 +01:00
hadley 67d3e575aa Merge branch 'master' of github.com:hadley/r4ds 2015-11-09 08:58:40 -06:00
Hadley Wickham 1b53559b54 Merge pull request #9 from lawwu/patch-1
Update strings.Rmd
2015-11-09 06:35:08 -06:00
hadley 0b9b5ffeaa Add autocomplete screenshot 2015-11-09 06:32:56 -06:00
Lawrence Wu 1a38049f2d Update strings.Rmd
typo in the stringi package section, should read stringr
2015-11-07 21:20:47 -08:00
robinlovelace 7e8d4fafe1 Update text related to autocompletion
Also fixes incorrect conjugation for 'trigger'
2015-11-07 15:26:47 +00:00
robinlovelace 6cc8b759a2 Clarify comment, remove brackets 2015-11-07 15:20:43 +00:00