Package: fritools 4.3.0.9000

fritools: Utilities for the Forest Research Institute of the State Baden-Wuerttemberg

Miscellaneous utilities, tools and helper functions for finding and searching files on disk, searching for and removing R objects from the workspace. Does not import or depend on any third party package, but on core R only (i.e. it may depend on packages with priority 'base').

Authors:Andreas Dominik Cullmann [aut, cre]

fritools_4.3.0.9000.tar.gz
fritools_4.3.0.9000.zip(r-4.5)fritools_4.3.0.9000.zip(r-4.4)fritools_4.3.0.9000.zip(r-4.3)
fritools_4.3.0.9000.tgz(r-4.4-any)fritools_4.3.0.9000.tgz(r-4.3-any)
fritools_4.3.0.9000.tar.gz(r-4.5-noble)fritools_4.3.0.9000.tar.gz(r-4.4-noble)
fritools_4.3.0.9000.tgz(r-4.4-emscripten)fritools_4.3.0.9000.tgz(r-4.3-emscripten)
fritools.pdf |fritools.html
fritools/json (API)
NEWS

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

Peer review:

Bug tracker:https://gitlab.com/fvafrcu/fritools

On CRAN:

5.86 score 6 packages 4 scripts 987 downloads 89 exports 0 dependencies

Last updated 8 months agofrom:029dcef896. Checks:OK: 4 ERROR: 3. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 01 2024
R-4.5-winERRORNov 01 2024
R-4.5-linuxOKNov 01 2024
R-4.4-winERRORNov 01 2024
R-4.4-macOKNov 01 2024
R-4.3-winERRORNov 01 2024
R-4.3-macOKNov 01 2024

Exports:bulk_read_csvbulk_write_csvcall_conditionallycall_safecheck_ascii_fileclipboard_pathcolumn_sumscompare_vectorsconvert_umlauts_to_asciiconvert_umlauts_to_texcount_groupscsv2csvdelete_trailing_blank_linesdelete_trailing_whitespacedevelop_testfile_copyfile_modified_lastfile_savefind_filesfind_missing_familyfind_missing_see_alsofromtoget_boolean_envvarget_german_umlautsget_lines_between_tagsget_mtimeget_optionsget_package_versionget_pathget_r_cmd_batch_script_pathget_rscript_script_pathget_run_r_testsget_script_nameget_script_pathget_session_stringget_unique_stringgolden_ratiogrep_fileindex_groupsis_batchis_cranis_difftime_lessis_falseis_files_currentis_forceis_installedis_not_falseis_null_or_trueis_of_length_zerois_pathis_r_cmd_checkis_r_package_installedis_running_on_fvafrcu_machinesis_running_on_gitlab_comis_successis_valid_primary_keyis_version_sufficientis_windowsload_internal_functionsmemory_hogsr_cmd_installread_csvrelative_differenceround_commerciallyround_half_away_from_zerorun_r_tests_for_known_hostsrunsedsearch_filessearch_rowsset_hashset_optionsset_pathset_run_r_testsslobodasplit_code_filestr2numstrip_off_attributessubset_sizestapplytouchtouch2un_hashviewvimweighted_variancewipe_cleanwipe_tempdirwith_dirwrite_csv

Dependencies:

Not an Introduction to fritools

Rendered fromNot_an_Introduction_to_fritools.Rnwusingutils::Sweaveon Nov 01 2024.

Last update: 2023-06-12
Started: 2022-09-13

Readme and manuals

Help Manual

Help pageTopics
Utilities for the Forest Research Institute of the State Baden-Wuerttembergfritools-package fritools
Bulk Read Comma Separated Filesbulk_read_csv
Bulk Write Comma Separated Filesbulk_write_csv
Call a Function Conditionallycall_conditionally
Call a Function Given an External Dependency on Non-Windows Systemscall_safe
Check the Number of Lines and Fields in a Filecheck_ascii_file
Copy a Path from Clipboard to 'R'clipboard_path
Sum up the Numeric Columns of a Data Framecolumn_sums
Compare Two Vectorscompare_vectors
Convert German Umlauts to a More or Less Suitable `ascii` Representationconvert_umlauts_to_ascii convert_umlauts_to_ascii.character convert_umlauts_to_ascii.data.frame
Tex Codes for German Umlautsconvert_umlauts_to_tex
Count Observations per Groupscount_groups
Read and Write a Comma Separated Filecsv read_csv write_csv
Convert a German Comma Separated File into a Comma Separated Filecsv2csv
Remove Trailing Blank Lines From Filesdelete_trailing_blank_lines
Remove Trailing Whitespace From Filesdelete_trailing_whitespace
Develop Unit Testing for a Code Filedevelop_test
Force Copying a File While Backing it upfile_copy
Get the File Modified Lastfile_modified_last
Create a Copies of Filesfile_save
Find Files on Diskfind_files
Extract All Items of a Vector Between Two Patternsfromto
Get a Boolean Environment Variableget_boolean_envvar
Get German Umlautsget_german_umlauts
Cut Code Chunks From a Fileget_lines_between_tags
Get the 'mtime' Attribute from an Objectget_mtime
Get Options For Packagesget_options
Query Installed Package Versionget_package_version
Get the Path of the 'R' Code File in Case of an ''R CMD BATCH'' Runget_r_cmd_batch_script_path
Get the Path of the 'R' Code File in Case of an ''Rscript'' Runget_rscript_script_path
Get System Variable RUN_R_TESTSget_run_r_tests
Get the Name of the 'R' Code File or set it to 'default'get_script_name
Get the Path of the 'R' Code Fileget_script_path
Get a Session Stringget_session_string
Create a Fairly Unique Stringget_unique_string
Calculate the Golden Ratiogolden_ratio
Grep a Pattern from Filesgrep_file
Determine Indices and Sizes of Subsetsindex_groups
Is 'R' Run in Batch Mode (via ''R CMD BATCH'' or ''Rscript'')?is_batch
Is 'R' Running on CRAN?is_cran
Check Whether Two Times Differ Less Than A Given Valueis_difftime_less
Provide 'isFALSE' for 'R' < 3.5.0is_false
Check Whether Files are Currentis_files_current
Opt-out Via Optionis_force
Is an External Program Installed?is_installed
Is an Object Set and not Set to 'FALSE'?is_not_false
Is an Object 'TRUE' or 'NULL'?is_null_or_true
Is an Object of Length Zero?is_of_length_zero
Check Whether an Object Contains a Valid File System Pathis_path
Is the Current R Process an ''R CMD check''?is_r_cmd_check
Is an 'R' Package Installed?is_r_package_installed
Is the Machine Running the Current 'R' Process Owned by FVAFRCU?is_running_on_fvafrcu_machines
Is the Current Machine Owned by <https://about.gitlab.com>?is_running_on_gitlab_com
Does the Return Value of a Command Signal Success?is_success
Is a Key a Valid Potential Primary Key for a 'data.frame'?is_valid_primary_key
Is a Version Requirement Met?is_version_sufficient
Is the System Running a Windows Machine?is_windows
Load a Package's Internalsload_internal_functions
Find Memory Hogsmemory_hogs
Find Missing Documentationfind_missing_family find_missing_see_also missing_docs
Set or Get the 'path' Attribute to or from an Objectget_path paths set_path
Compute Relative Differences Between the Values of Two Vectorsrelative_difference
Round Half Away From Zeroround_commercially round_half_away_from_zero
Force Testing on Known Hostsrun_r_tests_for_known_hosts
Replace a Pattern in Files with a Replacement Stringrunsed
Search Files for a Patternsearch_files
Search All Rows Across Columns of a Matrix-like Structuresearch_rows
Set a Hash Attribute on an Objectset_hash
Set Options For Packagesset_options
Set the System Variable RUN_R_TESTSset_run_r_tests
Sloboda's Growth Functionsloboda
Split a Code File Into Multiple Filessplit_code_file
Convert Character Numbers to Numericstr2num
Strip Attributes off an Objectstrip_off_attributes
Determine Subset Sizes Close to Equalitysubset_sizes
Summarize File Searchessummary.filesearch
Apply a Function Over a Ragged Arraytapply
Mock the Unix 'touch' Utilitytouch touch2
Separate an Object from its Hash Attributeun_hash
View a File or Directoryview
Edit a File With ''VIM'' if Possiblevim
Calculate a Weighted Varianceweighted_variance weighted_variance.data.frame weighted_variance.numeric
Remove All Objects From an Environmentwipe_clean
Wipe Clean the 'tempdir()'wipe_tempdir
Execute Code in a Temporary Working Directorywith_dir