CRAN Package Check Results for Package flair

Last updated on 2022-12-19 07:53:27 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.2 4.43 40.73 45.16 ERROR
r-devel-linux-x86_64-debian-gcc 0.0.2 3.34 32.13 35.47 ERROR
r-devel-linux-x86_64-fedora-clang 0.0.2 60.85 ERROR
r-devel-windows-x86_64 0.0.2 21.00 78.00 99.00 ERROR
r-patched-linux-x86_64 0.0.2 4.73 39.77 44.50 ERROR
r-release-linux-x86_64 0.0.2 3.50 40.32 43.82 ERROR
r-release-macos-arm64 0.0.2 23.00 NOTE
r-release-macos-x86_64 0.0.2 40.00 NOTE
r-release-windows-x86_64 0.0.2 24.00 76.00 100.00 ERROR
r-oldrel-macos-arm64 0.0.2 24.00 NOTE
r-oldrel-macos-x86_64 0.0.2 38.00 NOTE
r-oldrel-windows-ix86+x86_64 0.0.2 10.00 65.00 75.00 ERROR

Additional issues

donttest

Check Details

Version: 0.0.2
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.0.2
Check: examples
Result: ERROR
    Running examples in 'flair-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: decorate_code
    > ### Title: Creates an object of the class 'with_flair'
    > ### Aliases: decorate_code
    >
    > ### ** Examples
    >
    >
    > # When run in console, this will print the results of mean(1:10)
    > my_code <- decorate_code(text = 'mean(1:10)') %>% flair_funs()
    [1] 5.5
    Error in `str_extract_all()`:
    ! `string` must be a vector, not a <source> object.
    Backtrace:
     x
     1. +-decorate_code(text = "mean(1:10)") %>% flair_funs()
     2. +-flair::flair_funs(.)
     3. | +-flair::flair_rx(x, funs_regexp, ...)
     4. | \-flair:::flair_rx.with_flair(x, funs_regexp, ...)
     5. | \-purrr::map(...)
     6. | \-flair (local) .f(.x[[i]], ...)
     7. | +-flair::flair_rx(...)
     8. | \-flair:::flair_rx.default(...)
     9. | \-... %>% unlist()
     10. +-base::unlist(.)
     11. +-stringr::str_extract_all(., "(\\<[^\\<\\>]*\\>)|((?<=\\>|^)([^\\<]|(\\<(?=(\\-|\\<))))*(?=\\<|$))")
     12. | \-stringr:::check_lengths(string, pattern)
     13. | \-vctrs::vec_size_common(...)
     14. \-vctrs:::stop_scalar_type(`<fn>`(`<source>`), "string", `<env>`)
     15. \-vctrs:::stop_vctrs(...)
     16. \-rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call))
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.0.2
Check: tests
Result: ERROR
     Running 'testthat.R' [2s/3s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(flair)
     >
     > test_check("flair")
     [1] 10
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
    
     == Failed tests ================================================================
     -- Error ('test-flair.R:29'): flair_rx works for with_flair object -------------
     <vctrs_error_scalar_type/vctrs_error/rlang_error/error/condition>
     Error in `str_extract_all(., "(\\<[^\\<\\>]*\\>)|((?<=\\>|^)([^\\<]|(\\<(?=(\\-|\\<))))*(?=\\<|$))")`: `string` must be a vector, not a <source> object.
     Backtrace:
     x
     1. +-flair::flair_rx(test_dc, test_regexp, color = "red", size = "30px") at test-flair.R:29:2
     2. +-flair:::flair_rx.with_flair(...)
     3. | \-purrr::map(...)
     4. | \-flair (local) .f(.x[[i]], ...)
     5. | +-flair::flair_rx(...)
     6. | \-flair:::flair_rx.default(...)
     7. | \-... %>% unlist()
     8. +-base::unlist(.)
     9. +-stringr::str_extract_all(., "(\\<[^\\<\\>]*\\>)|((?<=\\>|^)([^\\<]|(\\<(?=(\\-|\\<))))*(?=\\<|$))")
     10. | \-stringr:::check_lengths(string, pattern)
     11. | \-vctrs::vec_size_common(...)
     12. \-vctrs:::stop_scalar_type(`<fn>`(`<source>`), "string", `<env>`)
     13. \-vctrs:::stop_vctrs(...)
     14. \-rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call))
     -- Error ('test-flair_lines.R:15'): flair_lines works on with_flair objects ----
     <vctrs_error_scalar_type/vctrs_error/rlang_error/error/condition>
     Error in `str_count(.x, "\\n|(<br>)")`: `string` must be a vector, not a <source> object.
     Backtrace:
     x
     1. +-flair::flair_lines(test_wf, c(2:4)) at test-flair_lines.R:15:2
     2. +-flair:::flair_lines.with_flair(test_wf, c(2:4))
     3. | \-... %>% map2(1:sum(where_sources), ~ 0:.x + .y)
     4. +-purrr::map2(., 1:sum(where_sources), ~0:.x + .y)
     5. +-purrr::map(., ~str_count(.x, "\\n|(<br>)"))
     6. | \-flair (local) .f(.x[[i]], ...)
     7. | \-stringr::str_count(.x, "\\n|(<br>)")
     8. | \-stringr:::check_lengths(string, pattern)
     9. | \-vctrs::vec_size_common(...)
     10. \-vctrs:::stop_scalar_type(`<fn>`(`<source>`), "string", `<env>`)
     11. \-vctrs:::stop_vctrs(...)
     12. \-rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call))
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.0.2
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
     ...
    --- re-building 'how_to_flair.Rmd' using rmarkdown
    Quitting from lines 32-43 (how_to_flair.Rmd)
    Error: processing vignette 'how_to_flair.Rmd' failed with diagnostics:
    `string` must be a vector, not a <source> object.
    --- failed re-building 'how_to_flair.Rmd'
    
    SUMMARY: processing the following file failed:
     'how_to_flair.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.0.2
Check: examples
Result: ERROR
    Running examples in ‘flair-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: decorate_code
    > ### Title: Creates an object of the class 'with_flair'
    > ### Aliases: decorate_code
    >
    > ### ** Examples
    >
    >
    > # When run in console, this will print the results of mean(1:10)
    > my_code <- decorate_code(text = 'mean(1:10)') %>% flair_funs()
    [1] 5.5
    Error in `str_extract_all()`:
    ! `string` must be a vector, not a <source> object.
    Backtrace:
     ▆
     1. ├─decorate_code(text = "mean(1:10)") %>% flair_funs()
     2. ├─flair::flair_funs(.)
     3. │ ├─flair::flair_rx(x, funs_regexp, ...)
     4. │ └─flair:::flair_rx.with_flair(x, funs_regexp, ...)
     5. │ └─purrr::map(...)
     6. │ └─flair (local) .f(.x[[i]], ...)
     7. │ ├─flair::flair_rx(...)
     8. │ └─flair:::flair_rx.default(...)
     9. │ └─... %>% unlist()
     10. ├─base::unlist(.)
     11. ├─stringr::str_extract_all(., "(\\<[^\\<\\>]*\\>)|((?<=\\>|^)([^\\<]|(\\<(?=(\\-|\\<))))*(?=\\<|$))")
     12. │ └─stringr:::check_lengths(string, pattern)
     13. │ └─vctrs::vec_size_common(...)
     14. └─vctrs:::stop_scalar_type(`<fn>`(`<source>`), "string", `<env>`)
     15. └─vctrs:::stop_vctrs(...)
     16. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call))
    Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.0.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/3s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(flair)
     >
     > test_check("flair")
     [1] 10
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-flair.R:29'): flair_rx works for with_flair object ─────────────
     <vctrs_error_scalar_type/vctrs_error/rlang_error/error/condition>
     Error in `str_extract_all(., "(\\<[^\\<\\>]*\\>)|((?<=\\>|^)([^\\<]|(\\<(?=(\\-|\\<))))*(?=\\<|$))")`: `string` must be a vector, not a <source> object.
     Backtrace:
     ▆
     1. ├─flair::flair_rx(test_dc, test_regexp, color = "red", size = "30px") at test-flair.R:29:2
     2. ├─flair:::flair_rx.with_flair(...)
     3. │ └─purrr::map(...)
     4. │ └─flair (local) .f(.x[[i]], ...)
     5. │ ├─flair::flair_rx(...)
     6. │ └─flair:::flair_rx.default(...)
     7. │ └─... %>% unlist()
     8. ├─base::unlist(.)
     9. ├─stringr::str_extract_all(., "(\\<[^\\<\\>]*\\>)|((?<=\\>|^)([^\\<]|(\\<(?=(\\-|\\<))))*(?=\\<|$))")
     10. │ └─stringr:::check_lengths(string, pattern)
     11. │ └─vctrs::vec_size_common(...)
     12. └─vctrs:::stop_scalar_type(`<fn>`(`<source>`), "string", `<env>`)
     13. └─vctrs:::stop_vctrs(...)
     14. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call))
     ── Error ('test-flair_lines.R:15'): flair_lines works on with_flair objects ────
     <vctrs_error_scalar_type/vctrs_error/rlang_error/error/condition>
     Error in `str_count(.x, "\\n|(<br>)")`: `string` must be a vector, not a <source> object.
     Backtrace:
     ▆
     1. ├─flair::flair_lines(test_wf, c(2:4)) at test-flair_lines.R:15:2
     2. ├─flair:::flair_lines.with_flair(test_wf, c(2:4))
     3. │ └─... %>% map2(1:sum(where_sources), ~ 0:.x + .y)
     4. ├─purrr::map2(., 1:sum(where_sources), ~0:.x + .y)
     5. ├─purrr::map(., ~str_count(.x, "\\n|(<br>)"))
     6. │ └─flair (local) .f(.x[[i]], ...)
     7. │ └─stringr::str_count(.x, "\\n|(<br>)")
     8. │ └─stringr:::check_lengths(string, pattern)
     9. │ └─vctrs::vec_size_common(...)
     10. └─vctrs:::stop_scalar_type(`<fn>`(`<source>`), "string", `<env>`)
     11. └─vctrs:::stop_vctrs(...)
     12. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call))
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
     Error: Test failures
     Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.0.2
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘dplyr’ ‘evaluate’ ‘ggplot2’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 0.0.2
Check: examples
Result: ERROR
    Running examples in ‘flair-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: decorate_code
    > ### Title: Creates an object of the class 'with_flair'
    > ### Aliases: decorate_code
    >
    > ### ** Examples
    >
    >
    > # When run in console, this will print the results of mean(1:10)
    > my_code <- decorate_code(text = 'mean(1:10)') %>% flair_funs()
    [1] 5.5
    Error in `str_extract_all()`:
    ! `string` must be a vector, not a <source> object.
    Backtrace:
     ▆
     1. ├─decorate_code(text = "mean(1:10)") %>% flair_funs()
     2. ├─flair::flair_funs(.)
     3. │ ├─flair::flair_rx(x, funs_regexp, ...)
     4. │ └─flair:::flair_rx.with_flair(x, funs_regexp, ...)
     5. │ └─purrr::map(...)
     6. │ └─flair (local) .f(.x[[i]], ...)
     7. │ ├─flair::flair_rx(...)
     8. │ └─flair:::flair_rx.default(...)
     9. │ └─... %>% unlist()
     10. ├─base::unlist(.)
     11. ├─stringr::str_extract_all(., "(\\<[^\\<\\>]*\\>)|((?<=\\>|^)([^\\<]|(\\<(?=(\\-|\\<))))*(?=\\<|$))")
     12. │ └─stringr:::check_lengths(string, pattern)
     13. │ └─vctrs::vec_size_common(...)
     14. └─vctrs:::stop_scalar_type(`<fn>`(`<source>`), "string", `<env>`)
     15. └─vctrs:::stop_vctrs(...)
     16. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call))
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.0.2
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(flair)
     >
     > test_check("flair")
     [1] 10
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-flair.R:29'): flair_rx works for with_flair object ─────────────
     <vctrs_error_scalar_type/vctrs_error/rlang_error/error/condition>
     Error in `str_extract_all(., "(\\<[^\\<\\>]*\\>)|((?<=\\>|^)([^\\<]|(\\<(?=(\\-|\\<))))*(?=\\<|$))")`: `string` must be a vector, not a <source> object.
     Backtrace:
     ▆
     1. ├─flair::flair_rx(test_dc, test_regexp, color = "red", size = "30px") at test-flair.R:29:2
     2. ├─flair:::flair_rx.with_flair(...)
     3. │ └─purrr::map(...)
     4. │ └─flair (local) .f(.x[[i]], ...)
     5. │ ├─flair::flair_rx(...)
     6. │ └─flair:::flair_rx.default(...)
     7. │ └─... %>% unlist()
     8. ├─base::unlist(.)
     9. ├─stringr::str_extract_all(., "(\\<[^\\<\\>]*\\>)|((?<=\\>|^)([^\\<]|(\\<(?=(\\-|\\<))))*(?=\\<|$))")
     10. │ └─stringr:::check_lengths(string, pattern)
     11. │ └─vctrs::vec_size_common(...)
     12. └─vctrs:::stop_scalar_type(`<fn>`(`<source>`), "string", `<env>`)
     13. └─vctrs:::stop_vctrs(...)
     14. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call))
     ── Error ('test-flair_lines.R:15'): flair_lines works on with_flair objects ────
     <vctrs_error_scalar_type/vctrs_error/rlang_error/error/condition>
     Error in `str_count(.x, "\\n|(<br>)")`: `string` must be a vector, not a <source> object.
     Backtrace:
     ▆
     1. ├─flair::flair_lines(test_wf, c(2:4)) at test-flair_lines.R:15:2
     2. ├─flair:::flair_lines.with_flair(test_wf, c(2:4))
     3. │ └─... %>% map2(1:sum(where_sources), ~ 0:.x + .y)
     4. ├─purrr::map2(., 1:sum(where_sources), ~0:.x + .y)
     5. ├─purrr::map(., ~str_count(.x, "\\n|(<br>)"))
     6. │ └─flair (local) .f(.x[[i]], ...)
     7. │ └─stringr::str_count(.x, "\\n|(<br>)")
     8. │ └─stringr:::check_lengths(string, pattern)
     9. │ └─vctrs::vec_size_common(...)
     10. └─vctrs:::stop_scalar_type(`<fn>`(`<source>`), "string", `<env>`)
     11. └─vctrs:::stop_vctrs(...)
     12. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call))
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.0.2
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
    --- re-building ‘how_to_flair.Rmd’ using rmarkdown
    Quitting from lines 32-43 (how_to_flair.Rmd)
    Error: processing vignette 'how_to_flair.Rmd' failed with diagnostics:
    `string` must be a vector, not a <source> object.
    --- failed re-building ‘how_to_flair.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘how_to_flair.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.0.2
Check: tests
Result: ERROR
     Running 'testthat.R' [3s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(flair)
     >
     > test_check("flair")
     [1] 10
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-flair.R:29'): flair_rx works for with_flair object ─────────────
     <vctrs_error_scalar_type/vctrs_error/rlang_error/error/condition>
     Error in `str_extract_all(., "(\\<[^\\<\\>]*\\>)|((?<=\\>|^)([^\\<]|(\\<(?=(\\-|\\<))))*(?=\\<|$))")`: `string` must be a vector, not a <source> object.
     Backtrace:
     ▆
     1. ├─flair::flair_rx(test_dc, test_regexp, color = "red", size = "30px") at test-flair.R:29:2
     2. ├─flair:::flair_rx.with_flair(...)
     3. │ └─purrr::map(...)
     4. │ └─flair (local) .f(.x[[i]], ...)
     5. │ ├─flair::flair_rx(...)
     6. │ └─flair:::flair_rx.default(...)
     7. │ └─... %>% unlist()
     8. ├─base::unlist(.)
     9. ├─stringr::str_extract_all(., "(\\<[^\\<\\>]*\\>)|((?<=\\>|^)([^\\<]|(\\<(?=(\\-|\\<))))*(?=\\<|$))")
     10. │ └─stringr:::check_lengths(string, pattern)
     11. │ └─vctrs::vec_size_common(...)
     12. └─vctrs:::stop_scalar_type(`<fn>`(`<source>`), "string", `<env>`)
     13. └─vctrs:::stop_vctrs(...)
     14. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call))
     ── Error ('test-flair_lines.R:15'): flair_lines works on with_flair objects ────
     <vctrs_error_scalar_type/vctrs_error/rlang_error/error/condition>
     Error in `str_count(.x, "\\n|(<br>)")`: `string` must be a vector, not a <source> object.
     Backtrace:
     ▆
     1. ├─flair::flair_lines(test_wf, c(2:4)) at test-flair_lines.R:15:2
     2. ├─flair:::flair_lines.with_flair(test_wf, c(2:4))
     3. │ └─... %>% map2(1:sum(where_sources), ~ 0:.x + .y)
     4. ├─purrr::map2(., 1:sum(where_sources), ~0:.x + .y)
     5. ├─purrr::map(., ~str_count(.x, "\\n|(<br>)"))
     6. │ └─flair (local) .f(.x[[i]], ...)
     7. │ └─stringr::str_count(.x, "\\n|(<br>)")
     8. │ └─stringr:::check_lengths(string, pattern)
     9. │ └─vctrs::vec_size_common(...)
     10. └─vctrs:::stop_scalar_type(`<fn>`(`<source>`), "string", `<env>`)
     11. └─vctrs:::stop_vctrs(...)
     12. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call))
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
     Error: Test failures
     Execution halted
Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.0.2
Check: examples
Result: ERROR
    Running examples in 'flair-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: decorate_code
    > ### Title: Creates an object of the class 'with_flair'
    > ### Aliases: decorate_code
    >
    > ### ** Examples
    >
    >
    > # When run in console, this will print the results of mean(1:10)
    > my_code <- decorate_code(text = 'mean(1:10)') %>% flair_funs()
    [1] 5.5
    Error in `str_extract_all()`:
    ! `string` must be a vector, not a <source> object.
    Backtrace:
     x
     1. +-decorate_code(text = "mean(1:10)") %>% flair_funs()
     2. +-flair::flair_funs(.)
     3. | +-flair::flair_rx(x, funs_regexp, ...)
     4. | \-flair:::flair_rx.with_flair(x, funs_regexp, ...)
     5. | \-purrr::map(...)
     6. | \-flair (local) .f(.x[[i]], ...)
     7. | +-flair::flair_rx(...)
     8. | \-flair:::flair_rx.default(...)
     9. | \-... %>% unlist()
     10. +-base::unlist(.)
     11. +-stringr::str_extract_all(., "(\\<[^\\<\\>]*\\>)|((?<=\\>|^)([^\\<]|(\\<(?=(\\-|\\<))))*(?=\\<|$))")
     12. | \-stringr:::check_lengths(string, pattern)
     13. | \-vctrs::vec_size_common(...)
     14. \-vctrs:::stop_scalar_type(`<fn>`(`<source>`), "string", `<env>`)
     15. \-vctrs:::stop_vctrs(...)
     16. \-rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call))
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.0.2
Check: tests
Result: ERROR
     Running 'testthat.R' [3s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(flair)
     >
     > test_check("flair")
     [1] 10
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
    
     == Failed tests ================================================================
     -- Error ('test-flair.R:29'): flair_rx works for with_flair object -------------
     <vctrs_error_scalar_type/vctrs_error/rlang_error/error/condition>
     Error in `str_extract_all(., "(\\<[^\\<\\>]*\\>)|((?<=\\>|^)([^\\<]|(\\<(?=(\\-|\\<))))*(?=\\<|$))")`: `string` must be a vector, not a <source> object.
     Backtrace:
     x
     1. +-flair::flair_rx(test_dc, test_regexp, color = "red", size = "30px") at test-flair.R:29:2
     2. +-flair:::flair_rx.with_flair(...)
     3. | \-purrr::map(...)
     4. | \-flair (local) .f(.x[[i]], ...)
     5. | +-flair::flair_rx(...)
     6. | \-flair:::flair_rx.default(...)
     7. | \-... %>% unlist()
     8. +-base::unlist(.)
     9. +-stringr::str_extract_all(., "(\\<[^\\<\\>]*\\>)|((?<=\\>|^)([^\\<]|(\\<(?=(\\-|\\<))))*(?=\\<|$))")
     10. | \-stringr:::check_lengths(string, pattern)
     11. | \-vctrs::vec_size_common(...)
     12. \-vctrs:::stop_scalar_type(`<fn>`(`<source>`), "string", `<env>`)
     13. \-vctrs:::stop_vctrs(...)
     14. \-rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call))
     -- Error ('test-flair_lines.R:15'): flair_lines works on with_flair objects ----
     <vctrs_error_scalar_type/vctrs_error/rlang_error/error/condition>
     Error in `str_count(.x, "\\n|(<br>)")`: `string` must be a vector, not a <source> object.
     Backtrace:
     x
     1. +-flair::flair_lines(test_wf, c(2:4)) at test-flair_lines.R:15:2
     2. +-flair:::flair_lines.with_flair(test_wf, c(2:4))
     3. | \-... %>% map2(1:sum(where_sources), ~ 0:.x + .y)
     4. +-purrr::map2(., 1:sum(where_sources), ~0:.x + .y)
     5. +-purrr::map(., ~str_count(.x, "\\n|(<br>)"))
     6. | \-flair (local) .f(.x[[i]], ...)
     7. | \-stringr::str_count(.x, "\\n|(<br>)")
     8. | \-stringr:::check_lengths(string, pattern)
     9. | \-vctrs::vec_size_common(...)
     10. \-vctrs:::stop_scalar_type(`<fn>`(`<source>`), "string", `<env>`)
     11. \-vctrs:::stop_vctrs(...)
     12. \-rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call))
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 5 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.0.2
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'how_to_flair.Rmd' using rmarkdown
    Quitting from lines 32-43 (how_to_flair.Rmd)
    Error: processing vignette 'how_to_flair.Rmd' failed with diagnostics:
    `string` must be a vector, not a <source> object.
    --- failed re-building 'how_to_flair.Rmd'
    
    SUMMARY: processing the following file failed:
     'how_to_flair.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64