Skip to content

non-UTF8 characters fail to parse on Windows #6141

Closed
@MichaelChirico

Description

https://github.com/Rdatatable/data.table/blob/2b52437c9ca9f83591fc615fdc1bbad286fd0b6b/inst/tests/tests.Rraw#L18450

As observed here:

https://github.com/Rdatatable/data.table/actions/runs/9140204969/job/25133295034

Error in parse(n = -1, file = file, srcfile = NULL, keep.source = FALSE) : 
  18450:119: unexpected INCOMPLETE_STRING
18449: DT = data.table(strrep(ja_ichi, 1L:4L))
18450: test(2253.10, options=list(datatable.prettyprint.char = 4L), gsub(clean_regex, "", capture.output(print(DT))[-1L]), c("
                                                                                                                             ^
In addition: Warning message:
In parse(n = -1, file = file, srcfile = NULL, keep.source = FALSE) :
  invalid input found on input connection 'C:/Users/runneradmin/AppData/Local/Temp/RtmpYBE91X/RLIBS_6bc22f371e3/data.table/tests/tests.Rraw'

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions