Final Project
Recipe Analyzer Package For my final project, I decided to create a Recipe Analyzer Package. The functions included in my package are designed to help users analyze nutritional information, scale recipes based on servings, and generate shopping lists from recipes. Description: Package: RecipeAnalyzer Type: Package Title: Analyze and Scale Recipes Version: 1.0 Date: 2024-04-25 Author: Elisa Hardie Maintainer: ehardie@usf.edu Description: Provides functions to analyze nutritional content, scale recipes, and generate shopping lists. License: GNU General Public License Imports: Depends: R (>= 4.0) The first function, `analyze_nutrition`, calculates the nutritional information for a given recipe. This includes total calories, fat, carbohydrates, and protein. #Analyze Nutrition function (with example values) analyze_nutrition <- function(recipe) { # Example nutritional values per unit (could be expanded to use a real database) nutrition_dat...