Skip to content

ksformat

'SAS'-Style 'PROC FORMAT' for R

v0.7.1 · May 21, 2026 · GPL-3

Description

Provides 'SAS' 'PROC FORMAT'-like functionality for creating and applying value formats in R. Supports discrete and range-based mapping of values to labels, reverse formatting (invalue), date/time/datetime formatting with built-in 'SAS' format names, multi-label formats, expression labels evaluated at apply-time, case-insensitive matching, import/export of format definitions, and proper handling of missing values (NA, NULL, NaN).

Downloads

CRAN

411

Last 30 days

9813th

1.5K

Last 90 days

1.7K

Last year

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

r2u CRAN

13

Last 30 days

34

Last 90 days

34

Last year

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

autoCRAN

0

Last 7 days

8

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 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 OK
r-devel-linux-x86_64-fedora-gcc 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 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running massageExamples to create ‘ksformat-Ex.R’ failed
Error in file(out, "wt") : cannot open the connection
Calls: <Anonymous> -> Rd2ex -> file
In addition: Warning message:
In file(out, "wt") :
  cannot open file '/tmp/RtmpmNRvOl/file238fa1ebddd7/fmap_strata.R': No space left on device
Execution halted
 NONE
OK 5 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 26, 2026

Dependency Network

Dependencies Reverse dependencies cli ksformat

Version History

3 tracked
updated 0.7.1 ← 0.4.2 diff May 21, 2026
updated 0.4.2 ← 0.3.5 diff Mar 28, 2026
new 0.3.5 Mar 25, 2026