Skip to content

rcicr 1.2.3

Choose a tag to compare

@rdotsch rdotsch released this 08 Aug 12:13
· 64 commits to main since this release
48dd796

Documentation only. Nothing this package computes has changed — no function,
argument, return value or number differs from 1.2.2, and no analysis script needs
revisiting.

The release exists because the package-level help page, ?rcicr, had gone stale enough
to contradict the release before it. It was a hand-maintained .Rd file that roxygen
never touched, so the sweeps behind 1.2.2 — which all worked from R/ — went straight
past it. Every code snippet on it was wrong:

  • Two of the three example calls, generateStimuli2IFC(base_face_files, n_trials = 770)
    and generateCI2IFC(stimuli, responses, baseimage, rdata), would now error: they
    omit the write paths that 1.2.2 made required.
  • The third, autoscale(cis, saveasjpegs = TRUE), named an argument that has never
    existed under that spelling. It is save_as_pngs.
  • The page twice promised output "saved as jpegs to a folder called stimuli in your
    current working directory" — the writing-by-default behaviour that 1.2.2 removed, and
    in a format the package does not write.
  • Its \examples section was a single commented-out line, #simple examples will be added soon., left over from 2016.
  • It carried a hand-typed Version: 0.4.0 and Date: 2017-07-25, five releases and
    nine years out of date.

The page is now generated by roxygen from R/rcicr-package.R, so its title,
description, author and URLs come from DESCRIPTION and cannot drift from it again. The
version and date table is gone rather than corrected — the way to keep a fact current is
to stop writing it down twice. What remains is a short pointer to
vignette("reverse-correlation-walkthrough") and to the three functions a new user
starts with; the walkthrough itself lives in the vignette and README.md, which are
tested on every build.

The page also now lists all three key references — Dotsch & Todorov (2012), Brinkman,
Todorov & Dotsch (2017), and Dotsch, Wigboldus, Langner & Van Knippenberg (2008) — each
with a DOI. The 2008 paper had been on the old page and was the only one not carried
anywhere else.

?rcicr and package?rcicr both still work.