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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: as_cells
> ### Title: Tokenize data frames into a tidy 'melted' structure
> ### Aliases: as_cells
> 
> ### ** Examples
> 
> x <- data.frame(a = c(10, 20),
+                 b = c("foo", "bar"),
+                 stringsAsFactors = FALSE)
> x
   a   b
1 10 foo
2 20 bar
> as_cells(x)
# A tibble: 4 x 5
    row   col data_type chr     dbl
  <int> <int> <chr>     <chr> <dbl>
1     1     1 dbl       <NA>     10
2     2     1 dbl       <NA>     20
3     1     2 chr       foo      NA
4     2     2 chr       bar      NA
> as_cells(x, row_names = TRUE)
# A tibble: 6 x 5
    row   col data_type chr     dbl
  <int> <int> <chr>     <chr> <dbl>
1     1     1 chr       1        NA
2     2     1 chr       2        NA
3     1     2 dbl       <NA>     10
4     2     2 dbl       <NA>     20
5     1     3 chr       foo      NA
6     2     3 chr       bar      NA
> as_cells(x, col_names = TRUE)
# A tibble: 6 x 5
    row   col data_type chr     dbl
  <int> <int> <chr>     <chr> <dbl>
1     1     1 chr       a        NA
2     2     1 dbl       <NA>     10
3     3     1 dbl       <NA>     20
4     1     2 chr       b        NA
5     2     2 chr       foo      NA
6     3     2 chr       bar      NA
> 
> # 'list' columns are undisturbed
> y <- data.frame(a = c("a", "b"), stringsAsFactors = FALSE)
> y$b <- list(1:2, 3:4)
> y
  a    b
1 a 1, 2
2 b 3, 4
> as_cells(y)
# A tibble: 4 x 5
    row   col data_type chr   list     
  <int> <int> <chr>     <chr> <list>   
1     1     1 chr       a     <NULL>   
2     2     1 chr       b     <NULL>   
3     1     2 list      <NA>  <int [2]>
4     2     2 list      <NA>  <int [2]>
> 
> # Factors are preserved by being wrapped in lists so that their levels don't
> # conflict.  Blanks are NULLs.
> z <- data.frame(x = factor(c("a", "b")),
+                 y = factor(c("c", "d"), ordered = TRUE))
> as_cells(z)
# A tibble: 4 x 5
    row   col data_type fct       ord      
  <int> <int> <chr>     <list>    <list>   
1     1     1 fct       <fct [1]> <NULL>   
2     2     1 fct       <fct [1]> <NULL>   
3     1     2 ord       <NULL>    <ord [1]>
4     2     2 ord       <NULL>    <ord [1]>
> as_cells(z)$fct
[[1]]
[1] a
Levels: a b

[[2]]
[1] b
Levels: a b

[[3]]
NULL

[[4]]
NULL

> as_cells(z)$ord
[[1]]
NULL

[[2]]
NULL

[[3]]
[1] c
Levels: c < d

[[4]]
[1] d
Levels: c < d

> 
> # HTML tables can be extracted from the output of xml2::read_html().  These
> # are returned as a list of tables, similar to rvest::html_table().  The
> # value of each cell is its standalone HTML string, which can contain
> # anything -- even another table.
> 
> colspan <- system.file("extdata", "colspan.html", package = "unpivotr")
> rowspan <- system.file("extdata", "rowspan.html", package = "unpivotr")
> nested <- system.file("extdata", "nested.html", package = "unpivotr")
> 
> ## Not run: 
> ##D browseURL(colspan)
> ##D browseURL(rowspan)
> ##D browseURL(nestedspan)
> ## End(Not run)
> 
> as_cells(xml2::read_html(colspan))
Error: Columns 1, 2 must not have names of the form ... or ..j.
Execution halted