Consider the following code:
works_from_dois <- oa_fetch(
entity = "works",
doi = c("10.3233/978-1-61499-432-9-116", "10.1016/S0168-1605(01)00734-6"),
verbose = TRUE
)
It will return just 1 work (the second one) without giving you any error/warning why the first work was not returned