diff --git a/.github/workflows/build-r-package.yaml b/.github/workflows/build-r-package.yaml new file mode 100644 index 00000000..b72c5a64 --- /dev/null +++ b/.github/workflows/build-r-package.yaml @@ -0,0 +1,18 @@ +name: Build flipStandardCharts + +on: + workflow_dispatch: + push: + +jobs: + build: + name: Build flipStandardCharts + permissions: + checks: write + contents: read + uses: Displayr/nixr-public/.github/workflows/build-flake-installable.yaml@master + with: + installable-path: pkgs.x86_64-linux.rPackages.flipStandardCharts + build-args: --override-input flipStandardCharts . + installable-name: flipStandardCharts + secrets: inherit diff --git a/package.nix b/package.nix deleted file mode 100644 index f05b37fa..00000000 --- a/package.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ pkgs ? import {}, displayrUtils }: - -pkgs.rPackages.buildRPackage { - name = "flipStandardCharts"; - version = displayrUtils.extractRVersion (builtins.readFile ./DESCRIPTION); - src = ./.; - description = '' - Wrapper for other charting packages. The goal is to provide a - relatively standard API across multiple packages, so that a user can create - just about any 'standard' chart easily. - ''; - propagatedBuildInputs = with pkgs.rPackages; [ - jsonlite - flipTransformations - verbs - httr - rhtmlCombinedScatter - rhtmlLabeledScatter - flipTables - hash - rhtmlHeatmap - flipChartBasics - sp - mgcv - weights - janitor - abind - plotly - flipData - parcoords - htmltools - Hmisc - flipFormat - pryr - rhtmlPalmTrees - htmlwidgets - rhtmlDonut - d3vennR - flipU - rhtmlPictographs - xts - flipTime - stringr - leaflet - streamgraph - dygraphs - xml2 - ]; -}