Skip to content

refundBayes

Bayesian Regression with Functional Data

v0.5 · Apr 2, 2026 · GPL-2

Description

Bayesian regression with functional data, including regression with scalar, survival, or functional outcomes. The package allows regression with scalar and functional predictors. Methods are described in Jiang et al. (2025) "Tutorial on Bayesian Functional Regression Using Stan" <doi:10.1002/sim.70265>.

Downloads

15

Last 30 days

23709th

15

Last 90 days

15

Last year

CRAN Check Status

3 ERROR
5 OK
Show all 8 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-release-linux-x86_64 ERROR
r-release-macos-arm64 OK
Check details (3 non-OK)
ERROR r-devel-linux-x86_64-debian-clang

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘sofr_bayes_vignette.Rmd’ using rmarkdown
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 'sofr_bayes_vignette.Rmd' failed with diagnostics:
pandoc document conversion failed with error 1
--- failed re-building ‘sofr_bayes_vignette.Rmd’

SUMMARY: processing the following file failed:
  ‘sofr_bayes_vignette.Rmd’

Error: Vignette re-building failed.
Execution halted
ERROR r-devel-linux-x86_64-debian-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘sofr_bayes_vignette.Rmd’ using rmarkdown
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 'sofr_bayes_vignette.Rmd' failed with diagnostics:
pandoc document conversion failed with error 1
--- failed re-building ‘sofr_bayes_vignette.Rmd’

SUMMARY: processing the following file failed:
  ‘sofr_bayes_vignette.Rmd’

Error: Vignette re-building failed.
Execution halted
ERROR r-release-linux-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘sofr_bayes_vignette.Rmd’ using rmarkdown
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 'sofr_bayes_vignette.Rmd' failed with diagnostics:
pandoc document conversion failed with error 1
--- failed re-building ‘sofr_bayes_vignette.Rmd’

SUMMARY: processing the following file failed:
  ‘sofr_bayes_vignette.Rmd’

Error: Vignette re-building failed.
Execution halted

Check History

ERROR 4 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 3, 2026
ERROR r-devel-linux-x86_64-debian-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘sofr_bayes_vignette.Rmd’ using rmarkdown
pandoc: /usr/share/javascript/mathjax/MathJax.js: withBinaryFile: does not exist (No such file or directory)
HasCallStack backtrace:
  collectBacktrace
...[truncated]...
failed with diagnostics:
pandoc document conversion failed with error 1
--- failed re-building ‘sofr_bayes_vignette.Rmd’

SUMMARY: processing the following file failed:
  ‘sofr_bayes_vignette.Rmd’

Error: Vignette re-building failed.
Execution halted

Dependency Network

Dependencies Reverse dependencies brms dplyr ggplot2 mgcv refund rstan (>= 2.29.0) splines2 refundBayes

Version History

new 0.5 Apr 2, 2026