RMHogervorst / badgecreatr

Quickly place relevant badges at the top of your readme, stop copy pasting, start on your project
http://rmhogervorst.nl/badgecreatr
61 stars 22 forks source link

Error in stringr::str_match #19

Closed privefl closed 7 years ago

privefl commented 7 years ago

Hello,

I just installed your package and tested it with: badgecreatr::badgeplacer(status = "wip", githubaccount = "privefl", githubrepo = "mypack"). Yes, I was not inspired with the name, I should change it in the near future. I got the following error: Error in stringr::str_match(grep("R \\(", description, value = TRUE), : subscript out of bounds.

Note that I already have a README.Rmd with some badges in it (got them from devtools): README.zip

Thanks for this package anyway. Florian

RMHogervorst commented 7 years ago

Hi florian, there is an error in your description file, did you use devtools? You don't declare which version of r you are using in "Depends: "

That's why the search function can't find the r version.

Perhaps the error message should be more informative...

Or perhaps a unit test. Thanks for the issue!

privefl commented 7 years ago

Ok, thanks.