Skip to content
Merged
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
32 changes: 32 additions & 0 deletions package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ pkgs ? import <nixpkgs> {}, displayrUtils }:

pkgs.rPackages.buildRPackage {
name = "plotly";
version = displayrUtils.extractRVersion (builtins.readFile ./DESCRIPTION);
src = ./.;
description = "Create interactive web graphics from 'ggplot2' graphs and/or a custom interface to the (MIT-licensed) JavaScript library 'plotly.js' inspired by the grammar of graphics.";
propagatedBuildInputs = with pkgs.rPackages; [
ggplot2
scales
httr
jsonlite
magrittr
digest
viridisLite
base64enc
htmltools
htmlwidgets
tidyr
RColorBrewer
dplyr
vctrs
tibble
lazyeval
rlang
crosstalk
purrr
data_table
promises
];

}