Running examples in ‘tidyr-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: expand
> ### Title: Expand data frame to include all possible combinations of values
> ### Aliases: expand crossing nesting
> 
> ### ** Examples
> 
> # Finding combinations ------------------------------------------------------
> fruits <- tibble(
+   type = c("apple", "orange", "apple", "orange", "orange", "orange"),
+   year = c(2010, 2010, 2012, 2010, 2011, 2012),
+   size = factor(
+     c("XS", "S", "M", "S", "S", "M"),
+     levels = c("XS", "S", "M", "L")
+   ),
+   weights = rnorm(6, as.numeric(size) + 2)
+ )
> 
> # All combinations, including factor levels that are not used
> fruits %>% expand(type)
# A tibble: 2 × 1
  type  
  <chr> 
1 apple 
2 orange
> fruits %>% expand(size)
# A tibble: 4 × 1
  size 
  <fct>
1 XS   
2 S    
3 M    
4 L    
> fruits %>% expand(type, size)
# A tibble: 8 × 2
  type   size 
  <chr>  <fct>
1 apple  XS   
2 apple  S    
3 apple  M    
4 apple  L    
5 orange XS   
6 orange S    
7 orange M    
8 orange L    
> fruits %>% expand(type, size, year)
# A tibble: 24 × 3
   type  size   year
   <chr> <fct> <dbl>
 1 apple XS     2010
 2 apple XS     2011
 3 apple XS     2012
 4 apple S      2010
 5 apple S      2011
 6 apple S      2012
 7 apple M      2010
 8 apple M      2011
 9 apple M      2012
10 apple L      2010
# … with 14 more rows
> 
> # Only combinations that already appear in the data
> fruits %>% expand(nesting(type))
# A tibble: 2 × 1
  type  
  <chr> 
1 apple 
2 orange
> fruits %>% expand(nesting(size))
# A tibble: 3 × 1
  size 
  <fct>
1 XS   
2 S    
3 M    
> fruits %>% expand(nesting(type, size))
# A tibble: 4 × 2
  type   size 
  <chr>  <fct>
1 apple  XS   
2 apple  M    
3 orange S    
4 orange M    
> fruits %>% expand(nesting(type, size, year))
# A tibble: 5 × 3
  type   size   year
  <chr>  <fct> <dbl>
1 apple  XS     2010
2 apple  M      2012
3 orange S      2010
4 orange S      2011
5 orange M      2012
> 
> # Other uses ----------------------------------------------------------------
> # Use with `full_seq()` to fill in values of continuous variables
> fruits %>% expand(type, size, full_seq(year, 1))
# A tibble: 24 × 3
   type  size  `full_seq(year, 1)`
   <chr> <fct>               <dbl>
 1 apple XS                   2010
 2 apple XS                   2011
 3 apple XS                   2012
 4 apple S                    2010
 5 apple S                    2011
 6 apple S                    2012
 7 apple M                    2010
 8 apple M                    2011
 9 apple M                    2012
10 apple L                    2010
# … with 14 more rows
> fruits %>% expand(type, size, 2010:2013)
# A tibble: 32 × 3
   type  size  `2010:2013`
   <chr> <fct>       <int>
 1 apple XS           2010
 2 apple XS           2011
 3 apple XS           2012
 4 apple XS           2013
 5 apple S            2010
 6 apple S            2011
 7 apple S            2012
 8 apple S            2013
 9 apple M            2010
10 apple M            2011
# … with 22 more rows
> 
> # Use `anti_join()` to determine which observations are missing
> all <- fruits %>% expand(type, size, year)
> all
# A tibble: 24 × 3
   type  size   year
   <chr> <fct> <dbl>
 1 apple XS     2010
 2 apple XS     2011
 3 apple XS     2012
 4 apple S      2010
 5 apple S      2011
 6 apple S      2012
 7 apple M      2010
 8 apple M      2011
 9 apple M      2012
10 apple L      2010
# … with 14 more rows
> all %>% dplyr::anti_join(fruits)
Joining with `by = join_by(type, size, year)`
# A tibble: 19 × 3
   type   size   year
   <chr>  <fct> <dbl>
 1 apple  XS     2011
 2 apple  XS     2012
 3 apple  S      2010
 4 apple  S      2011
 5 apple  S      2012
 6 apple  M      2010
 7 apple  M      2011
 8 apple  L      2010
 9 apple  L      2011
10 apple  L      2012
11 orange XS     2010
12 orange XS     2011
13 orange XS     2012
14 orange S      2012
15 orange M      2010
16 orange M      2011
17 orange L      2010
18 orange L      2011
19 orange L      2012
> 
> # Use with `right_join()` to fill in missing rows (like `complete()`)
> fruits %>% dplyr::right_join(all)
Joining with `by = join_by(type, year, size)`
Error in vectbl_assign(x[[j]], i, recycled_value[[j]]) : 
  DLL requires the use of native symbols
Calls: %>% ... tbl_subassign_row -> withCallingHandlers -> vectbl_assign
Execution halted