CRAN Package Check Results for Package WhatsR

Last updated on 2023-11-15 11:54:10 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.1 15.52 187.02 202.54 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.1 325.73 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.1 359.47 ERROR
r-devel-windows-x86_64 1.0.1 18.00 192.00 210.00 ERROR
r-patched-linux-x86_64 1.0.1 13.11 282.13 295.24 OK
r-release-linux-x86_64 1.0.1 12.41 251.44 263.85 OK
r-release-macos-arm64 1.0.1 149.00 OK
r-release-macos-x86_64 1.0.1 266.00 OK
r-release-windows-x86_64 1.0.1 24.00 263.00 287.00 OK
r-oldrel-macos-arm64 1.0.1 131.00 OK
r-oldrel-macos-x86_64 1.0.1 161.00 OK
r-oldrel-windows-x86_64 1.0.1 23.00 256.00 279.00 OK

Additional issues

M1mac

Check Details

Version: 1.0.1
Check: examples
Result: ERROR
    Running examples in β€˜WhatsR-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: plot_emoji
    > ### Title: Plotting emoji distributions in 'WhatsApp' chat logs
    > ### Aliases: plot_emoji
    >
    > ### ** Examples
    >
    > data <- readRDS(system.file("ParsedWhatsAppChat.rds", package = "WhatsR"))
    > plot_emoji(data,font_family="Times", exclude_sm = TRUE) #font_family = "Noto Color Emoji" on Linux
    Error in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :
     conversion failure on 'πŸ˜„' in 'mbcsToSbcs': for πŸ˜„ (U+1F604)
    Calls: plot_emoji ... <Anonymous> -> widthDetails -> widthDetails.text -> grid.Call
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.0.1
Check: tests
Result: ERROR
     Running β€˜testthat.R’ [119s/136s]
    Running the tests in β€˜tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(WhatsR)
     >
     > test_check("WhatsR")
     There has been an error fetching the emojis. Please check if all the pages you want to scrape are accessible and if the XPath is up to date.
     This is the original error message:
     'download_emoji()' caused an error and will return NULL. Subsequent tests will be skipped
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     [ FAIL 1 | WARN 16 | SKIP 2 | PASS 280 ]
    
     ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
     β€’ empty test (2): 'test-WhatsR-tests.R:6:1', 'test-WhatsR-tests.R:1330:1'
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-WhatsR-tests.R:1061:3'): Plotting Emoji ────────────────────────
     Error in `grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y,
     resolveHJust(x$just, x$hjust), resolveVJust(x$just, x$vjust),
     x$rot, as.numeric(NA))`: conversion failure on 'πŸ˜„' in 'mbcsToSbcs': for πŸ˜„ (U+1F604)
     Backtrace:
     β–†
     1. β”œβ”€WhatsR::plot_emoji(...) at test-WhatsR-tests.R:1061:3
     2. β”‚ β”œβ”€base::print(out)
     3. β”‚ └─ggplot2:::print.ggplot(out)
     4. β”‚ β”œβ”€grid::grid.draw(gtable)
     5. β”‚ └─grid:::grid.draw.gTree(gtable)
     6. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     7. β”œβ”€grid:::drawGTree(x)
     8. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     9. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     10. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     11. β”œβ”€grid:::drawGTree(x)
     12. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     13. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     14. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     15. β”œβ”€grid:::drawGTree(x)
     16. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     17. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     18. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     19. β”œβ”€grid:::drawGTree(x)
     20. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     21. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     22. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     23. β”œβ”€grid:::drawGTree(x)
     24. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     25. β”‚ └─grid:::grid.draw.grob(x$children[[i]], recording = FALSE)
     26. β”‚ └─grDevices::recordGraphics(drawGrob(x), list(x = x), getNamespace("grid"))
     27. β”œβ”€grid:::drawGrob(x)
     28. β”‚ β”œβ”€grid:::preDraw(x)
     29. β”‚ └─grid:::preDraw.grob(x)
     30. β”‚ └─grid:::pushvpgp(x)
     31. β”‚ β”œβ”€grid:::pushgrobvp(x$vp)
     32. β”‚ └─grid:::pushgrobvp.viewport(x$vp)
     33. β”‚ └─grid::pushViewport(vp, recording = FALSE)
     34. β”‚ └─base::lapply(vps, push.vp, recording)
     35. β”‚ β”œβ”€grid (local) FUN(X[[i]], ...)
     36. β”‚ └─grid:::push.vp.viewport(X[[i]], ...)
     37. β”‚ └─grid:::grid.Call.graphics(C_setviewport, vp, TRUE)
     38. └─grid (local) `<fn>`(`<text>`)
     39. β”œβ”€grid::widthDetails(x)
     40. └─grid:::widthDetails.text(x)
     41. └─grid:::grid.Call(...)
    
     [ FAIL 1 | WARN 16 | SKIP 2 | PASS 280 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.1
Check: tests
Result: ERROR
     Running β€˜testthat.R’ [90s/148s]
    Running the tests in β€˜tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(WhatsR)
     >
     > test_check("WhatsR")
     There has been an error fetching the emojis. Please check if all the pages you want to scrape are accessible and if the XPath is up to date.
     This is the original error message:
     'download_emoji()' caused an error and will return NULL. Subsequent tests will be skipped
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     [ FAIL 1 | WARN 11 | SKIP 2 | PASS 280 ]
    
     ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
     β€’ empty test (2): 'test-WhatsR-tests.R:6:1', 'test-WhatsR-tests.R:1330:1'
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-WhatsR-tests.R:1061:3'): Plotting Emoji ────────────────────────
     Error in `grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y,
     resolveHJust(x$just, x$hjust), resolveVJust(x$just, x$vjust),
     x$rot, as.numeric(NA))`: conversion failure on 'πŸ˜„' in 'mbcsToSbcs': for πŸ˜„ (U+1F604)
     Backtrace:
     β–†
     1. β”œβ”€WhatsR::plot_emoji(...) at test-WhatsR-tests.R:1061:3
     2. β”‚ β”œβ”€base::print(out)
     3. β”‚ └─ggplot2:::print.ggplot(out)
     4. β”‚ β”œβ”€grid::grid.draw(gtable)
     5. β”‚ └─grid:::grid.draw.gTree(gtable)
     6. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     7. β”œβ”€grid:::drawGTree(x)
     8. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     9. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     10. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     11. β”œβ”€grid:::drawGTree(x)
     12. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     13. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     14. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     15. β”œβ”€grid:::drawGTree(x)
     16. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     17. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     18. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     19. β”œβ”€grid:::drawGTree(x)
     20. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     21. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     22. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     23. β”œβ”€grid:::drawGTree(x)
     24. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     25. β”‚ └─grid:::grid.draw.grob(x$children[[i]], recording = FALSE)
     26. β”‚ └─grDevices::recordGraphics(drawGrob(x), list(x = x), getNamespace("grid"))
     27. β”œβ”€grid:::drawGrob(x)
     28. β”‚ β”œβ”€grid:::preDraw(x)
     29. β”‚ └─grid:::preDraw.grob(x)
     30. β”‚ └─grid:::pushvpgp(x)
     31. β”‚ β”œβ”€grid:::pushgrobvp(x$vp)
     32. β”‚ └─grid:::pushgrobvp.viewport(x$vp)
     33. β”‚ └─grid::pushViewport(vp, recording = FALSE)
     34. β”‚ └─base::lapply(vps, push.vp, recording)
     35. β”‚ β”œβ”€grid (local) FUN(X[[i]], ...)
     36. β”‚ └─grid:::push.vp.viewport(X[[i]], ...)
     37. β”‚ └─grid:::grid.Call.graphics(C_setviewport, vp, TRUE)
     38. └─grid (local) `<fn>`(`<text>`)
     39. β”œβ”€grid::widthDetails(x)
     40. └─grid:::widthDetails.text(x)
     41. └─grid:::grid.Call(...)
    
     [ FAIL 1 | WARN 11 | SKIP 2 | PASS 280 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.1
Check: examples
Result: ERROR
    Running examples in β€˜WhatsR-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: plot_emoji
    > ### Title: Plotting emoji distributions in 'WhatsApp' chat logs
    > ### Aliases: plot_emoji
    >
    > ### ** Examples
    >
    > data <- readRDS(system.file("ParsedWhatsAppChat.rds", package = "WhatsR"))
    > plot_emoji(data,font_family="Times", exclude_sm = TRUE) #font_family = "Noto Color Emoji" on Linux
    Error in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :
     conversion failure on 'πŸ˜„' in 'mbcsToSbcs': for πŸ˜„ (U+1F604)
    Calls: plot_emoji ... <Anonymous> -> widthDetails -> widthDetails.text -> grid.Call
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.1
Check: tests
Result: ERROR
     Running β€˜testthat.R’ [143s/163s]
    Running the tests in β€˜tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(WhatsR)
     >
     > test_check("WhatsR")
     There has been an error fetching the emojis. Please check if all the pages you want to scrape are accessible and if the XPath is up to date.
     This is the original error message:
     'download_emoji()' caused an error and will return NULL. Subsequent tests will be skipped
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     [ FAIL 1 | WARN 16 | SKIP 2 | PASS 280 ]
    
     ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
     β€’ empty test (2): 'test-WhatsR-tests.R:6:1', 'test-WhatsR-tests.R:1330:1'
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-WhatsR-tests.R:1061:3'): Plotting Emoji ────────────────────────
     Error in `grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y,
     resolveHJust(x$just, x$hjust), resolveVJust(x$just, x$vjust),
     x$rot, as.numeric(NA))`: conversion failure on 'πŸ˜„' in 'mbcsToSbcs': for πŸ˜„ (U+1F604)
     Backtrace:
     β–†
     1. β”œβ”€WhatsR::plot_emoji(...) at test-WhatsR-tests.R:1061:3
     2. β”‚ β”œβ”€base::print(out)
     3. β”‚ └─ggplot2:::print.ggplot(out)
     4. β”‚ β”œβ”€grid::grid.draw(gtable)
     5. β”‚ └─grid:::grid.draw.gTree(gtable)
     6. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     7. β”œβ”€grid:::drawGTree(x)
     8. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     9. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     10. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     11. β”œβ”€grid:::drawGTree(x)
     12. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     13. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     14. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     15. β”œβ”€grid:::drawGTree(x)
     16. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     17. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     18. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     19. β”œβ”€grid:::drawGTree(x)
     20. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     21. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     22. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     23. β”œβ”€grid:::drawGTree(x)
     24. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     25. β”‚ └─grid:::grid.draw.grob(x$children[[i]], recording = FALSE)
     26. β”‚ └─grDevices::recordGraphics(drawGrob(x), list(x = x), getNamespace("grid"))
     27. β”œβ”€grid:::drawGrob(x)
     28. β”‚ β”œβ”€grid:::preDraw(x)
     29. β”‚ └─grid:::preDraw.grob(x)
     30. β”‚ └─grid:::pushvpgp(x)
     31. β”‚ β”œβ”€grid:::pushgrobvp(x$vp)
     32. β”‚ └─grid:::pushgrobvp.viewport(x$vp)
     33. β”‚ └─grid::pushViewport(vp, recording = FALSE)
     34. β”‚ └─base::lapply(vps, push.vp, recording)
     35. β”‚ β”œβ”€grid (local) FUN(X[[i]], ...)
     36. β”‚ └─grid:::push.vp.viewport(X[[i]], ...)
     37. β”‚ └─grid:::grid.Call.graphics(C_setviewport, vp, TRUE)
     38. └─grid (local) `<fn>`(`<text>`)
     39. β”œβ”€grid::widthDetails(x)
     40. └─grid:::widthDetails.text(x)
     41. └─grid:::grid.Call(...)
    
     [ FAIL 1 | WARN 16 | SKIP 2 | PASS 280 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.1
Check: examples
Result: ERROR
    Running examples in β€˜WhatsR-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: plot_emoji
    > ### Title: Plotting emoji distributions in 'WhatsApp' chat logs
    > ### Aliases: plot_emoji
    >
    > ### ** Examples
    >
    > data <- readRDS(system.file("ParsedWhatsAppChat.rds", package = "WhatsR"))
    > plot_emoji(data,font_family="Times", exclude_sm = TRUE) #font_family = "Noto Color Emoji" on Linux
    Error in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :
     conversion failure on 'πŸ˜„' in 'mbcsToSbcs': for πŸ˜„ (U+1f604)
    Calls: plot_emoji ... <Anonymous> -> widthDetails -> widthDetails.text -> grid.Call
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Check: tests
Result: ERROR
     Running β€˜testthat.R’ [149s/243s]
    Running the tests in β€˜tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(WhatsR)
     >
     > test_check("WhatsR")
     There has been an error fetching the emojis. Please check if all the pages you want to scrape are accessible and if the XPath is up to date.
     This is the original error message:
     'download_emoji()' caused an error and will return NULL. Subsequent tests will be skipped
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     [ FAIL 1 | WARN 16 | SKIP 2 | PASS 280 ]
    
     ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
     β€’ empty test (2): 'test-WhatsR-tests.R:6:1', 'test-WhatsR-tests.R:1330:1'
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-WhatsR-tests.R:1061:3'): Plotting Emoji ────────────────────────
     Error in `grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y,
     resolveHJust(x$just, x$hjust), resolveVJust(x$just, x$vjust),
     x$rot, as.numeric(NA))`: conversion failure on 'πŸ˜„' in 'mbcsToSbcs': for πŸ˜„ (U+1f604)
     Backtrace:
     β–†
     1. β”œβ”€WhatsR::plot_emoji(...) at test-WhatsR-tests.R:1061:3
     2. β”‚ β”œβ”€base::print(out)
     3. β”‚ └─ggplot2:::print.ggplot(out)
     4. β”‚ β”œβ”€grid::grid.draw(gtable)
     5. β”‚ └─grid:::grid.draw.gTree(gtable)
     6. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     7. β”œβ”€grid:::drawGTree(x)
     8. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     9. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     10. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     11. β”œβ”€grid:::drawGTree(x)
     12. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     13. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     14. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     15. β”œβ”€grid:::drawGTree(x)
     16. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     17. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     18. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     19. β”œβ”€grid:::drawGTree(x)
     20. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     21. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     22. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     23. β”œβ”€grid:::drawGTree(x)
     24. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     25. β”‚ └─grid:::grid.draw.grob(x$children[[i]], recording = FALSE)
     26. β”‚ └─grDevices::recordGraphics(drawGrob(x), list(x = x), getNamespace("grid"))
     27. β”œβ”€grid:::drawGrob(x)
     28. β”‚ β”œβ”€grid:::preDraw(x)
     29. β”‚ └─grid:::preDraw.grob(x)
     30. β”‚ └─grid:::pushvpgp(x)
     31. β”‚ β”œβ”€grid:::pushgrobvp(x$vp)
     32. β”‚ └─grid:::pushgrobvp.viewport(x$vp)
     33. β”‚ └─grid::pushViewport(vp, recording = FALSE)
     34. β”‚ └─base::lapply(vps, push.vp, recording)
     35. β”‚ β”œβ”€grid (local) FUN(X[[i]], ...)
     36. β”‚ └─grid:::push.vp.viewport(X[[i]], ...)
     37. β”‚ └─grid:::grid.Call.graphics(C_setviewport, vp, TRUE)
     38. └─grid (local) `<fn>`(`<text>`)
     39. β”œβ”€grid::widthDetails(x)
     40. └─grid:::widthDetails.text(x)
     41. └─grid:::grid.Call(...)
    
     [ FAIL 1 | WARN 16 | SKIP 2 | PASS 280 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Check: examples
Result: ERROR
    Running examples in 'WhatsR-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: plot_emoji
    > ### Title: Plotting emoji distributions in 'WhatsApp' chat logs
    > ### Aliases: plot_emoji
    >
    > ### ** Examples
    >
    > data <- readRDS(system.file("ParsedWhatsAppChat.rds", package = "WhatsR"))
    > plot_emoji(data,font_family="Times", exclude_sm = TRUE) #font_family = "Noto Color Emoji" on Linux
    Error in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :
     conversion failure on 'πŸ˜„' in 'mbcsToSbcs': for (U+D83D)
    Calls: plot_emoji ... <Anonymous> -> widthDetails -> widthDetails.text -> grid.Call
    Execution halted
Flavor: r-devel-windows-x86_64

Version: 1.0.1
Check: tests
Result: ERROR
     Running 'testthat.R' [84s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(WhatsR)
     >
     > test_check("WhatsR")
     There has been an error fetching the emojis. Please check if all the pages you want to scrape are accessible and if the XPath is up to date.
     This is the original error message:
     'download_emoji()' caused an error and will return NULL. Subsequent tests will be skipped
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     i Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.
     Could not download Stamen map data. Do you have an Internet connection?
     [ FAIL 1 | WARN 20 | SKIP 2 | PASS 280 ]
    
     ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
     β€’ empty test (2): 'test-WhatsR-tests.R:6:1', 'test-WhatsR-tests.R:1330:1'
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-WhatsR-tests.R:1061:3'): Plotting Emoji ────────────────────────
     Error in `grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y,
     resolveHJust(x$just, x$hjust), resolveVJust(x$just, x$vjust),
     x$rot, as.numeric(NA))`: conversion failure on 'πŸ˜„' in 'mbcsToSbcs': for (U+D83D)
     Backtrace:
     β–†
     1. β”œβ”€WhatsR::plot_emoji(...) at test-WhatsR-tests.R:1061:3
     2. β”‚ β”œβ”€base::print(out)
     3. β”‚ └─ggplot2:::print.ggplot(out)
     4. β”‚ β”œβ”€grid::grid.draw(gtable)
     5. β”‚ └─grid:::grid.draw.gTree(gtable)
     6. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     7. β”œβ”€grid:::drawGTree(x)
     8. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     9. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     10. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     11. β”œβ”€grid:::drawGTree(x)
     12. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     13. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     14. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     15. β”œβ”€grid:::drawGTree(x)
     16. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     17. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     18. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     19. β”œβ”€grid:::drawGTree(x)
     20. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     21. β”‚ └─grid:::grid.draw.gTree(x$children[[i]], recording = FALSE)
     22. β”‚ └─grDevices::recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
     23. β”œβ”€grid:::drawGTree(x)
     24. β”‚ β”œβ”€grid::grid.draw(x$children[[i]], recording = FALSE)
     25. β”‚ └─grid:::grid.draw.grob(x$children[[i]], recording = FALSE)
     26. β”‚ └─grDevices::recordGraphics(drawGrob(x), list(x = x), getNamespace("grid"))
     27. β”œβ”€grid:::drawGrob(x)
     28. β”‚ β”œβ”€grid:::preDraw(x)
     29. β”‚ └─grid:::preDraw.grob(x)
     30. β”‚ └─grid:::pushvpgp(x)
     31. β”‚ β”œβ”€grid:::pushgrobvp(x$vp)
     32. β”‚ └─grid:::pushgrobvp.viewport(x$vp)
     33. β”‚ └─grid::pushViewport(vp, recording = FALSE)
     34. β”‚ └─base::lapply(vps, push.vp, recording)
     35. β”‚ β”œβ”€grid (local) FUN(X[[i]], ...)
     36. β”‚ └─grid:::push.vp.viewport(X[[i]], ...)
     37. β”‚ └─grid:::grid.Call.graphics(C_setviewport, vp, TRUE)
     38. └─grid (local) `<fn>`(`<text>`)
     39. β”œβ”€grid::widthDetails(x)
     40. └─grid:::widthDetails.text(x)
     41. └─grid:::grid.Call(...)
    
     [ FAIL 1 | WARN 20 | SKIP 2 | PASS 280 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64