SummaryPlant physiological ecology is founded on a rich body of physical and chemical theory, but it is challenging to connect theory with data in unambiguous, analytically rigorous, and reproducible ways. Custom scripts written in computer programming languages (coding) enable plant ecophysiologists to model plant processes and fit models to data reproducibly using advanced statistical techniques. Since most ecophysiologists lack formal programming education, we have yet to adopt a unified set of coding principles and standards that could make coding easier to learn, use, and modify.We outline principles and standards for coding in plant ecophysiology to develop: 1) standardized nomenclature, 2) consistency in style, 3) increased modularity/extensibility for easier editing and understanding; 4) code scalability for application to large datasets, 5) documented contingencies for code maintenance; 6) documentation to facilitate user understanding; and 7) extensive tutorials for biologists new to coding to rapidly become proficient with software.We illustrate these principles using a new R package, {photosynthesis}, designed to provide a set of analytical tools for plant ecophysiology.Our goal with these principles is to future-proof coding efforts to ensure new advances and analytical tools can be rapidly incorporated into the field, while ensuring software maintenance across scientific generations.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.