
Revista Innovaci´on y Software
Vol. 7, No. 2, Mes Septiembre - Febrero, 2026
ISSN: 2708-0935
P´ag. 50-58
https://revistas.ulasalle.edu.pe/innosoft
Introduction
R (https://www.r-project.org/) is a powerful and flexible programming language and interactive environ-
ment that is now widely used for statistical computing, data analysis and visualization, and with a growing
role in production environments. R has gained wide acceptance and is now used in many areas of scientific
computation [1]. As open source software in which users are free to use, change, and distribute code [2], one
of R’s key strengths is its extensive ecosystem of packages. Base R, or the standard installation without any
additional code libraries, can already let users load, transform, analyze, and plot data. R also provides a pro-
gramming syntax for building and documenting specialized tools to address tasks across multiple disciplines.
Packages are the fundamental unit for sharing R code and extend the base functionality of the R language. A
package bundles together code, data, documentation, and tests, and is easy to share with others [3]. Individuals
and groups can create and add their own contributions to extend the language [4] and there are now tens of
thousands of additional packages available in the R ecosystem.
Reflecting its widespread use across disciplines, R boasts a rich and active community of users and developers
that contribute to package development, ensuring that there are packages for virtually any task in any scientific
discipline or in industry. This collaborative environment is conducive to innovation and diversity, with new
features continuously added and improved upon [5]. As a downside, the sheer number and variety of existing
packages can be overwhelming. In this context, the purpose of individual packages or their role in a given
project or workflow can become unclear. When opening a script, the role of a loaded package may not be
evident, requiring manual investigation and interactively stepping through the code to understand its purpose.
This might mean interrupting the workflow to check the documentation or search the web to understand
more about the loaded packages. This context switching [6] can slow down code review, collaboration, and
ultimately reduce productivity, especially when there are many dependencies or when code is shared between
users with different backgrounds, skill levels, and personal preferences. For example, users can choose from or
mix and match functions, methods and objects from different package ’families’for data manipulation (such as
the dplyr/data.table dialetcs [7]), spatial data work, or statistical modeling frameworks.
In addition, tracking the exact versions and sources of loaded packages is important for ensuring the repro-
ducibility of analyses and results. In research, the replication of results and findings is the standard by which
scientific claims are evaluated [8]. For a robust, reproducible analysis, script-based workflows (i.e. documenting
the sequence of tasks from start to finish) are crucial. These scripts should contain all the steps that link raw
data to clean data to final analysis outputs [9]. Furthermore, when code and supporting data for a particular
analysis are provided, information on the computational environment used to perform the analyses should
also be shared to ensure accurate replication. In the context of R and R packages, and especially those in
fast-moving fields, using the stable vs. development version of a package might mean the difference between a
Facultad de Ingenier´ıa
Universidad La Salle, Arequipa, Per´u
facin.innosoft@ulasalle.edu.pe
51