-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #224 from se-sic/dev
Version 4.1 Merged-by: Thomas Bock <[email protected]>
- Loading branch information
Showing
17 changed files
with
533 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
## with this program; if not, write to the Free Software Foundation, Inc., | ||
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
## | ||
## Copyright 2020-2021 by Thomas Bock <[email protected]> | ||
## Copyright 2020-2022 by Thomas Bock <[email protected]> | ||
## All Rights Reserved. | ||
|
||
# Drone CI Setup | ||
|
@@ -27,12 +27,17 @@ platform: | |
|
||
steps: | ||
- name: R-latest | ||
image: r-base:latest | ||
image: rocker/r-ver:latest | ||
commands: &runTests | ||
# stop treating warnings as errors | ||
- unset CI | ||
# package dependencies | ||
- apt install update -y && libudunits2-dev | ||
# - apt install update -y && libudunits2-dev | ||
- apt-get update -y | ||
- apt-get install --assume-yes libxml2 | ||
- apt-get install --assume-yes libxml2-dev | ||
- apt-get install --assume-yes libglpk-dev | ||
- echo 'options(repos = c(CRAN = "https://cloud.r-project.org"))' >>"/usr/local/lib/R/etc/Rprofile.site" | ||
# package installation | ||
- Rscript install.R | ||
# execute test suite | ||
|
@@ -41,37 +46,31 @@ steps: | |
|
||
- name: R-4.1 | ||
pull: if-not-exists | ||
image: r-base:4.1.1 | ||
image: rocker/r-ver:4.1.3 | ||
commands: *runTests | ||
depends_on: [clone] | ||
|
||
- name: R-4.0 | ||
pull: if-not-exists | ||
image: r-base:4.0.5 | ||
image: rocker/r-ver:4.0.5 | ||
commands: *runTests | ||
depends_on: [clone] | ||
|
||
- name: R-3.6 | ||
pull: if-not-exists | ||
image: r-base:3.6.3 | ||
image: rocker/r-ver:3.6.3 | ||
commands: *runTests | ||
depends_on: [clone] | ||
|
||
- name: R-3.5 | ||
pull: if-not-exists | ||
image: r-base:3.5.3 | ||
image: rocker/r-ver:3.5.3 | ||
commands: *runTests | ||
depends_on: [clone] | ||
|
||
- name: R-3.4 | ||
pull: if-not-exists | ||
image: r-base:3.4.4 | ||
commands: *runTests | ||
depends_on: [clone] | ||
|
||
- name: R-3.3 | ||
pull: if-not-exists | ||
image: r-base:3.3.2 | ||
image: rocker/r-ver:3.4.4 | ||
commands: *runTests | ||
depends_on: [clone] | ||
|
||
|
@@ -87,12 +86,17 @@ platform: | |
|
||
steps: | ||
- name: R-latest | ||
image: r-base:latest | ||
image: rocker/r-ver:latest | ||
commands: &runShowcase | ||
# stop treating warnings as errors | ||
- unset CI | ||
# package dependencies | ||
- apt install update -y && libudunits2-dev | ||
#- apt install update -y && libudunits2-dev | ||
- apt-get update -y | ||
- apt-get install --assume-yes libxml2 | ||
- apt-get install --assume-yes libxml2-dev | ||
- apt-get install --assume-yes libglpk-dev | ||
- echo 'options(repos = c(CRAN = "https://cloud.r-project.org"))' >>"/usr/local/lib/R/etc/Rprofile.site" | ||
# package installation | ||
- Rscript install.R | ||
# execute showcase file | ||
|
@@ -101,40 +105,33 @@ steps: | |
|
||
- name: R-4.1 | ||
pull: if-not-exists | ||
image: r-base:4.1.0 | ||
image: rocker/r-ver:4.1.3 | ||
commands: *runShowcase | ||
depends_on: [clone] | ||
|
||
- name: R-4.0 | ||
pull: if-not-exists | ||
image: r-base:4.0.5 | ||
image: rocker/r-ver:4.0.5 | ||
commands: *runShowcase | ||
depends_on: [clone] | ||
|
||
- name: R-3.6 | ||
pull: if-not-exists | ||
image: r-base:3.6.3 | ||
commands: *runShowcase | ||
depends_on: [clone] | ||
|
||
- name: R-3.5 | ||
pull: if-not-exists | ||
image: r-base:3.5.3 | ||
commands: *runShowcase | ||
depends_on: [clone] | ||
|
||
- name: R-3.4 | ||
pull: if-not-exists | ||
image: r-base:3.4.4 | ||
commands: *runShowcase | ||
depends_on: [clone] | ||
|
||
- name: R-3.3 | ||
pull: if-not-exists | ||
image: r-base:3.3.2 | ||
image: rocker/r-ver:3.6.3 | ||
commands: *runShowcase | ||
depends_on: [clone] | ||
|
||
#- name: R-3.5 | ||
# pull: if-not-exists | ||
# image: rocker/r-ver:3.5.3 | ||
# commands: *runShowcase | ||
# depends_on: [clone] | ||
# | ||
#- name: R-3.4 | ||
# pull: if-not-exists | ||
# image: rocker/r-ver:3.4.4 | ||
# commands: *runShowcase | ||
# depends_on: [clone] | ||
|
||
#trigger: | ||
# branch: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,10 @@ | |
## Copyright 2015 by Wolfgang Mauerer <[email protected]> | ||
## Copyright 2015-2017 by Claus Hunsen <[email protected]> | ||
## Copyright 2017 by Thomas Bock <[email protected]> | ||
## Copyright 2022 by Thomas Bock <[email protected]> | ||
## Copyright 2020-2021 by Thomas Bock <[email protected]> | ||
## Copyright 2019 by Anselm Fehnker <[email protected]> | ||
## Copyright 2021 by Christian Hechtl <[email protected]> | ||
## All Rights Reserved. | ||
## | ||
## Adapted from https://github.com/siemens/codeface/blob/be382e9171fb91b4aa99b99b09b2ef64a6dba0d5/packages.r | ||
|
@@ -62,4 +64,9 @@ if (length(p) > 0) { | |
|
||
## set dependencies to 'NA' to install only necessary dependencies (i.e., "Depends", "Imports", "LinkingTo") | ||
install.packages(p, dependencies = NA, verbose = TRUE, quiet = TRUE) | ||
|
||
igraph.version = installed.packages()[rownames(installed.packages()) == "igraph", "Version"] | ||
if (compareVersion(igraph.version, "1.3.0") == -1) { | ||
print("WARNING: igraph version 1.3.0 or higher is recommended for using coronet.") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
D1;male | ||
D2;female | ||
D3;male | ||
D4;male | ||
D5;female | ||
D6;female |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Thomas;male | ||
Olaf;female | ||
Karl;male | ||
Max;male | ||
udo;female | ||
Björn;male | ||
georg;male | ||
Hans;male | ||
Fritz [email protected];unknown |
Oops, something went wrong.