respR v2.0 contains several, unavoidable code breaking
changes that means code written for use with v1.x may produce different
outputs or fail to run.
This page is intended to be a resource for those who have submitted v1.x code as part of a publication, or those who may want to reproduce v.1.x analyses in the future.
See here for the major code breaking changes in v2.0 and how earlier code may be amended to run in the new version.
If you are in the process of submitting code as part of a publication
and don’t want to have to revise it to work with
or if it is too late to do so, please include a link to this page so
others will find it easier to run the code in the future. For
publications already published this page will remain on the website as a
resource for anyone wanting to run the code or reproduce analyses.
If you need to install the final v1 release of
run older code, the easiest way is to use this command:
This will install v1.1.1 of the package and its dependencies (see below) as normal.
An alternative is to download the package source files and compile
the package locally. These can be found here
on Github, or here on
Zenodo. These contain all the files needed to compile
v1.1.1 as a local package via an RStudio project or other R
As a final option, the functions can be found in the
folder within that archive, and these scripts can be run to create the
functions in the local environment. This may require some editing of
code to refer to these local functions.
v1.1.1 contains a function called
This simply opens a help file which contains further installation
instructions. This includes a list of dependencies. These will have been
installed if the
devtools::install_github command above was
used, but they will be the most recent versions. We cannot guarantee
these will not eventually make code changes that break v1.1.1
Below is a list of the latest versions tested and known to work with v1.1.1. If there are problems running v1.1.1 code that can be linked to a newer version of a particular package, it can be uninstalled and the older known working version installed by adapting this command:
devtools::install_version("lubridate", version = "1.8.0", repos = "http://cran.us.r-project.org")`
You can also install older versions from downloaded package zip archives. Visit the CRAN Archive to view and download the archived versions of CRAN hosted packages.
These are the latest versions tested and confirmed to work in