Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
aff9520
Add query towards deims geoserver. Add GUI interaction to select sites
ptagliolato Jan 30, 2023
afc86b7
Add documentation
ptagliolato Jan 30, 2023
665b2b2
in preparation for the next version
oggioniale Jan 30, 2023
432f70b
Merge branch 'geoserver' into dev
ptagliolato Jan 30, 2023
68a8349
Merge pull request #95 from ptagliolato/dev
ptagliolato Jan 30, 2023
015460b
Fix get site boundaries return value column names
ptagliolato Jan 30, 2023
56f8355
Merge pull request #1 from ropensci/dev
ptagliolato Jan 30, 2023
e5a6113
Merge pull request #96 from ptagliolato/dev
ptagliolato Jan 30, 2023
d3c0b54
new badges order
oggioniale Jan 30, 2023
e846df3
Merge branch 'dev' of https://github.com/ropensci/ReLTER into dev
oggioniale Jan 30, 2023
d933e0e
all fields containing date and time with have been harmonised with lu…
oggioniale Aug 6, 2023
28794e7
all fields containing number referring to an unit of measurement have…
oggioniale Aug 6, 2023
748bf9c
Merge branch 'dev' of https://github.com/ropensci/ReLTER into dev
oggioniale Aug 9, 2023
6b74fca
adaptation to changes in the DEIMS API
oggioniale Aug 10, 2023
a744ea6
adaptation to changes in the DEIMS API
oggioniale Aug 10, 2023
6cf15b3
Merge branch 'dev' of https://github.com/ropensci/ReLTER into dev
oggioniale Aug 10, 2023
ed162ce
a new function for get info about location entity
oggioniale Aug 11, 2023
6298d85
revision of the get_activity_info function with respect to the DEIMS-…
oggioniale Aug 11, 2023
f9be3b1
Merge branch 'dev' of https://github.com/ropensci/ReLTER into dev
oggioniale Aug 14, 2023
4ef9b2f
revision of the get_activity_info function with respect to the DEIMS-…
oggioniale Aug 16, 2023
cf0ece1
revision of the get_activity_info function with respect to the DEIMS-…
oggioniale Aug 16, 2023
546e03d
Merge branch 'dev' of https://github.com/ropensci/ReLTER into dev
oggioniale Aug 16, 2023
642d191
improvement of information returned in the map
oggioniale Aug 17, 2023
00b29d7
get_site_boundaries function improvement for contais both site and re…
oggioniale Aug 17, 2023
9037c99
fix the function get_zenodo_data() with new Zenodo API
oggioniale Oct 31, 2023
87821c8
removed the rgeos package
oggioniale Nov 29, 2023
6cdac10
removed rgeos package
oggioniale Nov 29, 2023
005febe
new JQ query lists for DEIMS-SDR (also for B2Share function)
oggioniale Nov 29, 2023
a6a7ec9
removed rgeos ref in this function
oggioniale Nov 29, 2023
885e8de
added the call of ReLTER package in the example
oggioniale Nov 29, 2023
d06ae18
tentative for solve the worning return for this function
oggioniale Nov 29, 2023
3a40e0b
fixing the error from tests
oggioniale Nov 29, 2023
9491bb3
Update DESCRIPTION
maelle Nov 30, 2023
bd7e4e0
Add missing comment
maelle Nov 30, 2023
9e04c5a
fixed the vignette errors
oggioniale Nov 30, 2023
687e20f
removed loading of testthat with library(testthat)
oggioniale Nov 30, 2023
7c7b5ee
replaced httr packet with httr2
oggioniale Nov 30, 2023
1f2f50c
check if deims_url ends with /
oggioniale Nov 30, 2023
b5c0f54
replaced RCurl package with httr2
oggioniale Nov 30, 2023
b4d1e60
Merge pull request #103 from ropensci/maelle-patch-1
oggioniale Nov 30, 2023
1a4eda7
Merge pull request #105 from ropensci/maelle-patch-2
oggioniale Nov 30, 2023
a3ccc7f
suggestion: use the withr package
oggioniale Dec 3, 2023
0196424
Merge branch 'dev' of https://github.com/ropensci/ReLTER into dev
oggioniale Dec 3, 2023
c30ddb5
load testthat library
oggioniale Dec 4, 2023
6a5731b
check if status code is not equal to 200
oggioniale Dec 4, 2023
52f9a63
fix the error of test about not reachable url
oggioniale Dec 4, 2023
c6d053d
removed testthat encoding and harmonized the skip of deims.org if off…
oggioniale Dec 5, 2023
d79337d
fixed the test errors for both functions
oggioniale Dec 5, 2023
e788b99
replaced httptest with httptest2 package
oggioniale Dec 5, 2023
81303ba
to fix the test error
oggioniale Dec 5, 2023
164f867
solved some vignettes knitting issues
oggioniale Dec 20, 2023
615ce29
for reduce in package bytes
oggioniale Dec 20, 2023
eb4d054
for fix the warning "The vignette title specified in \VignetteIndexEn…
oggioniale Dec 20, 2023
e2cc84f
test coverage error fix
oggioniale Dec 20, 2023
d0c286b
some changes about steps action version
oggioniale Dec 20, 2023
f078734
some changes about steps action version
oggioniale Dec 20, 2023
c6c90ae
Merge branch 'dev' of https://github.com/ropensci/ReLTER into dev
oggioniale Dec 20, 2023
55e94e2
new version of test-coverage.yaml
oggioniale Dec 20, 2023
7a57a2e
fix warning
oggioniale Dec 20, 2023
4d79af9
fixed the error GitHub action
oggioniale Dec 20, 2023
92eb2a6
added RCurl because the erroro in action:
oggioniale Dec 20, 2023
f6a4634
for documentation and description of package
oggioniale Dec 20, 2023
a2c630a
error "there is no package called ‘markdown’"
oggioniale Dec 21, 2023
f05fc9e
added dependencies step
oggioniale Dec 21, 2023
40da5ad
steps about dependencies
oggioniale Dec 21, 2023
1874cfa
few changes about dependencies
oggioniale Dec 21, 2023
b5036c6
installation of markdown for dependencies
oggioniale Dec 21, 2023
a8ccdd2
function not already imported
oggioniale Dec 21, 2023
06e3fea
avoids a warning about non-unicode characters
oggioniale Dec 21, 2023
4511c02
withr is a package using in the tests
oggioniale Dec 21, 2023
79c9fce
removed some packages not used
oggioniale Dec 21, 2023
d9e184f
to solve some warning about get_sites_interactive function
oggioniale Dec 21, 2023
1596199
error for deleted webshot package
oggioniale Dec 21, 2023
d2ecdcf
solved a html typo
oggioniale Jan 5, 2024
5b42bae
solve missing MODIStsp in CRAN
oggioniale Jan 9, 2024
798c72f
fixing missing CRAN package
oggioniale Jan 9, 2024
06d02a0
Fixing imports for package no more in CRAN. See ropensci/ReLTER#111
ptagliolato Jan 10, 2024
5eb8f54
Merge pull request #112 from ptagliolato/dev
ptagliolato Jan 10, 2024
e657e36
fixing issue #111
oggioniale Jan 10, 2024
0f7a970
fixing the last error in action
oggioniale Jan 10, 2024
7768f5e
parameter harmonization name
oggioniale Feb 12, 2024
33f22b1
since spocc::occ() converts the polygon to BBOX
oggioniale Nov 15, 2024
831028a
returned to the previous situation
oggioniale Dec 19, 2024
766cf7a
[#121] deleted the dependency to XML package
oggioniale Mar 11, 2025
079b321
to intercept when locationType.label is null
oggioniale Mar 20, 2025
d644e96
changed the name of parameter 'location_id' with the aim of harmonisa…
oggioniale Mar 20, 2025
82a1bfe
the output of these functions has been transformed into a list
oggioniale Mar 31, 2025
57f60eb
new function for create map for location
oggioniale Apr 2, 2025
78eec79
fixed the get_location_info() function with map and sf data
oggioniale Apr 3, 2025
9575761
removed the reference of ReLTER in functions example
oggioniale Apr 3, 2025
b3e2852
Refactor get_site_boundaries return list with data and map. Delegate …
ptagliolato Apr 3, 2025
bb0ecd2
Merge branch 'dev-OggioniAle' into dev-ptagliolato
ptagliolato Apr 3, 2025
8f12f4f
data in this function is now sf
oggioniale Apr 3, 2025
18c2938
simplify code
ptagliolato Apr 3, 2025
68cb313
Merge branch 'dev-OggioniAle' into dev-ptagliolato
ptagliolato Apr 3, 2025
e0b3002
show_map implemented also in this function by the refactorig of inter…
oggioniale Apr 3, 2025
025def5
enhanced documentation
oggioniale Apr 3, 2025
6cccfe2
improvement of the documentation of these functions
oggioniale Apr 4, 2025
92d6763
check of documentation and tags
oggioniale Apr 4, 2025
d0f4f07
Update documentation
ptagliolato Apr 4, 2025
fcfd4f8
The new function for the latest version of the DRF has been developed…
oggioniale Apr 17, 2025
007e863
Merge branch 'dev-OggioniAle' into dev-ptagliolato
ptagliolato May 28, 2025
dc1afc5
Fix get-site-boundaries to align with changes to get_site_info. Add …
ptagliolato May 28, 2025
fdeb216
Add experimental badge to get_sites_interactive, get_sites_within_rad…
ptagliolato May 28, 2025
2bf7f6b
reduce ReLTER dependencies: removed the use of purrr in favour of sap…
oggioniale Jun 4, 2025
0916c91
reduced dependencies with R packages
oggioniale Jun 4, 2025
d799ede
reduced dependencies with R packages
oggioniale Jun 4, 2025
a229c01
added the reference in the function description
oggioniale Jun 4, 2025
349d2bf
functions removed from the package, pending a decision on whether it …
oggioniale Jun 4, 2025
57922f6
fixed references
oggioniale Jun 4, 2025
a13f8aa
function deprecated and removed from package, waiting to decide whet…
oggioniale Jun 4, 2025
ebeca3f
added the use of the list as function output (now with map and networ…
oggioniale Jun 4, 2025
1359a47
added the references in the function documentation
oggioniale Jun 4, 2025
7b71ef2
functions removed to be added later in a parallel module to this pack…
oggioniale Jun 4, 2025
faa75e2
removed some unnecessary tags
oggioniale Jun 4, 2025
d97c6ee
fixed some aesthetic aspects on the code
oggioniale Jun 4, 2025
89a3a3c
changed the name of the category parameter in favour of categories
oggioniale Jun 4, 2025
48718c1
the evaluation of the presence of certain packages was added and some…
oggioniale Jun 4, 2025
10a4daa
completely rewritten the functions in favour of decreasing the number…
oggioniale Jun 4, 2025
968ee43
deprecated functions pending on whether they have utility or should b…
oggioniale Jun 4, 2025
9646364
new figures for the function board
oggioniale Jun 4, 2025
ec6a895
totally arranged bibliographical references to packages
oggioniale Jun 4, 2025
7f252aa
regenerated all function documentation
oggioniale Jun 4, 2025
a82b646
removed and a case changed function tests
oggioniale Jun 4, 2025
9fbad6e
modified vignettes based on renewal of functions
oggioniale Jun 4, 2025
4e0652e
revised the number and presence of packages following the setting whe…
oggioniale Jun 4, 2025
16faba0
generated as new
oggioniale Jun 4, 2025
2b130d3
additions in the package documentation
oggioniale Jun 4, 2025
62c3680
Merge pull request #128 from ropensci/dev-OggioniAle
oggioniale Jun 5, 2025
432a401
Fix popup in get_sites_ functions and shiny, fix importFrom and sugge…
ptagliolato Jun 9, 2025
21441af
add seealso in doc
ptagliolato Jun 9, 2025
7f9e978
the `eLTER_data_reporting_format` data has been moved as a packet dat…
oggioniale Jun 10, 2025
64e2bf1
Merge branch 'dev-ptagliolato' into dev-OggioniAle
oggioniale Jun 10, 2025
6b0df5f
Merge pull request #129 from ropensci/dev-OggioniAle
oggioniale Jun 10, 2025
8f40bb0
Changes to httptest2 in tests/setup.R
Dec 6, 2023
e6045e4
Fixes sites_contacts.RMD vignette
micha-silver Dec 6, 2023
71096d5
Implements precompile of vignettes
micha-silver Dec 7, 2023
ddc9021
Replace °C with degree_Celsius
micha-silver Dec 12, 2023
ff747f3
Cleans some merge conflicts
micha-silver Jul 3, 2025
bc62a93
Adds list of ecodatacube layers, edits to DESCRIPTION
micha-silver Jul 3, 2025
4df1626
Updates documentation file
micha-silver Jul 3, 2025
5731dca
Adds skeleton for get_site_EcoDataCube()
micha-silver Jul 3, 2025
a2aee57
Additional data for EcoDataCube and code in get_site_EcoDataCube()
micha-silver Jul 4, 2025
248ac2a
Fixes some references, recompile vignettes
micha-silver Jul 4, 2025
05730df
Compeltes documentation header for get_site_EcoDataCube()
micha-silver Jul 5, 2025
3f13158
Completes documentation of datasets in get_site_EcoDataCube()
micha-silver Jul 5, 2025
87e93c0
Implements constructing full URL for get_site_EcoDataCube()
micha-silver Jul 7, 2025
9dd1127
added a cheatsheets
oggioniale Jul 7, 2025
b4f5fae
added data reporting format dataset
oggioniale Jul 7, 2025
a2919ac
Checks that full_url is dreated properly in get_site_EcoDataCube()
micha-silver Jul 7, 2025
da6cb7f
Removes deprecated get_site_MODIS and get_site_ODS
micha-silver Jul 8, 2025
c10143e
Bumps version to 2.2.1
micha-silver Jul 8, 2025
a08b0e2
Fixes call to get_site_boundaries withing get_site_EcoDataCube
micha-silver Jul 8, 2025
5affa0a
Rewrites get_site_EcoDataCube to get site boundary correctly
micha-silver Jul 8, 2025
afa3453
Comments out incorrect code to add SLD to downloaded raster in get_si…
micha-silver Jul 8, 2025
a2b4df5
Adds saving of SLD file in get_site_EcoDataCube()
micha-silver Jul 10, 2025
2888c96
Adds saving of dataset, along with style files.
micha-silver Jul 11, 2025
0cecfeb
Adds tests for get_site_EcoDataCube()
micha-silver Jul 11, 2025
4dc2aff
Edits to get_site_EcoDataCube documentation
micha-silver Jul 11, 2025
e42bb76
Corrections in DESCRIPTION, removes modistsp_options.json
micha-silver Jul 11, 2025
9ab78ae
Fixes typo in get_zenodo_data()
micha-silver Jul 11, 2025
a76b6c7
Disables example in get_site_boundaries() to avoid test failure.
micha-silver Jul 11, 2025
c39fb67
Disables example in get_sites_interactive to allow tests to complete.
micha-silver Jul 11, 2025
a409ea1
Adds ignore_unsued_imports() to avoid Notes about Import all functions.
micha-silver Jul 11, 2025
00cf162
Removes unused packages: Rdpack, grDevices, grid, raster, readr, rosm
micha-silver Jul 11, 2025
6c06635
Adds missing importFrom
micha-silver Jul 11, 2025
e3e5624
Edits exmaples in get_sites_within_3d_boundry() with \dontrun
micha-silver Jul 11, 2025
23123e8
Edits to get_site_interactive - \dontrun for example.
micha-silver Jul 11, 2025
b402d88
Fixes tests in test-produce_network_points_map.R, test-produce_site_m…
micha-silver Jul 11, 2025
f93dfd4
Fixes test-produce_site_map to extract Networks from returned list.
micha-silver Jul 11, 2025
6b52bef
Changes tests in test-produce_site_map() to match parameters in the f…
micha-silver Jul 11, 2025
5285a1c
Adds `prettymapr` to Suggests (a dependency of ggspatial)
micha-silver Jul 11, 2025
404a993
Pixes test-produce_network_points_map.R: when countryCode is wrong, r…
micha-silver Jul 12, 2025
5fbfbf5
Fixes:
micha-silver Jul 12, 2025
ecfd21f
Disables tests with httptest2:::without_internet()
micha-silver Jul 12, 2025
69c0bb8
Fixes:
micha-silver Jul 12, 2025
4ae2e75
FIxes test-get_location_info() since the function returns a list. The…
micha-silver Jul 12, 2025
1dab39c
Fixes test-get_dataset_info() since this func returns list. Now the t…
micha-silver Jul 12, 2025
9b6b6a5
Disables one example in get_site_EcoDataCube to shorten test time
micha-silver Jul 12, 2025
1ae277c
Fixes test-get_activity_info, since func returns list. Now the test c…
micha-silver Jul 12, 2025
4b2195a
Fixes typo in test-eLTER_reporting.R
micha-silver Jul 12, 2025
f79ae43
Version bumped to 2.3.0
micha-silver Jul 12, 2025
64f3952
Update check-standard.yaml
micha-silver Jul 12, 2025
4a39325
Update check-standard.yaml
micha-silver Jul 12, 2025
7c30064
unify the output of location, and site info
oggioniale Jul 18, 2025
7849e49
Merge branch 'dev' into dev-OggioniAle
oggioniale Jul 18, 2025
732356d
Merge branch 'dev' of https://github.com/ropensci/ReLTER into dev
oggioniale Aug 18, 2025
1ea1cb9
Merge branch 'dev-OggioniAle' into dev
oggioniale Aug 18, 2025
5852c69
fixed the changes also in the tests
oggioniale Aug 19, 2025
1cfdf07
added the news for new version
oggioniale Aug 19, 2025
15d4053
cheat sheet
oggioniale Aug 19, 2025
8e62590
added the cheatsheet and the citation of paper
oggioniale Aug 19, 2025
08e4d22
changed the version of the package
oggioniale Aug 19, 2025
b366237
added some parts of the cff in order to be compliant with the zenodo …
oggioniale Aug 19, 2025
69bd757
documentation of the function
oggioniale Aug 19, 2025
2c3b42c
modified the path of the cheatsheet
oggioniale Aug 19, 2025
e1c30e6
for web pages
oggioniale Aug 20, 2025
ab8ca9b
new dockerfile
oggioniale Aug 20, 2025
2c68066
Merge pull request #130 from ropensci/dev-OggioniAle
oggioniale Aug 21, 2025
53dedf4
new version of GitHub Workflows
oggioniale Aug 21, 2025
c71b1e5
added markdown library as extra package
oggioniale Aug 21, 2025
71d4aed
added rbibutils for remove the error in the GitHub action
oggioniale Aug 21, 2025
7c1cd1a
to remove the error in GitHub action
oggioniale Aug 21, 2025
5f0901a
to remove the error in GitHub action
oggioniale Aug 21, 2025
c6931a3
Merge branch 'dev-OggioniAle' of https://github.com/ropensci/ReLTER i…
oggioniale Aug 21, 2025
d94011a
removed all reference in the functions documentation in order to prev…
oggioniale Aug 21, 2025
f0a8339
Remove duplicate function and add example for extraterritorial sites
oggioniale Aug 21, 2025
db1139a
remove incorrect function
oggioniale Aug 21, 2025
421efc8
Merge pull request #131 from ropensci/dev-OggioniAle
oggioniale Aug 21, 2025
7ade5c0
sync: align local development with remote
oggioniale Aug 22, 2025
89c734b
missed file
oggioniale Aug 22, 2025
dc24876
fix some test errors
oggioniale Aug 22, 2025
fd333b1
add new github workflow to publish docker image on new tag
oggioniale Aug 22, 2025
b70fa3e
Merge branch 'main' into dev
oggioniale Aug 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@
^miscellaneus$
^.*\.zenodo.json$
^CITATION\.cff$
^doc$
^Meta$
101 changes: 35 additions & 66 deletions .github/workflows/check-standard.yaml
Original file line number Diff line number Diff line change
@@ -1,95 +1,64 @@
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
name: R-CMD-check

on:
push:
branches: [main, dev, dev-OggioniAle]
pull_request:
branches: [main]

name: R-CMD-check
branches: [main, dev, dev-OggioniAle]

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: 'release', usgs_user: 'modistsp_ci_macos_release', test_mode: 'FALSE'}
- {os: windows-latest, r: 'release', usgs_user: 'modistsp_ci_windows_release', test_mode: 'FALSE'}
- {os: ubuntu-20.04, r: 'devel', usgs_user: 'modistsp_ci_ubuntu_release', test_mode: 'FALSE', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: ubuntu-20.04, r: 'release', usgs_user: 'modistsp_ci_ubuntu_devel', test_mode: 'FALSE', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: ubuntu-20.04, r: 'oldrel', usgs_user: 'modistsp_ci_ubuntu_oldrel', test_mode: 'FALSE', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
USGS_USER: ${{ matrix.config.usgs_user }}
USGS_PASSWORD: ${{ secrets.USGS_PASSWORD }}
R_KEEP_PKG_SOURCE: yes
LOCAL_DEIMS: ${{ matrix.config.test_mode }}

LOCAL_DEIMS: false

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-pandoc@v1
- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- name: Query dependencies
run: |
install.packages("remotes")
install.packages("rnaturalearthdata")
install.packages("webshot")
webshot::install_phantomjs()
saveRDS(remotes::dev_package_deps(dependencies = TRUE), "depends.Rds", version = 2)
shell: Rscript {0}

- name: "Cache R packages"
if: runner.os != 'Windows'
uses: actions/cache@v2
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-

- name: "[Linux] Install system dependencies"
# Extra system deps solo su Ubuntu (le stesse del Dockerfile)
- name: Install system dependencies
if: runner.os == 'Linux'
run: |
while read -r cmd
do
eval sudo $cmd
done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "20.04"))')

- name: Install dependencies
run: |
if (Sys.info()["sysname"]=="Darwin") {options("pkgType" = "binary")}
remotes::install_deps(dependencies = TRUE)
remotes::install_cran("rcmdcheck")
shell: Rscript {0}

- name: download system packages
if: runner.os == 'Linux'
run: |
sudo apt update
sudo apt-get install \
r-base-dev \
build-essential \
gdal-bin \
libgdal-dev \
libjq-dev \
sudo apt-get update -y
sudo apt-get install -y \
libcurl4-openssl-dev \
libssl-dev \
libxml2-dev \
libprotobuf-dev \
protobuf-compiler \
libudunits2-dev \
libgdal-dev \
libgeos-dev \
libproj-dev \
libfontconfig1-dev \
libjq-dev \
libv8-dev \
libssl-dev \
libcairo2-dev \
libgit2-dev
libgit2-dev \
build-essential \
gfortran \
libglpk-dev

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck,markdown,rbibutils
needs: check

- uses: r-lib/actions/check-r-package@v1
- uses: r-lib/actions/check-r-package@v2
28 changes: 28 additions & 0 deletions .github/workflows/docker-publish-on-tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Publish Docker image on tag

on:
push:
tags:
- "v*"

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
push: true
tags: |
oggioniale/relter:latest
oggioniale/relter:${{ github.ref_name }}
58 changes: 35 additions & 23 deletions .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,55 @@
name: test-coverage

on:
push:

name: test-coverage
branches: [main, dev, dev-OggioniAle]
pull_request:
branches: [main, dev, dev-OggioniAle]

jobs:
test-coverage:
runs-on: macOS-latest
runs-on: ubuntu-latest

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
USGS_USER: 'modistsp_ci_codecov'
USGS_PASSWORD: ${{ secrets.USGS_PASSWORD }}
LOCAL_DEIMS: false

steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v2

- uses: r-lib/actions/setup-pandoc@v2

- name: Query dependencies
run: |
install.packages("remotes")
saveRDS(remotes::dev_package_deps(dependencies = TRUE), "depends.Rds", version = 2)
shell: Rscript {0}

- name: "Cache R packages"
uses: actions/cache@v2
- uses: r-lib/actions/setup-r@v2
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-
use-public-rspm: true

- name: Install dependencies
# Install system dependencies (come nel Dockerfile)
- name: Install system dependencies
run: |
remotes::install_deps(dependencies = TRUE, type = "binary")
remotes::install_cran("rcmdcheck")
remotes::install_cran("covr")
shell: Rscript {0}
sudo apt-get update -y
sudo apt-get install -y \
libcurl4-openssl-dev \
libssl-dev \
libxml2-dev \
libudunits2-dev \
libgdal-dev \
libgeos-dev \
libproj-dev \
libfontconfig1-dev \
libjq-dev \
libv8-dev \
libgit2-dev \
build-essential \
gfortran \
libglpk-dev

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::covr
needs: coverage

- name: Test coverage
run: covr::codecov(quiet = FALSE)
shell: Rscript {0}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ rosm.cache
submission_rOpenSci
_pkgdown.yaml
*.rds
/doc/
/Meta/
6 changes: 3 additions & 3 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "ReLTER: An Interface for the eLTER Community (v2.1)",
"version": "2.1.1",
"title": "ReLTER: An Interface for the eLTER Community (v3.0)",
"version": "3.0.0",
"creators": [
{
"name": "Oggioni, Alessandro",
Expand All @@ -23,5 +23,5 @@
"license": {
"id": "GPL-3.0-or-later"
},
"publication_date": "2023-01-30"
"publication_date": "2025-08-20"
}
Loading
Loading