Merge pull request #1567 from Cimbali/main

Add get_latest_verison for R
pull/1570/head
Bryan Hernández 4 years ago committed by GitHub
commit 6773897296
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -49,5 +49,10 @@ module Docs
doc/manual/R-lang.html doc/manual/R-lang.html
) )
def get_latest_version(opts)
body = fetch('https://cran.r-project.org/src/base/NEWS', opts)
body.match(/CHANGES IN R ([\d.]+):/)[1]
end
end end
end end

Loading…
Cancel
Save