Add R
This commit is contained in:
parent
15fe370689
commit
e67c71f8b5
1 changed files with 14 additions and 0 deletions
14
modules/RProject.php
Normal file
14
modules/RProject.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class RProject extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('R Core Team', 'R', 'https://www.r-project.org/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://cran.r-project.org/src/base/VERSION-INFO.dcf'))
|
||||
return $this->parse('/Release: ([\d\.]+)/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue