I want to share a new feature for version controlling user-written packages. This reduces the practice of managing the ado-paths into a single line of code. Read more in this blog post.
The workflow this new feature implements is not new. However, we has not seen a big uptake in this workflow in the research community despite it being promoted by us in DIME Analytics in addition to other research best practices promoters in the Stata community. We believe this is due to managing the ado-path is too technically daunting to the regular researcher. Therefore, the motivation of this new feature was to hide that complexity in a command option that to the researcher is non-daunting single line of code.
This workflow makes the user set the PLUS folder to a folder meant to be created in the same location as the rest of the project code. We refer to this folder as the "project ado-folder". The project ado-folder should then be included when sharing the project's code with team members etc. When other users run this project's code, they will then also use the exact versions of the commands that are installed in the project ado-folder.
In "strict mode", which is intended to be the standard use case, this workflow also deletes all other adopaths apart from BASE. This guarantees that all user-written commands needed to reproduce the results of the project are indeed included in the project specific ado-folder. Read more about this in the blog post linked above, and the technical resources linked to in that post.
Any feedback from this community on this new feature is much appreciated. You are also more than welcome to promote this new feature in your channels.
The workflow this new feature implements is not new. However, we has not seen a big uptake in this workflow in the research community despite it being promoted by us in DIME Analytics in addition to other research best practices promoters in the Stata community. We believe this is due to managing the ado-path is too technically daunting to the regular researcher. Therefore, the motivation of this new feature was to hide that complexity in a command option that to the researcher is non-daunting single line of code.
This workflow makes the user set the PLUS folder to a folder meant to be created in the same location as the rest of the project code. We refer to this folder as the "project ado-folder". The project ado-folder should then be included when sharing the project's code with team members etc. When other users run this project's code, they will then also use the exact versions of the commands that are installed in the project ado-folder.
In "strict mode", which is intended to be the standard use case, this workflow also deletes all other adopaths apart from BASE. This guarantees that all user-written commands needed to reproduce the results of the project are indeed included in the project specific ado-folder. Read more about this in the blog post linked above, and the technical resources linked to in that post.
Any feedback from this community on this new feature is much appreciated. You are also more than welcome to promote this new feature in your channels.
Comment