Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #30351

Closed (moved)
(moved)
Open
Created May 01, 2019 by Karsten Loesing@karsten

Unknown error in prepare_* functions using the spread() function

This morning we received a report that some of the graphs are not working anymore.

Turns out that nine graphs were affected by this issue, all of which using the spread() function internally. Here's the error message when plotting one of these graphs:

Error in get("as_data_frame.matrix", asNamespace("tibble"), mode = "function") :
  object 'as_data_frame.matrix' of mode 'function' was not found
Calls: plot_webstats_tm ... NextMethod -> spread_.data.frame -> as_data_frame_matrix -> get

I came up with a hotfix that replaces spread() with cast(), but that's going backwards from the tidyr package to its predecessor, the reshape package.

Also, I didn't find a working fix for the Tor Messenger graph where cast() works slightly different than spread() with regard to missing data.

We'll need to find a better fix. Ideally, we'd find out why spread() isn't working anymore, including why it stopped working in the first place.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking