| CARVIEW |
Select Language
HTTP/2 200
expires: Thu, 19 Nov 1981 08:52:00 GMT
cache-control: no-store, no-cache, must-revalidate
pragma: no-cache
set-cookie: PHPSESSID=fffbpf3jm4fj92vrbch33ss0fl; path=/
content-type: text/html; charset=UTF-8
date: Mon, 29 Dec 2025 10:11:44 GMT
server: Apache
pkgsrc.se | The NetBSD package collection
archivers
audio
benchmarks
biology
cad
chat
comms
converters
cross
crosspkgtools
databases
devel
doc
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang
mail
math
mbone
meta-pkgs
misc
multimedia
net
news
parallel
pkgtools
print
regress
security
shells
sysutils
textproc
R-haven
time
wip
wm
www
x11
* = Virtual Category
Path to this page:
./textproc/R-haven, Import and export SPSS, Stata and SAS files
[
Branch: CURRENT, Version: 2.5.4, Package name: R-haven-2.5.4, Maintainer: pkgsrc-users
Import foreign statistical formats into R via the embedded 'ReadStat'
C library, <https://github.com/WizardMac/ReadStat>.
Required to run:
[math/R] [devel/R-Rcpp] [math/R-tibble] [time/R-hms] [math/R-forcats] [textproc/R-readr]
Required to build:
[pkgtools/cwrappers]
Navigation:
-
Browse pkgsrc
(this page)
archivers
audio
benchmarks
biology
cad
chat
comms
converters
cross
crosspkgtools
databases
devel
doc
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang
math
mbone
meta-pkgs
misc
multimedia
net
news
parallel
pkgtools
regress
security
shells
sysutils
textproc
R-haventime
wip
wm
www
x11
* = Virtual Category
Path to this page:
./textproc/R-haven, Import and export SPSS, Stata and SAS files
[
CVSweb ] [
Homepage ] [
RSS ] [
Required by ] [
Add to tracker ]
Branch: CURRENT, Version: 2.5.4, Package name: R-haven-2.5.4, Maintainer: pkgsrc-users
Import foreign statistical formats into R via the embedded 'ReadStat'
C library, <https://github.com/WizardMac/ReadStat>.
Required to run:
[math/R] [devel/R-Rcpp] [math/R-tibble] [time/R-hms] [math/R-forcats] [textproc/R-readr]
Required to build:
[pkgtools/cwrappers]
Master sites: (Expand)
- https://cran.r-project.org/src/contrib/
- https://lib.stat.cmu.edu/R/CRAN/src/contrib/
- https://stat.ethz.ch/CRAN/src/contrib/
- https://www.stats.bris.ac.uk/R/src/contrib/
- https://cran.r-project.org/src/contrib/Archive/haven/
- https://lib.stat.cmu.edu/R/CRAN/src/contrib/Archive/haven/
- https://stat.ethz.ch/CRAN/src/contrib/Archive/haven/
- https://www.stats.bris.ac.uk/R/src/contrib/Archive/haven/
Version history: (Expand)
- (2024-06-05) Updated to version: R-haven-2.5.4
- (2023-06-17) Updated to version: R-haven-2.5.2
- (2021-09-05) Updated to version: R-haven-2.4.3
- (2019-07-31) Package added to pkgsrc.se, version R-haven-2.1.1 (created)
CVS history: (Expand)
| 2024-06-05 14:13:51 by Makoto Fujiwara | Files touched by this commit (2) |
Log message: (textproc/R-haven) Updated 2.5.2 to 2.5.4, fix build against R-4.4.0 # haven 2.5.4 * Fix for upcoming R-devel change. # haven 2.5.3 * Fix for upcoming R-devel change. |
| 2023-06-17 15:29:43 by Makoto Fujiwara | Files touched by this commit (2) |
Log message: (textproc/R-haven) Updated 2.4.3 to 2.5.2 # haven 2.5.2 * Updated to ReadStat 1.1.9. * Fix various SAS catalog file reading bugs (#529, #653, #680, #696, #705). * Increase maximum SAS page file size to 16MiB (#697). * Ignore invalid SAV timestamp strings (#683). * Fix compiler warnings (#707). * The experimental `write_sas()` function has been deprecated (#224). The sas7bdat file format is complex and undocumented, and as such writing SAS files is not officially supported by ReadStat. `write_xpt()` should be used instead - it produces files in the SAS transport format, which has limitations but will be reliably read by SAS. * `write_*()` functions gain a new `adjust_tz` argument to allow more control over time zone conversion for date-time variables (#702). Thanks to @jmobrien for the detailed issue and feedback. Stata, SPSS and SAS do not have a concept of time zone. Since haven 2.4.0 date-time values in non-UTC time zones are implicitly converted when writing to ensure the time displayed in Stata/SPSS/SAS will match the time displayed to the user in R (see #555). This is the behaviour when `adjust_tz = TRUE` (the default). Although this is in line with general user expectations it can cause issues when the time zone is important, for e.g. when looking at differences between time points, since the underlying numeric data is changed to preserve the displayed time. Use `adjust_tz = FALSE` to write the time as the corresponding UTC value, which will appear different to the user but preserves the underlying numeric data. * `write_*()` functions previously returned the data frame with minor alterations made to date-time variables. These functions now invisibly return the original input data frame unchanged (@jmobrien, #702). * Fix bug in string variable width calculation that treated `NA` values as width 2. `NA` values are now treated as blanks for width calculations (#699). # haven 2.5.1 * All `labelled()` vectors now have left-aligned column headers when printing in tibbles for better alignment with labels (#676). * `write_*()` now accept functions as well as strings in the `.name_repair` argument in line with the documentation. Previously they only supported string values (#684). * `write_sav()` variable name validation no longer treats all non-ASCII characters as invalid (#689). # haven 2.5.0 ## New author * @gorcha is now a haven author in recognition of his significant and sustained contributions. ## File writing improvements * All `write_` functions can now write custom variable widths by setting the `width` attribute (#650). * When writing files, the minimum width for character variables is now 1. This fixes issues with statistical software reading blank character variables with width 0 (#650). * `write_dta()` now uses strL when strings are too long to be stored in an str# variable (#437). strL is used when strings are longer than 2045 characters by default, which matches Stata's behaviour, but this can be reduced with the `strl_threshold` argument. * `write_xpt()` can now write dataset labels with the `label` argument, which defaults to the `label` attribute of the input data frame, if present (#562). * `write_sav()` now checks for case-insensitive duplicate variable names (@juansebastianl, #641) and verifies that variable names are valid SPSS variables. * The `compress` argument for `write_sav()` now supports all 3 SPSS compression modes specified as a character string - "byte", "none" and \ "zsav" (#614). `TRUE` and `FALSE` can be used for backwards compatibility, and correspond to the "zsav" and "none" options respectively. * `write_sav()` successfully writes user missing values and ranges for `labelled()` integer vectors (#596). * POSIXct and POSIXlt values with no time component (e.g. \ "2010-01-01") were being converted to `NA` when attempting to convert the output timezone to UTC. These now output successfully (#634). * Fix bug in output timezone conversion that was causing variable labels and other variable attributes to disappear (#624). ## Other improvements and fixes * Updated to ReadStat 1.1.8 RC. * Fix bug when writing formats to XPT files (#650). * Fix off by one error in indexing for strL variables (#437). * `labelled()` vectors now throw a warning when combining two vectors with conflicting labels (#667). * `zap_labels()` gains a `user_na` argument to control whether user-defined missing values are converted to `NA` or left as is (#638). * vctrs casting and coercion generics now do less work when working with two identical `labelled()` vectors. This significantly improves performance when working with `labelled()` vectors in grouped data frames (#658). * Errors and warnings now use `cli_abort()` and `cli_warning()` (#661). ## Dependency changes * R 3.4 is now the minimum supported version, in line with [tidyverse \ policy](https://www.tidyverse.org/blog/2019/04/r-version-support/). * cli >= 3.0.0 has been added to Imports to support new error messaging. * lifecycle has been added to Imports, and is now used to manage deprecations. |
| 2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161) |
Log message: textproc: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Unfetchable distfiles (fetched conditionally?): ./textproc/convertlit/distinfo clit18src.zip |
| 2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162) |
Log message: textproc: Remove SHA1 hashes for distfiles |
| 2019-08-08 21:53:58 by Brook Milligan | Files touched by this commit (189) | |
Log message: Update all R packages to canonical form. The canonical form [1] of an R package Makefile includes the following: - The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as needed), and CATEGORIES. - HOMEPAGE is not present but defined in math/R/Makefile.extension to refer to the CRAN web page describing the package. Other relevant web pages are often linked from there via the URL field. This updates all current R packages to this form, which will make regular updates _much_ easier, especially using pkgtools/R2pkg. [1] https://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html |
