Changelog
Source:NEWS.md
    rvec 0.0.8
Changes to interface
- Added function prob(), a version ofdraws_mean()that works only with logical rvecs. (#27)
- 
rvec()andrvec_dbl()now accept sparse matrices (inheriting from “Matrix”), in addition to dense matrices. (#25)
- Function rbinom_rvec(),rgeom_rvec(),rhyper_rvec(),rmultinom_rvec(),rnbinom_rvec(), andrpois_rvec()now always return doubles, even when the counts are small. The standard R approach of giving integers when counts are small and doubles when counts are large was generating Valgrind errors in dependent packages.
rvec 0.0.7
CRAN release: 2024-09-15
Changes to interface
- Removed is.numericmethods for rvecs. These had been creating problems with functions from non-rvec packages, sinceis.numericgenerally implies that an object is a base R style numeric vector.
- Removed space from around =when printingrvec_lgl, so that, for instance,p = 0.5becomesp=0.5.
- 
rvec(),rvec_chr(),rvec_dbl(),rvec_int(), andrvec_lgl()now accept rvec arguments.
- 
draws_ci()now acceptswidtharguments with length greater than
- Improved error messages from distribution functions.
New functions
- Added function new_rvec(), which creates rvecs with specified values for type, length, andn_draw, consisting entirely of NAs.
- Added function extract_draw(), which extracts a single draw from an rvec.
rvec 0.0.6
CRAN release: 2023-11-08
Documentation
- Fixed typo in DESCRIPTION
- Added ‘value’ section to documentation for “missing”
- Added examples to documentation for “missing”
Interface
- Changed anyNA()so it returns an rvec, rather than a logical scalar.
rvec 0.0.2
Bug fix
- Added drop = FALSEargument to calls tomatrixStats::rowQuantiles()
rvec 0.0.1
Minor feature added
- Added method for is.numeric(). (Can’t add methods foris.character(),is.double(),is.integer(),is.logical(), since these are non-generic primitives.