# NOT RUN {
# Write errors to a temporary text file
tmpFile <- tempfile()
util_report_get_data_errors(
nhl_get_data(nhl_url_players(c("none", "8451101", "some"))),
reporter = writeLines,
con = tmpFile
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab