Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
quinten-goens committed Feb 12, 2024
2 parents 1a138f9 + e3400ae commit 1d558f6
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 5 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/r.yml
Original file line number Diff line number Diff line change
@@ -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}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
YEAR: 2024
COPYRIGHT HOLDER: HexAeroR authors
COPYRIGHT HOLDER: EUROCONTROL - Aviation Intelligence Unit
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
```
Expand All @@ -26,15 +26,15 @@ 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
```

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: <https://zenodo.org/records/10651018>.


``` python
```r
# Load trajectory data
df <- load_dataset(name = "trajectories.parquet", datatype = "test_data")

Expand All @@ -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")
Expand Down

0 comments on commit 1d558f6

Please sign in to comment.