R/cake_round.R

Defines functions cake_round

cake_round <- function(d,h,filling,fondant,type) {

	require(dplyr)
	require(googlesheets)
	require(tidyr)
	require(stringr)
	require(tibble)
	
	ingredients <- cake_ingredients_round(d,h,type)
	
	filling <- cake_filling_round(d,h,filling) 
	
	fondant <- cake_fondant_round(d,h,fondant)
	
	dimensions <- tibble(d = d, h = h)
	
	cake_list <- list(ingredients,filling,fondant, dimensions)
	
	return(cake_list)
	

}
randallhelms/cakeR documentation built on March 19, 2020, 11:54 p.m.