Package: mark 0.8.2

Jordan Mark Barbone

mark: Miscellaneous, Analytic R Kernels

Miscellaneous functions and wrappers for development in other packages created, maintained by Jordan Mark Barbone.

Authors:Jordan Mark Barbone [aut, cph, cre]

mark_0.8.2.tar.gz
mark_0.8.2.tar.gz(r-4.5-noble)mark_0.8.2.tar.gz(r-4.4-noble)
mark_0.8.2.tgz(r-4.4-emscripten)mark_0.8.2.tgz(r-4.3-emscripten)
mark.pdf |mark.html
mark/json (API)
NEWS

# Install 'mark' in R:
install.packages('mark', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/jmbarbone/mark/issues

Pkgdown site:https://jmbarbone.github.io

2.65 score 9 scripts 523 downloads 3 mentions 212 exports 5 dependencies

Last updated 17 days agofrom:76147dfc39. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 07 2024
R-4.5-linuxOKDec 07 2024

Exports:.fizzbuzz_vector%:::%%::%%>%%colons%%names%%out%%wi%%wo%%xor%add_file_timestampANDany_matchare_identicalarray_extractas_orderedassign_labelsbase_alphabase_nbetween_morebump_date_versionbump_versionchar2factcheckOptionschr_splitcollapse0complete_casescountsdate_from_partialdepthdetaildiff_timediff_time_daysdiff_time_dyearsdiff_time_hoursdiff_time_minsdiff_time_monthsdiff_time_myearsdiff_time_secsdiff_time_weeksdiff_time_wyearsdiff_time_yearsdrop_levelseitherenvironmentsepteval_named_chunkexpand_byfactfact_nafact2charfct_expand_seqfile_copy_md5file_namefile_openfile_pathfixmesfizzbuzzfizzbuzz_lazyflipget_dir_max_numberget_dir_recent_dateget_errorget_labelsget_messageget_recent_dirget_recent_fileget_versionget_warningglobhas_errorhas_messagehas_warningimportinsertis_blankis_blank_colsis_booleanis_diris_falseis_fileis_linuxis_na_colsis_trueksourcelargest_filelimitlines_of_r_codelist_dirslist_fileslist2dfls_allls_dataframels_functionls_objectmake_sfmark_compress_methodsmark_write_methodsmatch_argmatch_parammd5median2merge_listmufflemulti_grepmulti_greplNA_atNA_Date_NA_ifNA_inNA_outNA_POSIXct_NA_POSIXlt_names_switchnewest_dirnewest_fileno_matchnonenorm_pathnormalizenot_availablenotenote<-objects_alloldest_diroldest_fileomit_naopen_fileORouter_callouter_funpackage_availablepaste_cpaste_combinepercentile_rankprint_cpropspseudo_idq50quick_dfquick_dflquiet_stoprange2read_bibread_clipboardread_clipboard_methodsrecode_byrecode_onlyreindexremove_blank_colsremove_labelsremove_naremove_na_colsremove_namesremove_nullrequire_namespaceround_byrow_bindrscriptsave_sourceselect_blank_colsselect_na_colsset_namesset_names0set_not_availableset_noteshell_execsimpleTimeReportsmallest_filesort_bysort_namessource_r_dirsource_r_filesource_to_envsquash_vecstr_extract_datestr_extract_datetimestr_slicestr_slice_by_wordstructswitch_caseswitch_in_caseswitch_paramst_dftableNAthatto_booleanto_row_namestodostry_ksourcetry_sourcetrynunique_rowsunlist0update_versionuse_authoruser_filevap_chrvap_cplxvap_datevap_dblvap_intvap_lglvector2dfview_labelswith_parwithinwithin_callwithin_funwrite_clipboardwrite_file_md5wuffle

Dependencies:clifsfujmagrittrrlang

Readme and manuals

Help Manual

Help pageTopics
Add file timestampadd_file_timestamp
Identical extensionsare_identical
Array extractarray_extract
Orderedas_ordered as_ordered.default
Alpha basebase_alpha
Base N conversionbase_n
Blank valuesblank_values is_blank is_blank_cols remove_blank_cols select_blank_cols
Character to factorchar2fact char2fact.character char2fact.data.frame char2fact.default char2fact.factor
Check optionscheckOptions
Character splitchr_split
Write to and read from the clipboardclipboard read_clipboard read_clipboard_methods write_clipboard write_clipboard.data.frame write_clipboard.default write_clipboard.list write_clipboard.matrix
Complete casescomplete_cases
Count observations by unique valuescounts counts.data.frame props props.data.frame props.default
Partial datesdate_from_partial
Depthdepth depth.default depth.list
Details an objectdetail detail.data.frame detail.default
Diff time wrappersdiff_time diff_time_days diff_time_dyears diff_time_hours diff_time_mins diff_time_months diff_time_myears diff_time_secs diff_time_weeks diff_time_wyears diff_time_years
Drop levelsdrop_levels drop_levels.data.frame drop_levels.fact drop_levels.factor
Parse and evaluate textept
Evaluate a Named Chunkeval_named_chunk
Expands a vectorexpand_by
Factorfact fact.character fact.Date fact.default fact.fact fact.factor fact.haven_labelled fact.integer fact.logical fact.numeric fact.POSIXt fact.pseudo_id
'fact' with 'NA'fact_na
Fact reverse levelsfact_reverse
Factor to characterfact2char
Factor Expand by Sequencefct_expand_seq
File copy with md5 hash checkfile_copy_md5
File information utilsfile_info largest_file newest_dir newest_file oldest_dir oldest_file smallest_file
File namefile_name
Open a file using windows file associationsfile_open file_utils list_dirs list_files open_file shell_exec
Fizz Buzz.fizzbuzz_vector fizzbuzz fizzbuzz_lazy
Get recent directory by number nameget_dir_max_number
Get recent directory by dateget_dir_recent_date
Get recent directoryget_recent_dir
Get recent fileget_recent_file
Get and bump versionbump_date_version bump_version get_version update_version
Wildcard globbingglob
Handlersget_error get_message get_warning handlers has_error has_message has_warning
Importimport
Insertinsert
Is File/Directoryis_dir is_file
Dataframe labelsassign_labels assign_labels.data.frame assign_labels.default get_labels get_labels.data.frame get_labels.default labels remove_labels remove_labels.data.frame remove_labels.default view_labels
Limitlimit
Lines of R codelines_of_r_code
List all environments and objectsenvironments list_environments ls_all objects_all
List to data.framelist2df
Logic - Extension'%xor% AND either is_boolean is_false is_false.default is_false.logical is_true is_true.default is_true.logical logic_ext none OR
List Objects - extensionsls_dataframe ls_ext ls_function ls_object
Make system file functionmake_sf
markmark-package mark
Match argumentsmatch_arg
Match paramsmatch_param
Compute the MD5 hash of an objectmd5
Median (Q 50)median2 q50
Merge listsmerge_list
Multiple searchingmulti_grep multi_grepl
NA at positionsna_assignments NA_at NA_if NA_in NA_out
Selecting NA columnsis_na_cols na_cols remove_na_cols select_na_cols
Normalize pathsfile_path norm_path user_file
Normalize valuesnormalize normalize.data.frame normalize.default
Make not availableNA_Date_ NA_POSIXct_ NA_POSIXlt_ not_available set_not_available
Append a note to an objectnote note<- set_note
Omit NA valuesomit_na
Check if package is availablepackage_available
Percentile rankpercentile_rank
Print as cprint_c
Print bib data frameprint.mark_bib_df
Print 'pseudo_id'print.pseudo_id
Process bib valuesprocess_bib_dataframe
Create an ID for a vectorpseudo_id pseudo_id.default pseudo_id.factor pseudo_id.pseudo_id
Quiet stopquiet_stop
Range 2range2
Read Bib fileread_bib
Recode byrecode_by recode_only
Reindex a data.framereindex
Remove NAremove_na remove_na.default remove_na.fact remove_na.factor remove_na.list
Remove NULLremove_null
Rounding by a specific interval.round_by
Row bindrow_bind
Rscriptrscript
Save sourcesave_source
Set namesnames_switch set_names0
Time reportssimpleTimeReport
Sort bysort_by
Sort by namessort_names
Source file from directorysource_files source_r_dir source_r_file
Source to environmentsource_to_env
Sourcing extensionsksource sourcing try_ksource try_source
Extract date from stringstr_extract_date str_extract_datetime
String Slicestr_slice str_slice_by_word
Switch with a list of parametersswitch-ext switch_case switch_in_case switch_params
Data frame transposet_df
Table NA valuestableNA
Thatthat
To Booleanto_boolean to_boolean.character to_boolean.factor to_boolean.logical to_boolean.numeric
To row namesto_row_names
Get TODOsfixmes todos
Try an expression a set number of timestryn
Unique rowsunique_rows
Unlist and squashsquash_vec unlist0
Add author to DESCRIPTIONuse_author
Paste combinecollapse0 paste_c paste_combine utils-paste
Vaps!vap vap_chr vap_cplx vap_date vap_dbl vap_int vap_lgl
Vector to data.framevector2df
Temporary plottingwith_par
within boundariesbetween between_more betwee_more within
Function withinouter_call outer_fun within_call within_fun
Write file with md5 hash checkmark_compress_methods mark_write_methods write_file_md5