From 7338e1ed398bc83882f92acadd0498e8d8f159f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20Bj=C3=A4rkefur?= Date: Thu, 22 Feb 2024 15:02:31 -0500 Subject: [PATCH] fix old links --- README.md | 2 +- src/ado/reproot.ado | 2 +- src/tests/reproot/reproot.do | 16 ++++++++-------- src/tests/reproot_parse/reproot_parse.do | 2 +- src/tests/reproot_search/reproot_search.do | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 8ef5be8..c654b7a 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Currently, this toolkit has the following commands: | --- | --- | | [repado](https://worldbank.github.io/repkit/reference/repado.html) | Command used to manage project ado command dependencies. This command provides a way to make sure that all team members as well as future reproducers of the projects code use the exact same version of all command dependencies. | | [repkit](https://worldbank.github.io/repkit/reference/repkit.html) | Command named the same as the package. Most important purpose is that this command makes the code `which repkit` work. | -| [reproot](https://dime-worldbank.github.io/repkit/reference/reproot.html) | This command allows teams to dynamically set root-paths with no manual user-specific set-up, in both single-rooted and multi-rooted projects. | +| [reproot](https://worldbank.github.io/repkit/reference/reproot.html) | This command allows teams to dynamically set root-paths with no manual user-specific set-up, in both single-rooted and multi-rooted projects. | | [reprun](https://worldbank.github.io/repkit/reference/reprun.html) | This command is used to automate reproducibility checks by running a do-file or a set of do-files and compare all state values (RNG-value, datasignature etc.) between the two runs. This command is currently only release as a beta-version. | # Installation diff --git a/src/ado/reproot.ado b/src/ado/reproot.ado index ba89d89..ad68590 100644 --- a/src/ado/reproot.ado +++ b/src/ado/reproot.ado @@ -94,7 +94,7 @@ qui { * Test if this location has a root file cap confirm file "`env_file'" if (_rc) { - noi di as text `"{phang}No file {inp:reproot-env.yaml} found in home directory {it:`homedir'}. This file is required to set up once per computer to use {cmd:reproot}. See instructions on how to set up this file {browse "https://dime-worldbank.github.io/repkit/articles/reproot-files.html":here}.{p_end}"' _n + noi di as text `"{phang}No file {inp:reproot-env.yaml} found in home directory {it:`homedir'}. This file is required to set up once per computer to use {cmd:reproot}. See instructions on how to set up this file {browse "https://worldbank.github.io/repkit/articles/reproot-files.html":here}.{p_end}"' _n error 601 exit } diff --git a/src/tests/reproot/reproot.do b/src/tests/reproot/reproot.do index dd18bed..32fe913 100644 --- a/src/tests/reproot/reproot.do +++ b/src/tests/reproot/reproot.do @@ -1,7 +1,7 @@ cap which repkit if _rc == 111 { - di as error `"{pstd}This test file use features from the package {browse "https://dime-worldbank.github.io/repkit/":repkit}. Click {stata ssc install repkit} to install it and run this file again.{p_end}"' + di as error `"{pstd}This test file use features from the package {browse "https://worldbank.github.io/repkit/":repkit}. Click {stata ssc install repkit} to install it and run this file again.{p_end}"' } ************************************* @@ -35,7 +35,7 @@ cap which adodown if _rc == 111 ssc install adodown */ - + * Install the latest version of repkit to the dev environment net uninstall repkit net install repkit, from("${src}") replace @@ -43,23 +43,23 @@ * Test 1 - this should all work without error local prj "reproot-test-1" local pref "test1_" - + * Reset globals global `pref'clone "" global `pref'data "" - + * Run command reproot, project("`prj'") roots("clone") prefix("`pref'") reproot, project("`prj'") roots("clone data") prefix("`pref'") reproot, project("`prj'") roots("clone data") prefix("`pref'") - + * Test 2 - this project has two clone roots local prj "reproot-test-2" - local pref "test2_" - + local pref "test2_" + * Reset globals global `pref'clone "" - + * Run command - expected error as two roots named clone exist cap reproot, project("`prj'") roots("clone") prefix("`pref'") di _rc diff --git a/src/tests/reproot_parse/reproot_parse.do b/src/tests/reproot_parse/reproot_parse.do index cc63b94..a5787de 100644 --- a/src/tests/reproot_parse/reproot_parse.do +++ b/src/tests/reproot_parse/reproot_parse.do @@ -1,7 +1,7 @@ cap which repkit if _rc == 111 { - di as error `"{pstd}This test file use features from the package {browse "https://dime-worldbank.github.io/repkit/":repkit}. Click {stata ssc install repkit} to install it and run this file again.{p_end}"' + di as error `"{pstd}This test file use features from the package {browse "https://worldbank.github.io/repkit/":repkit}. Click {stata ssc install repkit} to install it and run this file again.{p_end}"' } ************************************* diff --git a/src/tests/reproot_search/reproot_search.do b/src/tests/reproot_search/reproot_search.do index 11fdc39..3bf2378 100644 --- a/src/tests/reproot_search/reproot_search.do +++ b/src/tests/reproot_search/reproot_search.do @@ -1,7 +1,7 @@ cap which repkit if _rc == 111 { - di as error `"{pstd}This test file use features from the package {browse "https://dime-worldbank.github.io/repkit/":repkit}. Click {stata ssc install repkit} to install it and run this file again.{p_end}"' + di as error `"{pstd}This test file use features from the package {browse "https://worldbank.github.io/repkit/":repkit}. Click {stata ssc install repkit} to install it and run this file again.{p_end}"' } *************************************