mark 0.5.0
The package website https://jmbarbone.github.io/mark/ is now available!
More references and vignettes will make their way here in future releases.
Fixes
detail(NA)(or whenxhas onlyNAvalues) no longer throws a warning and returnsNAformin_c,max_c#59print.noted()now passes...to next methods #67- corrects deprecation warning in
assign_label()#74assign_label()will be removed in0.4.2
set_not_available()now seems to work correctly -- it probably hasn't actually be working most of the timepercentile_rank()is now more correct whenxis a decimal by checking for unique values first #92counts.data.frame()now handle factor columns better
New features
- Functions in
?handlers, all allow for additional params passed through...#34 - adds
row_bind()to bind a list ofdata.frames()#46 - adds
drop_levels()withfactoranddata.framemethods; functions similarly tobase::droplevels()but is a little faster #54 todos()andfixmes()gain a new paramforce- When
TRUE, forces searches for.Rfiles when the given directory does not contain an.Rprojfile - When
FALSE, prevents long start ups when these functions are called in a.Rprofilefile and R is not launches in a project directory - This be toggled with a new options
mark.todos.force
- When
- adds
set_note(), a wrapper fornote<-()#77 - adds
fact2char()to complimentchar2fact()#75 print.pseudo_id()now truncates long uniques to a single line #70match_param(NULL, null = TRUE)allowsparamto safely returnNULL#89fact_na()is added to usefactvectors withNAlevels that work withis.na()#69 and otherNAhandling improvements- adds a new
print._mark_bib_df()method to supporting printing lists - adds new methods for
facts:as.integer.fact(),as.double.fact(),remove_na.fact()
Breaking changes
fact.numeric()now treatsNaNthe same asNA, no extra level/unique value is retainedread_clipboard()now returnsNAwhen the clipboard is empty, rather than""(improvements with internal type conversions)- improvements to
NAhandling as well
Other, non-visible
- github actions updated
- internal type conversion now heavily relies on
utils::type.convert()with some additional functionality for logical (e.g., character string using"true"and"false") and for guessing dates in aYYYY-MM-DDformat - general clean up and formatting