r-lib / roxygen2md

Convert elements of roxygen documentation to markdown
https://roxygen2md.r-lib.org/
67 stars 8 forks source link

Error message #1

Closed jeroen closed 7 years ago

jeroen commented 7 years ago

If the DESCRIPTION file does not contain Roxygen: list(markdown = TRUE) we get a cryptic error:

> roxygen2md::roxygen2md()
Error in roxygen_field_val$markdown : 
  $ operator is invalid for atomic vectors

Took me a while to debug this, better error message would be nice.

krlmlr commented 7 years ago

Sorry for that. That's what we get when we don't have tests in the code...

github-actions[bot] commented 3 years ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.