R: Difference between revisions
Add a section for positron. |
→Install an R-package from GitHub: Use current channel for search.nixos.org link Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
| Line 158: | Line 158: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
You will need to obtain the `rev` and `sha256` for the package on github [https://search.nixos.org/packages? | You will need to obtain the `rev` and `sha256` for the package on github [https://search.nixos.org/packages?show=nix-prefetch-git&type=packages&query=nix-prefetch-git which can be found by using the `nix-prefetch-git` command line tool.] For the above example, running <code>nix-prefetch-git https://github.com/rstudio/rmarkdown</code> from a terminal will generate the information. You may need to manually specify other R-package/system dependencies for the specific package in the `propagatedBuildInputs`. This information can be found in the `DESCRIPTION` file of the R-package source directory. | ||
== A note on knitr == | == A note on knitr == | ||