timflutre / PlantBreedGame

A serious game to teach plant selective breeding.
https://sourcesup.renater.fr/plantbreedgame/
GNU Affero General Public License v3.0
8 stars 2 forks source link

document each function following roxygen rules #13

Open timflutre opened 6 years ago

timflutre commented 6 years ago

Documenting functions should be compulsory, and the best place to do it is right above the function itself. This can be quickly and easily done with the roxygen2 syntax, as explained here by H. Wickham.

In RStudio, put the cursor at the beginning of the function, then click on Code, then Insert Roxygen Skeleton. Here is a screenshot.