├── .gitignore ├── LICENSE ├── README.md ├── benchmark ├── ado-to-pkg.py ├── create-ground-truth-import.do ├── create-ground-truth-require.do ├── demo-dofiles │ └── spam.do ├── extract-package-keywords.do ├── extract-package-keywords.py ├── github.do ├── ground-truth-pending.tsv ├── ground-truth.tsv ├── ignore.txt ├── journal-counts │ ├── NOTES.txt │ ├── ado2pkg.tsv │ └── cmd_count.csv ├── keyword-package-crosswalk.dta ├── package-keywords.tsv ├── package-list.dta ├── package-list.tsv ├── performance-detailed-old.dta ├── performance-detailed.dta ├── performance-old.dta ├── performance-untitled.eps ├── performance-untitled.pdf ├── performance-untitled.png ├── performance.dta ├── performance.eps ├── performance.pdf ├── performance.png ├── performance.tsv ├── plot-performance.do └── populate-candidates.do ├── internal ├── aliased-examples.do ├── build_test_list.do ├── examples.do ├── installed-examples.do ├── requirements.txt ├── scrap.py └── test-all.do ├── src ├── require.ado ├── require.pkg ├── require.sthlp └── stata.toc ├── ssc-prototype ├── README.md ├── alt_ssc.ado ├── demo.do └── download-ssc.py └── test ├── assert_error.ado ├── fake-ado-folder └── .gitkeep ├── fake-repo1 ├── fake2.ado ├── fake2.pkg └── stata.toc ├── fake-repo2 ├── fake2.ado ├── fake2.pkg └── stata.toc ├── old └── test-extra.do ├── requirements.txt ├── setup.do ├── super.do ├── test-adopaths.do ├── test-debug.do ├── test-groundtruth.do ├── test-install.do ├── test-list.do ├── test-packagesearch.do ├── test-requirements-installed.txt ├── test-requirements-not-installed.txt ├── test-requirements-not-installed1.txt ├── test-requirements-not-installed2.txt ├── test-requirements.do └── test-simple.do /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/README.md -------------------------------------------------------------------------------- /benchmark/ado-to-pkg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/ado-to-pkg.py -------------------------------------------------------------------------------- /benchmark/create-ground-truth-import.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/create-ground-truth-import.do -------------------------------------------------------------------------------- /benchmark/create-ground-truth-require.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/create-ground-truth-require.do -------------------------------------------------------------------------------- /benchmark/demo-dofiles/spam.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/demo-dofiles/spam.do -------------------------------------------------------------------------------- /benchmark/extract-package-keywords.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/extract-package-keywords.do -------------------------------------------------------------------------------- /benchmark/extract-package-keywords.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/extract-package-keywords.py -------------------------------------------------------------------------------- /benchmark/github.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/github.do -------------------------------------------------------------------------------- /benchmark/ground-truth-pending.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/ground-truth-pending.tsv -------------------------------------------------------------------------------- /benchmark/ground-truth.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/ground-truth.tsv -------------------------------------------------------------------------------- /benchmark/ignore.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/ignore.txt -------------------------------------------------------------------------------- /benchmark/journal-counts/NOTES.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/journal-counts/NOTES.txt -------------------------------------------------------------------------------- /benchmark/journal-counts/ado2pkg.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/journal-counts/ado2pkg.tsv -------------------------------------------------------------------------------- /benchmark/journal-counts/cmd_count.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/journal-counts/cmd_count.csv -------------------------------------------------------------------------------- /benchmark/keyword-package-crosswalk.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/keyword-package-crosswalk.dta -------------------------------------------------------------------------------- /benchmark/package-keywords.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/package-keywords.tsv -------------------------------------------------------------------------------- /benchmark/package-list.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/package-list.dta -------------------------------------------------------------------------------- /benchmark/package-list.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/package-list.tsv -------------------------------------------------------------------------------- /benchmark/performance-detailed-old.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/performance-detailed-old.dta -------------------------------------------------------------------------------- /benchmark/performance-detailed.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/performance-detailed.dta -------------------------------------------------------------------------------- /benchmark/performance-old.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/performance-old.dta -------------------------------------------------------------------------------- /benchmark/performance-untitled.eps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/performance-untitled.eps -------------------------------------------------------------------------------- /benchmark/performance-untitled.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/performance-untitled.pdf -------------------------------------------------------------------------------- /benchmark/performance-untitled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/performance-untitled.png -------------------------------------------------------------------------------- /benchmark/performance.dta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/performance.dta -------------------------------------------------------------------------------- /benchmark/performance.eps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/performance.eps -------------------------------------------------------------------------------- /benchmark/performance.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/performance.pdf -------------------------------------------------------------------------------- /benchmark/performance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/performance.png -------------------------------------------------------------------------------- /benchmark/performance.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/performance.tsv -------------------------------------------------------------------------------- /benchmark/plot-performance.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/plot-performance.do -------------------------------------------------------------------------------- /benchmark/populate-candidates.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/benchmark/populate-candidates.do -------------------------------------------------------------------------------- /internal/aliased-examples.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/internal/aliased-examples.do -------------------------------------------------------------------------------- /internal/build_test_list.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/internal/build_test_list.do -------------------------------------------------------------------------------- /internal/examples.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/internal/examples.do -------------------------------------------------------------------------------- /internal/installed-examples.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/internal/installed-examples.do -------------------------------------------------------------------------------- /internal/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/internal/requirements.txt -------------------------------------------------------------------------------- /internal/scrap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/internal/scrap.py -------------------------------------------------------------------------------- /internal/test-all.do: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/require.ado: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/src/require.ado -------------------------------------------------------------------------------- /src/require.pkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/src/require.pkg -------------------------------------------------------------------------------- /src/require.sthlp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/src/require.sthlp -------------------------------------------------------------------------------- /src/stata.toc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/src/stata.toc -------------------------------------------------------------------------------- /ssc-prototype/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/ssc-prototype/README.md -------------------------------------------------------------------------------- /ssc-prototype/alt_ssc.ado: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/ssc-prototype/alt_ssc.ado -------------------------------------------------------------------------------- /ssc-prototype/demo.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/ssc-prototype/demo.do -------------------------------------------------------------------------------- /ssc-prototype/download-ssc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/ssc-prototype/download-ssc.py -------------------------------------------------------------------------------- /test/assert_error.ado: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/assert_error.ado -------------------------------------------------------------------------------- /test/fake-ado-folder/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fake-repo1/fake2.ado: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/fake-repo1/fake2.ado -------------------------------------------------------------------------------- /test/fake-repo1/fake2.pkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/fake-repo1/fake2.pkg -------------------------------------------------------------------------------- /test/fake-repo1/stata.toc: -------------------------------------------------------------------------------- 1 | v 3 2 | d Lorem Ipsum 3 | p fake2 LOREM IPSUM 4 | -------------------------------------------------------------------------------- /test/fake-repo2/fake2.ado: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/fake-repo2/fake2.ado -------------------------------------------------------------------------------- /test/fake-repo2/fake2.pkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/fake-repo2/fake2.pkg -------------------------------------------------------------------------------- /test/fake-repo2/stata.toc: -------------------------------------------------------------------------------- 1 | v 3 2 | d Lorem Ipsum 3 | p fake2 LOREM IPSUM 4 | -------------------------------------------------------------------------------- /test/old/test-extra.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/old/test-extra.do -------------------------------------------------------------------------------- /test/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/requirements.txt -------------------------------------------------------------------------------- /test/setup.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/setup.do -------------------------------------------------------------------------------- /test/super.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/super.do -------------------------------------------------------------------------------- /test/test-adopaths.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/test-adopaths.do -------------------------------------------------------------------------------- /test/test-debug.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/test-debug.do -------------------------------------------------------------------------------- /test/test-groundtruth.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/test-groundtruth.do -------------------------------------------------------------------------------- /test/test-install.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/test-install.do -------------------------------------------------------------------------------- /test/test-list.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/test-list.do -------------------------------------------------------------------------------- /test/test-packagesearch.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/test-packagesearch.do -------------------------------------------------------------------------------- /test/test-requirements-installed.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/test-requirements-installed.txt -------------------------------------------------------------------------------- /test/test-requirements-not-installed.txt: -------------------------------------------------------------------------------- 1 | not_a_package -------------------------------------------------------------------------------- /test/test-requirements-not-installed1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/test-requirements-not-installed1.txt -------------------------------------------------------------------------------- /test/test-requirements-not-installed2.txt: -------------------------------------------------------------------------------- 1 | mdesc -------------------------------------------------------------------------------- /test/test-requirements.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/test-requirements.do -------------------------------------------------------------------------------- /test/test-simple.do: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sergiocorreia/stata-require/HEAD/test/test-simple.do --------------------------------------------------------------------------------