Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
pull_request:
branches: [main, development]

name: R-CMD-check

jobs:
R-CMD-check:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

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

- uses: r-lib/actions/check-r-package@v2
with:
error-on: '"error"'
48 changes: 48 additions & 0 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
pull_request:
branches: [main, development]

name: test-coverage

jobs:
test-coverage:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

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

- name: Test coverage
run: |
covr::codecov(
quiet = FALSE,
clean = FALSE,
install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package")
)
shell: Rscript {0}

- name: Show testthat output
if: always()
run: |
## --------------------------------------------------------------------
find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true
shell: bash

- name: Upload test results
if: failure()
uses: actions/upload-artifact@v3
with:
name: coverage-test-failures
path: ${{ runner.temp }}/package
2 changes: 2 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@
This project is new. A few people helped with conceptual design and implementation. We expect many to expand and refine it. A special thanks to these extraordinary individuals:

* [Stevan Earl](https://sustainability.asu.edu/person/stevan-earl/), for contributing methods to make EML for spatial raster data.
* [Elie Arnaud](https://www.linkedin.com/in/elie-arnaud-440132151/), [PNDB](https://www.pndb.fr/) French Biodiversity e-infrastructure.
* [Mélanie Madelin](https://www.patrinat.fr/fr/annuaire/melanie-madelin-7130), [PNDB](https://www.pndb.fr/) French Biodiversity e-infrastructure.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## git structure

The active branch is `development`. `development` is merged into `master` for releases. Please submit your pull requests to `development`.
The active branch is `development`. `development` is merged into `main` for releases. Please submit your pull requests to `development`.

## Repository structure

Expand Down
4 changes: 3 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ Imports:
knitr,
methods,
mime,
ncdf4,
reader,
readr,
rmarkdown,
stringr,
stringi,
taxonomyCleanr (>= 1.6.2),
terra,
tidyr,
tools,
uuid,
Expand All @@ -30,7 +32,7 @@ Suggests: testthat
License: MIT
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.0
RoxygenNote: 7.2.1
Remotes:
EDIorg/taxonomyCleanr
URL: https://github.com/EDIorg/EMLassemblyline,
Expand Down
6 changes: 6 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Generated by roxygen2: do not edit by hand

export(annotate_eml)
export(copy_test_package)
export(eml2eal)
export(eml2eal_losses)
export(issues)
Expand All @@ -11,8 +12,13 @@ export(template_arguments)
export(template_categorical_variables)
export(template_core_metadata)
export(template_directories)
export(template_entities)
export(template_geographic_coverage)
export(template_netcdf_attributes)
export(template_other_entity_attributes)
export(template_provenance)
export(template_raster_attributes)
export(template_table_attributes)
export(template_taxonomic_coverage)
export(template_vector_attributes)
export(view_unit_dictionary)
23 changes: 23 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
EMLassemblyline 3.X.X (202X-XX-XX)
==================================

### NEW FEATURES

* New function added, `template_other_entity_attributes()`, to create
attributes templates for other entity data objects. Is part of (#45).

### DOCUMENTATION

* pkgdown is now run on pushes to main and development branches and published
to the gh-pages branch.


### TESTS

* Test-coverage is now run on all pull requests to main and development
branches. Test coverage is hosted on Codecov.
* R-CMD-check is now run on pull requests to main and development branches.
Note, this replaces use of Travis CI.
* Test suite runs faster now that unnecessary HTTP requests have been
removed.

EMLassemblyline 3.5.5 (2022-10-31)
==================================

Expand Down
Loading