Skip to content

Error in tidyr package & issue with columns being added to Markdown output where used to put into rows (no change to code) #1546

Closed
@NiceIScoding

Description

@NiceIScoding

Have had this error message saying to log this here

Error in df_append():
! after must be a whole number, not an integer NA.
This is an internal error that was detected in the tidyr package.
Please report it at https://github.com/tidyverse/tidyr/issues with a reprex
(https://tidyverse.org/help/) and the full backtrace.
Backtrace:

  1. ... %>% pull(text_row)
  2. tidyr:::unite.data.frame(...)
  3. tidyr:::df_append(after = after)
    Execution halted

I came across this error when I have been trying to sort out an issue affecting one of our codes where the output is putting some of the output into columns (as per report(1) document)

report (1).docx

We have not changed the code (attached below) from the time when it was putting the output into rows as we wanted

code.docx

We cant work out why this is happening as one of our colleagues is able to make it work in the usual way (one of his outputs from today is in report(51) document) - is there a problem with a package update?

report (51).doc.docx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions