Skip to content

Commit 8a9aef4

Browse files
committed
Merge branch 'release/4.3.3'
2 parents 3228a8e + 5536e88 commit 8a9aef4

File tree

517 files changed

+30131
-5207
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

517 files changed

+30131
-5207
lines changed

.RData

-2.53 KB
Binary file not shown.

.Rbuildignore

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,14 @@ cran-comments.md
2020
^R/osmose-plot4d\.R$
2121
^R/ex_osmose-plot\.R$
2222
^R/osmose\.netcdf\.R$
23-
^R/update_config\.R$
2423
^R/osmose\.maps\.R$
2524
^R/osmose2R\.R$
2625
^data-raw$
27-
^inst/java$
28-
java/target
29-
java/.classpath
30-
java/.vscode
26+
^inst/java/.*\.zip$
27+
^java/target$
28+
^java/.classpath$
29+
^java/.vscode$
30+
^osmose.Rcheck$
31+
^RELEASE.md$
32+
^.vscode$
33+
^.*ipynb.*$

.Rinstignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/java-compile.yml

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,27 @@ jobs:
1818
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
1919
- uses: actions/checkout@v2
2020

21-
- name: Set up JDK 1.8
21+
# extracts the list of lfs file identifiers
22+
- name: Create LFS file list
23+
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
24+
25+
# restore the LFS cache
26+
- name: Restore LFS cache
27+
uses: actions/cache@v2
28+
id: lfs-cache
29+
with:
30+
path: .git/lfs
31+
key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }}-v1
32+
33+
# Pull LFS files
34+
- name: Git LFS Pull
35+
run: git lfs pull
36+
37+
- name: Set up JDK 11
2238
uses: actions/setup-java@v1
2339
with:
24-
java-version: 1.8
25-
40+
java-version: 11
41+
2642
- name: Cache Maven dependencies
2743
id: maven-dep
2844
uses: actions/cache@v2
@@ -31,13 +47,12 @@ jobs:
3147
with:
3248
path: ~/.m2/repository
3349
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.jar') }}
34-
restore-keys: |
50+
restore-keys: |
3551
${{ runner.os }}-build-${{ env.cache-name }}-
3652
${{ runner.os }}-build-
3753
${{ runner.os }}-
3854
3955
- name: Compile Java code
40-
run: |
41-
cd java
56+
run: |
4257
mvn build-helper:remove-project-artifact
43-
mvn -B package
58+
mvn -B package -DskipTests=true

.github/workflows/r-compile.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,34 +19,30 @@ jobs:
1919
- uses: actions/checkout@v2
2020

2121
- name: R install
22-
uses: r-lib/actions/setup-r@master
23-
22+
uses: r-lib/actions/setup-r@v2
23+
2424
- name: Install NetCDF and Latex
25-
run: sudo apt-get update && sudo apt-get install -yq libnetcdf-dev texlive-latex-base texlive-fonts-recommended texlive-fonts-extra
25+
run: sudo apt-get install -yq libnetcdf-dev texlive-latex-base texlive-fonts-recommended texlive-fonts-extra
2626

2727
- name: Cache R dependencies
2828
id: r-dep
2929
uses: actions/cache@v2
3030
env:
31-
cache-name: r-dep-modules
31+
cache-name: r-dep-modules-v2
3232
with:
3333
path: /home/runner/work/_temp/Library
3434
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/DESCRIPTION') }}
35-
restore-keys: |
36-
${{ runner.os }}-build-${{ env.cache-name }}-
37-
${{ runner.os }}-build-
38-
${{ runner.os }}-
3935

4036
- name: Install Osmose dependencies
4137
if: steps.r-dep.outputs.cache-hit != 'true'
42-
run: install.packages(c("rlist", "knitr", "rmarkdown", "stringr", "ncdf4", "mgcv", "fields"), repos="http://cran.us.r-project.org")
38+
run: install.packages(c("rlist", "knitr", "rmarkdown", "stringr", "ncdf4", "mgcv", "ggplot2", "spam", "viridis", "fields", "R.utils", "calibrar"), repos="http://cran.us.r-project.org")
4339
shell: Rscript {0}
4440

4541
- name: Build Osmose without vignettes
46-
run: R CMD build --no-build-vignettes .
42+
run: R CMD build --no-build-vignettes .
4743

4844
- name: Check Osmose without vignettes
4945
run: |
5046
file=`ls *tar.gz`
5147
echo $file
52-
R CMD check --as-cran --ignore-vignettes ${file}
48+
R CMD check --as-cran --ignore-vignettes ${file}

.gitignore

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# History files
22
.Rhistory
33
.Rapp.history
4+
.RData
5+
6+
# doc/**/*.puml
7+
8+
**/**ipynb**
9+
**/*~lock*
10+
411

512
# Example code in package build process
613
*-Ex.R
@@ -24,6 +31,7 @@ vignettes/*.pdf
2431

2532
inst/extdata/Rplots.pdf
2633
inst/extdata/plot_test.R
34+
**/osmose-Ex*
2735

2836
inst/extdata/eec/make_netcdf_mask.R
2937
*.swp
@@ -35,8 +43,14 @@ inst/doc
3543
/vignettes/plot_method_cache
3644
/vignettes/create_run_read_cache
3745

46+
java/target
3847
target
39-
**sh
48+
49+
doc/_static/javadoc
50+
doc/_static/puml
51+
52+
53+
check.sh
4054
**.html
4155
build
4256
dist
@@ -46,4 +60,32 @@ nbproject
4660
**.Rcheck
4761

4862
**/nbactions.xml
63+
**/.classpath
64+
**/.settings
65+
**/.project
66+
**/*jar-with-dependencies.jar
67+
68+
**/*.ipynb
69+
70+
# doc
71+
**/_build
72+
**/eec_4.3.0
73+
**/gog
74+
**/*calib_demo*
75+
doc/osmose/_static/plot_step_chart.pdf
76+
doc/odd_des/submodel/mort/_static/fishing-period.pdf
77+
doc/odd_des/submodel/mort/_static/size_ratio.pdf
78+
doc/odd_des/submodel/_static/gom.pdf
79+
doc/odd_des/submodel/_static/size_ratio.pdf
80+
doc/odd_des/submodel/_static/vb.pdf
81+
doc/**/_static/*svg
82+
**.log
83+
**.aux
4984

85+
**/verif_fisheries*.png
86+
doc/rosmose/_static/*png
87+
**/_static/**/*.png
88+
random_drift.pdf
89+
random_drift.svg
90+
/*.sh
91+
doc/bioen_odd_des/submodel/_static/repfonct_bioen.pdf

0 commit comments

Comments
 (0)