Contact
Data Management Support (DMS)
dms@slu.se | www.slu.se/dms
On this page, you can find information on how to publish research software openly. You can read about what to keep in mind when writing code as well as how to prepare your software for publication. You can also find guidance on where to publish, how to select a license, and how to make your software comprehensible, reusable and citeable.
Research software can be code used for generating, cleaning, analysing or visualising data. It can also be implementations of models, workflows, or software packages. Text files written in programming languages are called source code. Source code files in programming languages such as R and Python are sometimes referred to as scripts.
Even if your code was not originally written with the intention of being read or used by others, publishing it openly can still be valuable. Read more in this Nature article by Nick Barnes:
There are many advantages to publishing research software developed within a research or environmental monitoring and assessment (EMA) project openly:
When you publish research software, it needs to be understandable and reusable by others. Use good coding practices from the start.
Select a repository, which can assign persistent identifiers, such as DOIs, to your software when you publish, to ensure that your code can be cited and linked to in a sustainable way. Ideally, publish related code, data, and documentation together in the same repository. Should these be published separately, ensure they reference each other using persistent links.
Make it easier for others to understand how the software is used and what the code does, by documenting it thoroughly.
To ensure that the software can be used over time, it is important to describe the environment within which the program was created. Specify the version of the operating system, programming language, and any libraries, modules, or packages used by the program. This can be done in different ways:
Open source means that software is free to use, modify, and share. If possible, avoid making your published code dependent on non-open source software. Prior to publishing, it is important to ensure that you hold the rights to the software in its entirety and thereby have the right to distribute it.
Ensure that the software runs successfully before publishing your code. It is recommended to test whether the program works as expected on a computer other than your own. If possible, ask a colleague to review and test run your code on their computer.
Data Management Support (DMS)
dms@slu.se | www.slu.se/dms