Skip to content

day_continue fails #4

@homerhanumat

Description

@homerhanumat
aor::day_continue("2022-12-02", "aoc2022/02_rock_paper_scissors/puzzle.R")

gives:

Error in UseMethod("xml_find_all") : 
  no applicable method for 'xml_find_all' applied to an object of class "NULL"
Error: [ENOENT] Failed to remove '/var/folders/3v/9bfvrwnn0gn50mfplb8xcchr0000gn/T/Rtmp9ump1s/fileb4c02836e3dc.html': no such file or directory

Working with the debugger, I find that the result of the httr GET request for the article tags is a list of length 1: the contents of the first article tag for the Part One puzzle. Hence purrr:pluck(part) gives NULL. (Two article tags are present when I view the site with the browser inspector, but that's after I solved the second problem.)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions