R/checkNames.R

Defines functions checkNames

checkNames <- function( testNames, allNames ) {
   inAllNames   <- testNames %in% allNames
   if( !all( inAllNames ) ) {
      stop( "object(s) '",
         paste( testNames[ !inAllNames ], collapse = "', '" ),
         "' not found." )
   }
}

Try the frontier package in your browser

Any scripts or data that you put into this service are public.

frontier documentation built on April 19, 2020, 3:54 p.m.