use_internal_function: This function replaces ::: to avoid CRAN check errors

use_internal_functionR Documentation

This function replaces ::: to avoid CRAN check errors

Description

Code and rationale from https://stat.ethz.ch/pipermail/r-devel/2013-August/067210.html

Usage

use_internal_function(pkg, fun)

Arguments

pkg

character name of the package from which to import the function

fun

character name of the function to import

Value

an internal function imported from another package (in our case, probably/always remake)

Examples

## Not run: 
('remake' %:::% 'target_is_file')('mytarget.txt')

## End(Not run)

USGS-R/scipiper documentation built on May 25, 2023, 8:47 a.m.