← Back to home
Comparison · DevOps

wk vs xfun

A side-by-side editorial comparison of wk and xfun — release velocity, themes, recent moves, and the top alternatives to consider.

wk vs xfun: at a glance

Featurewkxfun
SectorDevOpsDevOps
Velocity score0.00.0
Sparks · 30d00
Top themesgeospatial, geometry, sf, dependencyutilities, publishing, headless-browser, litedown
Last editorial update1h ago1h ago
WebsiteVisit →Visit →

What is wk?

wk spent one release fixing what empty means, then went quiet.

wk provides the lightweight geometry vectors and streaming handler interface that sit underneath sf and the rest of R's geospatial stack. The 0.7 and 0.8 lines built out the surface — PROJJSON CRS lookup, ring winding, coordinate replacement functions, hex conversion — and 0.9.0 landed breaking changes to how empty and null points are represented. The three releases since are entirely reactive: compile under STRICT_R_HEADERS, fix format strings for R-devel, pass tests against a new sf.

Read the full wk trajectory →

What is xfun?

Yihui's utility grab-bag is quietly growing a web server and a headless browser.

xfun is the shared utility layer under knitr, rmarkdown, bookdown and litedown, and its recent releases cluster in three places: the record() function that captures code output for litedown, a local app-serving stack built on R's internal httpd, and a headless-browser toolkit. Version 0.58 replaced direct httpd routing with a proxy and added serve_dir() and random_port(); 0.55 added browser_print() and 0.60 added browser_dom(), which runs JavaScript on a page and returns the rendered DOM.

Read the full xfun trajectory →

wk vs xfun: editorial side-by-side

W
wk
DEVOPS
0.0

wk spent one release fixing what empty means, then went quiet.

◆ Current state

wk provides the lightweight geometry vectors and streaming handler interface that sit underneath sf and the rest of R's geospatial stack. The 0.7 and 0.8 lines built out the surface — PROJJSON CRS lookup, ring winding, coordinate replacement functions, hex conversion — and 0.9.0 landed breaking changes to how empty and null points are represented. The three releases since are entirely reactive: compile under STRICT_R_HEADERS, fix format strings for R-devel, pass tests against a new sf.

◆ Where it's heading

This looks like a foundation package that has reached the shape it wanted. Feature work stopped after 0.9.2 and what remains is upkeep triggered by R-devel, compiler flags and sf releases — maintenance defined by other people's changes, which for a dependency this low in the stack is a reasonable end state rather than neglect. The unresolved question is whether anything still drives it forward now that the empty-geometry semantics are settled.

◆ Prediction

The entries do not support a confident prediction of new features; on this evidence the next release is most likely another compatibility fix prompted by sf or R-devel.

X
xfun
DEVOPS
0.0

Yihui's utility grab-bag is quietly growing a web server and a headless browser.

◆ Current state

xfun is the shared utility layer under knitr, rmarkdown, bookdown and litedown, and its recent releases cluster in three places: the record() function that captures code output for litedown, a local app-serving stack built on R's internal httpd, and a headless-browser toolkit. Version 0.58 replaced direct httpd routing with a proxy and added serve_dir() and random_port(); 0.55 added browser_print() and 0.60 added browser_dom(), which runs JavaScript on a page and returns the rendered DOM.

◆ Where it's heading

The package is accreting the infrastructure Yihui's publishing tools need rather than staying a pile of small helpers. Serving directories, allocating ports, proxying the help server, driving a headless browser and printing to PDF are all pieces of one pipeline: render R output to HTML, then get it onto a screen or into a static file without a heavyweight dependency. The rest of the release stream is release-automation tooling for the author's own CRAN workflow and a long tail of parser bug fixes in taml_load().

◆ Prediction

Expect the browser functions to consolidate into a documented interface used directly by litedown, and expect cache_rds() to be fully retired in favour of cache_exec() now that it is no longer recommended.

Alternatives to wk and xfun

Other DevOps products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either wk or xfun.

See all wk alternatives → · See all xfun alternatives →

Recent activity from wk and xfun

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 1mo agoxfunbrowser_dom() added; Windows silently truncated self-contained HTML
  2. 1mo agoxfunpost_release() automates post-CRAN chores; nested math fixed
  3. 2mo agoxfunnew_app() moves to a proxy; serve_dir() and random_port() added
  4. 4mo agoxfunLiteral JavaScript in tojson(); record() bottleneck fixed
  5. 6mo agoxfunDeprecated attr() and qs support removed; parallel rev_check
  6. 8mo agoxfunbrowser_print() opens the headless-browser path
  7. 8mo agowkKeep tests passing against sf 1.0-18
  8. 1y agowkCompile cleanly under STRICT_R_HEADERS
  9. 2y agowkCRS methods for bbox; ARM64 Windows build
  10. 2y agowkFix format strings for R-devel
  11. 2y agowkBreaking: EMPTY and null points get separate representations
  12. 2y agowkHex conversion, ring rewinding and in-place coordinate edits

Frequently asked questions

What is the difference between wk and xfun?

They serve adjacent needs but don't currently overlap on shipped themes. wk and xfun are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is wk better than xfun?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. wk and xfun are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other DevOps products to evaluate alongside.

What are the best alternatives to wk?

Top wk alternatives in DevOps are ranked by recent ship velocity. Browse the "wk alternatives" section above for the current picks, or visit /alternatives/wk-r for the full list with editorial commentary on each.

What are the best alternatives to xfun?

Top xfun alternatives in DevOps are ranked by recent ship velocity. Browse the "xfun alternatives" section above for the current picks, or visit /alternatives/xfun for the full list with editorial commentary on each.