Running examples in 'unglue-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: unglue
> ### Title: unglue
> ### Aliases: unglue unglue_data unglue_vec unglue_unnest
> 
> ### ** Examples
> 
> # using an awample from ?glue::glue
> if(require(magrittr) && require(glue)) {
+   glued_data <- mtcars %>% glue_data("{rownames(.)} has {hp} hp")
+   unglue_data(glued_data, "{rownames(.)} has {hp} hp")
+ }
Loading required package: magrittr
Loading required package: glue
           rownames...  hp
1            Mazda RX4 110
2        Mazda RX4 Wag 110
3           Datsun 710  93
4       Hornet 4 Drive 110
5    Hornet Sportabout 175
6              Valiant 105
7           Duster 360 245
8            Merc 240D  62
9             Merc 230  95
10            Merc 280 123
11           Merc 280C 123
12          Merc 450SE 180
13          Merc 450SL 180
14         Merc 450SLC 180
15  Cadillac Fleetwood 205
16 Lincoln Continental 215
17   Chrysler Imperial 230
18            Fiat 128  66
19         Honda Civic  52
20      Toyota Corolla  65
21       Toyota Corona  97
22    Dodge Challenger 150
23         AMC Javelin 150
24          Camaro Z28 245
25    Pontiac Firebird 175
26           Fiat X1-9  66
27       Porsche 914-2  91
28        Lotus Europa 113
29      Ford Pantera L 264
30        Ferrari Dino 175
31       Maserati Bora 335
32          Volvo 142E 109
> 
> facts <- c("Antarctica is the largest desert in the world!",
+ "The largest country in Europe is Russia!",
+ "The smallest country in Europe is Vatican!",
+ "Disneyland is the most visited place in Europe! Disneyland is in Paris!",
+ "The largest island in the world is Green Land!")
> facts_df <- data.frame(id = 1:5, facts)
> 
> patterns <- c("The {adjective} {place_type} in {bigger_place} is {place}!",
+             "{place} is the {adjective} {place_type=[^ ]+} in {bigger_place}!{=.*}")
> unglue_data(facts, patterns)
       place    adjective place_type bigger_place
1 Antarctica      largest     desert    the world
2     Russia      largest    country       Europe
3    Vatican     smallest    country       Europe
4 Disneyland most visited      place       Europe
5 Green Land      largest     island    the world
> 
> sentences <- c("666 is [a number]", "foo is [a word]",
+               "42 is [the answer]", "Area 51 is [unmatched]")
> patterns <- c("{number=\\d+} is [{what}]", "{word=\\D+} is [{what}]")
> unglue_data(sentences, patterns)
Error in res[na_indices] <- replicate(sum(na_indices), data.frame(row.names = 1)) : 
  replacement has length zero
Calls: unglue_data -> unglue_data0
Execution halted