https://github.com/flowr-analysis/sample-analyzer-df-diff
Showcases how to analyze a project with flowR, comparing two DFGs
https://github.com/flowr-analysis/sample-analyzer-df-diff
Last synced: about 1 month ago
JSON representation
Showcases how to analyze a project with flowR, comparing two DFGs
- Host: GitHub
- URL: https://github.com/flowr-analysis/sample-analyzer-df-diff
- Owner: flowr-analysis
- License: mit
- Created: 2025-11-08T09:13:26.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-11-08T09:14:07.000Z (7 months ago)
- Last Synced: 2025-11-08T11:22:14.395Z (7 months ago)
- Language: TypeScript
- Size: 20.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# How to compare dataflow graphs produced by flowR
This is a sample project that demonstrates how to use the [`flowR`](https://github.com/flowr-analysis/flowr) library to analyze and R projects by comparing their dataflow graphs.
Please note that this is a minimal example.
If you want to try this out with docker, you can run the following in your directory (or add paths to your liking)
to use a deployed [docker image](https://hub.docker.com/r/eagleoutice/sample-flowr-df-diff):
```bash
docker run -it --rm -u "$(id -u):$(id -g)" -v "$PWD":"/data" eagleoutice/sample-flowr-df-diff:latest /data/samples/file-a.R /data/samples/file-b.R
```
## Quickstart
1. Clone the repository:
```bash
git clone https://github.com/flowr-analysis/sample-analyzer-df-diff.git
cd sample-analyzer-df-diff
```
2. Install the dependencies:
```bash
npm install
```
3. Run the main script with a project folder and a file to dump the results to:
```bash
npm run main -- samples/file-a.R samples/file-b.R
```
4. Check out the link produced in the console to view the differences between the dataflow graphs.