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

check if R version is given in DESCRIPTION file, if not give warning and use current version #20

Closed RMHogervorst closed 7 years ago

RMHogervorst commented 7 years ago

Or check minimal requirements in DESCRIPTION.

according to CRAN The ‘Package’, ‘Version’, ‘License’, ‘Description’, ‘Title’, ‘Author’, and ‘Maintainer’ fields are mandatory, all other fields are optional. Fields ‘Author’ and ‘Maintainer’ can be auto-generated from ‘Authors@R’, and may be omitted if the latter is provided: however if they are not ASCII we recommend that they are provided.

depends does not need to have a version for R.

Perhaps use current version of R and give warning

RMHogervorst commented 7 years ago

R.Version() $major $minor

and in message: "using current installed version, $version.string nicknamed $nickname

RMHogervorst commented 7 years ago

also fixes #19