Skip to content

Commit

Permalink
fix old links
Browse files Browse the repository at this point in the history
  • Loading branch information
kbjarkefur committed Feb 22, 2024
1 parent b6508e0 commit 7338e1e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/ado/reproot.ado
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
16 changes: 8 additions & 8 deletions src/tests/reproot/reproot.do
Original file line number Diff line number Diff line change
@@ -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}"'
}

*************************************
Expand Down Expand Up @@ -35,31 +35,31 @@
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

* 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
Expand Down
2 changes: 1 addition & 1 deletion src/tests/reproot_parse/reproot_parse.do
Original file line number Diff line number Diff line change
@@ -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}"'
}

*************************************
Expand Down
2 changes: 1 addition & 1 deletion src/tests/reproot_search/reproot_search.do
Original file line number Diff line number Diff line change
@@ -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}"'
}

*************************************
Expand Down

0 comments on commit 7338e1e

Please sign in to comment.