fritools24.1.0 package

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

bulk_read_csv

Bulk Read Comma Separated Files

bulk_write_csv

Bulk Write Comma Separated Files

call_conditionally

Call a Function Conditionally

call_safe

Call a Function Given an External Dependency on Non-Windows Systems

check_ascii_file

Check the Number of Lines and Fields in a File

clipboard_path

Copy a Path from Clipboard to ' '

column_sums

Sum up the Numeric Columns of a Data Frame

compare_vectors

Compare Two Vectors

convert_umlauts_to_ascii

Convert German Umlauts to a More or Less Suitable ascii Representati...

convert_umlauts_to_tex

Tex Codes for German Umlauts

count_groups

Count Observations per Groups

csv

Read and Write a Comma Separated File

csv2csv

Convert a German Comma Separated File into a Comma Separated File

delete_trailing_blank_lines

Remove Trailing Blank Lines From Files

delete_trailing_whitespace

Remove Trailing Whitespace From Files

develop_test

Develop Unit Testing for a Code File

file_copy

Force Copying a File While Backing it up

file_modified_last

Get the File Modified Last

file_save

Create a Copies of Files

find_files

Find Files on Disk

fritools2-package

Utilities for the Forest Research Institute of the State Baden-Wuertte...

fromto

Extract All Items of a Vector Between Two Patterns

get_boolean_envvar

Get a Boolean Environment Variable

get_lines_between_tags

Cut Code Chunks From a File

get_mtime

Get the mtime Attribute from an Object

get_options

Get Options For Packages

get_package_version

Query Installed Package Version

get_r_cmd_batch_script_path

Get the Path of the ' ' Code File in Case of an 'R CMD BATCH ' Run

get_rscript_script_path

Get the Path of the ' ' Code File in Case of an 'Rscript ' Run

get_run_r_tests

Get System Variable RUN_R_TESTS

get_script_name

Get the Name of the ' ' Code File or set it to default

get_script_path

Get the Path of the ' ' Code File

get_unique_string

Create a Fairly Unique String

golden_ratio

Calculate the Golden Ratio

grep_file

Grep a Pattern from Files

index_groups

Determine Indices and Sizes of Subsets

is_batch

Is ' ' Run in Batch Mode (via 'R CMD BATCH ' or 'Rscript ')?

is_cran

Is ' ' Running on CRAN?

is_difftime_less

Check Whether Two Times Differ Less Than A Given Value

is_false

Provide isFALSE for ' ' < 3.5.0

is_files_current

Check Whether Files are Current

is_force

Opt-out Via Option

is_installed

Is an External Program Installed?

is_not_false

Is an Object Set and not Set to FALSE?

is_null_or_true

Is an Object TRUE or NULL?

is_of_length_zero

Is an Object of Length Zero?

is_path

Check Whether an Object Contains a Valid File System Path

is_r_cmd_check

Is the Current R Process an 'R CMD check '?

is_r_package_installed

Is an ' ' Package Installed?

is_running_on_fvafrcu_machines

Is the Machine Running the Current ' ' Process Owned by FVAFRCU?

is_running_on_gitlab_com

Is the Current Machine Owned by [https://about.gitlab.com](https://abo...

is_success

Does the Return Value of a Command Signal Success?

is_valid_primary_key

Is a Key a Valid Potential Primary Key for a data.frame?

is_version_sufficient

Is a Version Requirement Met?

is_windows

Is the System Running a Windows Machine?

load_internal_functions

Load a Package's Internals

memory_hogs

Find Memory Hogs

missing_docs

Find Missing Documentation

paths

Set or Get the path Attribute to or from an Object

r_cmd_install

Install a Tarball or a Directory

relative_difference

Compute Relative Differences Between the Values of Two Vectors

rename_package

Change This Package's Name

round_half_away_from_zero

Round Half Away From Zero

run_r_tests_for_known_hosts

Force Testing on Known Hosts

search_files

Search Files for a Pattern

search_rows

Search All Rows Across Columns of a Matrix-like Structure

set_hash

Set a Hash Attribute on an Object

set_options

Set Options For Packages

set_run_r_tests

Set the System Variable RUN_R_TESTS

split_code_file

Split a Code File Into Multiple Files

str2num

Convert Character Numbers to Numeric

strip_off_attributes

Strip Attributes off an Object

subset_sizes

Determine Subset Sizes Close to Equality

summary.filesearch

Summarize File Searches

tapply

Apply a Function Over a Ragged Array

throw

Throw a Condition

touch

Mock the Unix touch Utility

un_hash

Separate an Object from its Hash Attribute

view

View a File or Directory

vim

Edit a File With 'VIM ' if Possible

weighted_variance

Calculate a Weighted Variance

wipe_clean

Remove All Objects From an Environment

wipe_tempdir

Wipe Clean the tempdir()

with_dir

Execute Code in a Temporary Working Directory

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').