forcats
Tools for Working with Categorical Variables (Factors)
v1.0.1
·
Sep 24, 2025
·
MIT + file LICENSE
Description
Helpers for reordering factor levels (including moving specified levels to front, ordering by first appearance, reversing, and randomly shuffling), and tools for modifying factor levels (including collapsing rare levels into other, 'anonymising', and manually 'recoding').
Downloads
597.6K
Last 30 days
110th
597.6K
Last 90 days
597.6K
Last year
CRAN Check Status
14
OK
Show all 14 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-macos-arm64 | 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 details (14 non-OK)
OK
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-macos-arm64
*
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
*
Check History
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
Reverse Dependencies (355)
imports
BREADR
BeeBDC
BiostatsUHNplus
CAST
CMMs
CimpleG
CoNI
CohortPlat
ConfidenceEllipse
DCPO
DImodelsVis
EDCimport
ENMTools
EpiForsk
FARS
FMAT
FRI
GRIN2
GimmeMyStats
IRexamples
MCOE
MIC
NMTox
NeuroDecodeR
OBL
OlinkAnalyze
OlympicRshiny
OutliersO3
PEIMAN2
PERK
PKbioanalysis
PieGlyph
RCT
REDCapCAST
REDCapDM
REDCapTidieR
ROCnGO
RSDA
RastaRocket
SCoRES
SEERaBomb
SIAmodules
SWTools
SafeVote
ShapleyOutlier
TextForecast
TheseusPlot
Tplyr
UCSCXenaShiny
UpAndDownPlots
WMAP
activAnalyzer
actuary
adepro
adestr
adventr
aihuman
aplotExtra
apyramid
autoMrP
autoslider.core
bartXViz
bibliometrix
bonsaiforest
brinton
broom.mixed
bupaR
burnr
calendR
calendRio
cats
causact
ccostr
cheese
chevron
ci
cicalc
cisp
clustringr
cocktailApp
codebook
correlationfunnel
cpsvote
crosstable
dados
datacult
dataviewR
datos
describedata
descstat
dfoliatR
dunlin
eHDPrep
easyalluvial
echoice2
elaborator
ensModelVis
epe4md
epikit
episensr
epitabulate
epiviz
evalITR
explore
ezplot
fedmatch
ffp
finalfit
flowmapper
fluxible
forestecology
framecleaner
funneljoin
gapclosing
gdverse
gemtc
ggVennDiagram
ggblanket
ggdag
ggfacto
ggplate
ggquickeda
ggsegmentedtotalbar
ggseqplot
ggstats
ggsurveillance
glmmfields
globaltrends
gtreg
guideR
haven
healthyR.ai
healthyR.ts
hipecR
iNZightTS
iNZightTools
ideanet
injurytools
interfacer
iotables
iraceplot
janus
jmastats
kayadata
labNorm
lactater
lmeresampler
madshapR
manydist
markovmix
matchmaker
mbRes
metabolic
metaconfoundr
migest
mlfit
modeltime
mpwR
multinma
naniar
nevada
normfluodbf
npcs
nzilbb.vowels
omicsTools
openairmaps
opitools
palaeoSig
parcats
partition
phylepic
plot3logit
plotor
plotthis
pollster
prcr
processpredictR
projoint
protti
psmineR
r4ss
raptools
rjaf
robustT2
safetyCharts
sampbias
sampcompR
saros
saros.base
scCustomize
scipub
sense
sfcr
sherlock
simaerep
simlandr
simplanonym
simplecolors
sitar
smdi
snap
snpAIMeR
soc.ca
steppedwedge
stevemisc
suddengains
summarySCI
survParamSim
synthpop
sysAgNPs
tabxplor
teal.modules.general
tern
testcorr
tfrmt
tidyAML
tidycat
tidycomm
tidync
tidyplots
tidyrates
tidysynth
tidysynthesis
tidytlg
tidyverse
tidywater
timetk
tsg
twoxtwo
umiAnalyzer
unheadr
unpivotr
veesa
vegdata
visdat
wcde
weed
wrappedtools
xadmix
xpose.xtras
suggests
AssociationExplorer2
BaseSet
DSjobtracker
DisImpact
HistData
LLMAgentR
NHSRdatasets
RobinCar
SCpubr
VizTest
acledR
admixr
aggreCAT
allofus
alone
apa7
atrrr
autostats
bench
bigPLSR
broom.helpers
bruceR
bsitar
cat2cat
catfun
cfr
constructive
cowplot
csdata
cvdprevent
datplot
decompositionLE
delimtools
densityarea
dm
domir
econdataverse
eph
estar
explainer
exuber
ferrn
fgdiR
finalsize
forwards
genekitr
ggResidpanel
ggfoundry
ggmapinset
ggridges
ggwidth
graphicalMCP
gratia
gtregression
httk
iNZightPlots
industRial
ipeaplot
isoorbi
jlmerclusterperm
junco
konfound
lay
learningtower
liver
lvmisc
mikropml
mitey
mongolstats
mtsta
multifunc
multiverse
naryn
ohenery
openintro
outcomerate
peruflorads43
pipr
pixarfilms
pixr
plotly
projects
public.ctn0094data
questionr
rTPC
rar
raw
refdb
risk.assessr
robber
robustmatrix
rtestim
simdata
simstandard
sitrep
slendr
sparseMVN
statquotes
summarytools
survextrap
survivoR
teal.modules.clinical
tidyEmoji
tidyHeatmap
tidybayes
tidyjson
tidylog
tidypaleo
tidyquant
treeheatr
unusualprofile
uteals
vroom
washi
whippr
Dependency Network
Version History
new
1.0.1
Mar 9, 2026