From 3562b571c3158b09472c24d63b33b7747b8207de Mon Sep 17 00:00:00 2001 From: Quinten Goens Date: Mon, 12 Feb 2024 18:40:15 +0100 Subject: [PATCH 1/3] Update README.md fix readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1a60caa..4012e2b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ HexAeroR is a EUROCONTROL R package designed for aviation professionals and data You can install the development version of HexAeroR from [GitHub](https://github.com/) with: -``` r +```r # install.packages("devtools") devtools::install_github("euctrl-pru/HexAeroR") ``` @@ -26,7 +26,7 @@ devtools::install_github("euctrl-pru/HexAeroR") This is a basic example which shows you how to solve a common problem: -``` r +```r library(HexAeroR) ## basic example code ``` @@ -34,7 +34,7 @@ library(HexAeroR) This will prompt you to download the geospatial metadata from Zenodo necessary to run the package. It will only cache once. The parquet datasets are available here: . -``` python +```r # Load trajectory data df <- load_dataset(name = "trajectories.parquet", datatype = "test_data") @@ -50,7 +50,7 @@ list(scored_rwy_detections_df, rwy_detections_df) <- identify_runways(df) ### Visualizing Methodology -``` r +```r # Load approach hex dataset for an airport (e.g., EGLL) egll <- load_dataset(name = "EGLL.parquet", datatype = "runway_hex") From 1d1a6efd2a07d57619297a75e829141c23a47860 Mon Sep 17 00:00:00 2001 From: Quinten Goens Date: Mon, 12 Feb 2024 19:15:48 +0100 Subject: [PATCH 2/3] Create r.yml --- .github/workflows/r.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/r.yml diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml new file mode 100644 index 0000000..cd0d0bb --- /dev/null +++ b/.github/workflows/r.yml @@ -0,0 +1,40 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. +# +# See https://github.com/r-lib/actions/tree/master/examples#readme for +# additional example workflows available for the R community. + +name: R + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +permissions: + contents: read + +jobs: + build: + runs-on: macos-latest + strategy: + matrix: + r-version: ['4.1.0', '4.2.0', '4.3.0'] + + steps: + - uses: actions/checkout@v3 + - name: Set up R ${{ matrix.r-version }} + uses: r-lib/actions/setup-r@f57f1301a053485946083d7a45022b278929a78a + with: + r-version: ${{ matrix.r-version }} + - name: Install dependencies + run: | + install.packages(c("remotes", "rcmdcheck")) + remotes::install_deps(dependencies = TRUE) + shell: Rscript {0} + - name: Check + run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error") + shell: Rscript {0} From e3400aeceaca7f5d313f5c5b24ac46917b50b13e Mon Sep 17 00:00:00 2001 From: Quinten Goens Date: Mon, 12 Feb 2024 19:54:10 +0100 Subject: [PATCH 3/3] Update LICENSE --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index cdf8e23..25365a7 100644 --- a/LICENSE +++ b/LICENSE @@ -1,2 +1,2 @@ YEAR: 2024 -COPYRIGHT HOLDER: HexAeroR authors +COPYRIGHT HOLDER: EUROCONTROL - Aviation Intelligence Unit