FAIR theories are designed to be living documents - open to updates, refinements, and community contributions. In this vignette, we describe how to update a FAIR theory by creating a local copy, editing it, and sharing the updated theory either as a new theory with metadata linking to its predecessor, or as a contribution to the original project.
We describe two cases: one where the theory is archived only on Zenodo, and one where the theory is also archived on GitHub.
If the theory only exists on Zenodo, then we can download a local
copy by running the code below, which is demonstrated here with Morris’
Tripartite Model (see this
vignette). Change the path
to a directory on your hard
drive where you want to store the theory.
Navigate to the GitHub repository of the FAIR theory you want to update. Click the Fork button in the upper right corner to create your own copy of the repository under your GitHub account (for more information, see the GitHub documentation).
This gives you a space to experiment and propose changes without affecting the original repository.
Once you’ve forked the repository, clone it to your local machine by running the following code in R (see here for more information):
You can now:
tripartite_model.txt
, or other files in which the theory is
implemented, see the README if you’re not sure which files these
are)Track your changes using Git, and push these changes to your GitHub repository by running:
If you’d like the original authors to consider incorporating your updates into the main project:
The maintainers of the original theory can then review your suggestions and decide whether to merge them.
Sometimes theories branch off and go their separate way; if this is the case for your theory, you should follow the steps in this vignette) to archive your FAIR theory on Zenodo.
Importantly, if your FAIR theory originated from a previous FAIR theory, you should document its predecessor in the metadata.
To do so, edit
the theory’s metadata. Under the Related works
field,
add the DOI of the theory’s predecessor. In the Relation
field, select Is derived from
.