Skip to content

bws

Bayesian Weighted Sums

v0.1.0 · Aug 12, 2022 · GPL (>= 2)

Description

An interface to the Bayesian Weighted Sums model implemented in 'RStan'. It estimates the summed effect of multiple, often moderately to highly correlated, continuous predictors. Its applications can be found in analysis of exposure mixtures. The model was proposed by Hamra, Maclehose, Croen, Kauffman, and Newschaffer (2021) <doi:10.3390/ijerph18041373>. This implementation includes an extension to model binary outcome.

Downloads

CRAN

292

Last 30 days

13622nd

823

Last 90 days

3.5K

Last year

Trend: +38.4% (30d vs prior 30d)

r2u CRAN

40

Last 30 days

121

Last 90 days

417

Last year

Trend: -20% (30d vs prior 30d)

CRAN Check Status

2 NOTE
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
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 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.

Check History

NOTE 11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
ERROR 10 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

whether package can be installed

install log ‘’ does not exist
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 56.6Mb
  sub-directories of 1Mb or more:
    libs  56.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 57.4Mb
  sub-directories of 1Mb or more:
    libs  57.0Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
ERROR 8 OK · 5 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/bws.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 56.6Mb
  sub-directories of 1Mb or more:
    libs  56.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 57.4Mb
  sub-directories of 1Mb or more:
    libs  57.0Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘rstantools’
  All declared Imports should be used.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 56.6Mb
  sub-directories of 1Mb or more:
    libs  56.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 57.4Mb
  sub-directories of 1Mb or more:
    libs  57.0Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies Rcpp RcppParallel rstan (>= 2.18.1) rstantools mpower bws

Version History

1 tracked
new 0.1.0 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Aug 12, 2022. Releases before tracking aren’t shown.