conText
'a la Carte' on Text (ConText) Embedding Regression
Description
A fast, flexible and transparent framework to estimate context-specific word and short document embeddings using the 'a la carte' embeddings approach developed by Khodak et al. (2018) <doi:10.48550/arXiv.1805.05388> and evaluate hypotheses about covariate effects on embeddings using the regression framework developed by Rodriguez et al. (2021)<doi:10.1017/S0003055422001228>. New version of the package applies a new estimator to measure the distance between word embeddings as described in Green et al. (2025) <doi:10.1017/pan.2024.22>.
Downloads
352
Last 30 days
10895th
990
Last 90 days
4.3K
Last year
Trend: 0% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | ERROR |
| r-devel-linux-x86_64-debian-gcc | ERROR |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | ERROR |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (3 non-OK)
re-building of vignette outputs
Error(s) in re-building vignettes: ... --- re-building ‘quickstart.Rmd’ using rmarkdown INFO [23:57:13.339] epoch 1, loss 0.2263 INFO [23:57:15.756] epoch 2, loss 0.0759 INFO [23:57:18.096] epoch 3, loss 0.0492 INFO [23:57:20.842] epoch 4, loss 0.0372 INFO [23:57:23.108] epoch 5, loss 0.0302 INFO [23:57:25.494] epoch 6, loss 0.0255 INFO [23:57:28.133] epoch 7, loss 0.0222 INFO [23:57:30.224] epoch 8, loss 0.0198 INFO [23:57:32.188] epoch 9, loss 0.0178 INFO [23:57:34.615] epoch 10, loss 0.0163 pandoc: /usr/share/javascript/mathjax/MathJax.js: withBinaryFile: does not exist (No such file or directory) HasCallStack backtrace: collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in ghc-internal:GHC.Internal.Exception toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.IO throwIO, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:315:19 in ghc-internal:GHC.Internal.IO.Exception ioException, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:319:20 in ghc-internal:GHC.Internal.IO.Exception Error: processing vignette 'quickstart.Rmd' failed with diagnostics: pandoc document conversion failed with error 1 --- failed re-building ‘quickstart.Rmd’ SUMMARY: processing the following file failed: ‘quickstart.Rmd’ Error: Vignette re-building failed. Execution halted
re-building of vignette outputs
Error(s) in re-building vignettes: ... --- re-building ‘quickstart.Rmd’ using rmarkdown INFO [19:45:52.773] epoch 1, loss 0.2262 INFO [19:45:55.616] epoch 2, loss 0.0759 INFO [19:45:57.847] epoch 3, loss 0.0492 INFO [19:45:59.963] epoch 4, loss 0.0372 INFO [19:46:02.304] epoch 5, loss 0.0302 INFO [19:46:04.896] epoch 6, loss 0.0255 INFO [19:46:07.242] epoch 7, loss 0.0222 INFO [19:46:09.356] epoch 8, loss 0.0197 INFO [19:46:11.308] epoch 9, loss 0.0178 INFO [19:46:13.283] epoch 10, loss 0.0163 pandoc: /usr/share/javascript/mathjax/MathJax.js: withBinaryFile: does not exist (No such file or directory) HasCallStack backtrace: collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in ghc-internal:GHC.Internal.Exception toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.IO throwIO, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:315:19 in ghc-internal:GHC.Internal.IO.Exception ioException, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:319:20 in ghc-internal:GHC.Internal.IO.Exception Error: processing vignette 'quickstart.Rmd' failed with diagnostics: pandoc document conversion failed with error 1 --- failed re-building ‘quickstart.Rmd’ SUMMARY: processing the following file failed: ‘quickstart.Rmd’ Error: Vignette re-building failed. Execution halted
re-building of vignette outputs
Error(s) in re-building vignettes: ... --- re-building ‘quickstart.Rmd’ using rmarkdown INFO [11:27:20.314] epoch 1, loss 0.2262 INFO [11:27:22.973] epoch 2, loss 0.0758 INFO [11:27:24.974] epoch 3, loss 0.0491 INFO [11:27:27.121] epoch 4, loss 0.0372 INFO [11:27:29.012] epoch 5, loss 0.0301 INFO [11:27:31.668] epoch 6, loss 0.0255 INFO [11:27:33.758] epoch 7, loss 0.0222 INFO [11:27:36.106] epoch 8, loss 0.0197 INFO [11:27:38.295] epoch 9, loss 0.0178 INFO [11:27:40.278] epoch 10, loss 0.0163 pandoc: /usr/share/javascript/mathjax/MathJax.js: withBinaryFile: does not exist (No such file or directory) HasCallStack backtrace: collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in ghc-internal:GHC.Internal.Exception toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/IO.hs:260:11 in ghc-internal:GHC.Internal.IO throwIO, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:315:19 in ghc-internal:GHC.Internal.IO.Exception ioException, called at libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs:319:20 in ghc-internal:GHC.Internal.IO.Exception Error: processing vignette 'quickstart.Rmd' failed with diagnostics: pandoc document conversion failed with error 1 --- failed re-building ‘quickstart.Rmd’ SUMMARY: processing the following file failed: ‘quickstart.Rmd’ Error: Vignette re-building failed. Execution halted
Check History
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 3, 2026
re-building of vignette outputs
Error(s) in re-building vignettes: ... --- re-building ‘quickstart.Rmd’ using rmarkdown INFO [15:43:09.621] epoch 1, loss 0.2263 INFO [15:43:12.574] epoch 2, loss 0.0759 INFO [15:43:15.651] epoch 3, loss 0.0492 INFO [15:43:18.824] epoch 4, loss ...[truncated]... 'quickstart.Rmd' failed with diagnostics: pandoc document conversion failed with error 1 --- failed re-building ‘quickstart.Rmd’ SUMMARY: processing the following file failed: ‘quickstart.Rmd’ Error: Vignette re-building failed. Execution halted