← Back to all sparks
F

formr

INFRA · APIS
Velocity0.0

Companion R Package for the 'formr' Survey Framework

formr's R client reached CRAN and moved its recommended path to the v1 REST API.

survey-researchrest-apicran-releaseopencpur-packages
Current state
formr is the R-side client for formr.org, the open study framework used to run longitudinal and experience-sampling questionnaires. In May it reached CRAN for the first time, released in step with formr.org server v1.0.0, and the formr_api_* family built on the server's RESTful surface became the supported entry point. The three releases since have been repair work on the paths that move rendered output and API results.
Where it's heading
The direction is consolidation around the v1 API while the legacy Classic path is left running but demoted in the vignette. The complication is that CRAN's requirements and the OpenCPU server's requirements pull against each other: CRAN review pushed rendering into tempdir() with random filenames, which broke rforms.org because the server fetches a fixed knit.html, and 1.1.2 had to put it back. The 1.2.0 note describes the same write-directory problem being solved in an OpenCPU-aware way rather than reverted, alongside making dependencies installable under WASM.
Prediction
Two of the last three releases were regressions in the render path, so the OpenCPU-aware write directory in 1.2.0 is the change most likely to need follow-up. The Classic formr_results() path remains in the package with no removal date announced, and nothing in these entries indicates when that ends.

Recent moves

  1. 1mo ago

    OpenCPU-aware render directory and WASM-installable dependencies

    Folds the render-path problem that produced the 1.1.2 hotfix into a proper fix — the write directory is now chosen with OpenCPU in mind rather than pinned or randomized — and makes the dependency set installable under WASM. The entry is a pull-request pointer, so how far the WASM work goes is not stated.

    View source ↗
  2. 2mo ago

    Hotfix: rendered output returns to knit.html

    A same-week reversal of a CRAN-driven change. Routing formr_render() through tempdir() with a random filename satisfied review but broke rforms.org, which serves the page via getFiles("knit.html"); 1.1.2 restores the fixed name while keeping the calculate fix from 1.1.1. Anyone on 1.1.1 is told to upgrade or pin back.

    View source ↗
  3. 2mo ago

    calculate items no longer coerced to NA by as.numeric()

    A silent data-corruption fix: calculate items can hold text that merely starts with a number, and force-coercing them turned whole columns to NA. They are now always returned as strings, with number and range items coerced only when lossless. Results pulled with earlier versions may be wrong rather than merely incomplete.

    View source ↗
  4. 2mo ago

    v1.0.0 — first CRAN release

    ⚡ SPARK

    The release that put the package on CRAN and reset which API users should build against. Everything after it in this feed is repair work on paths this release established, which is the usual shape of a first stable release meeting real deployments.

    View source ↗