Data caching in madrat

Jan Philipp Dietrich

2021-10-08

A central feature of the madrat framework is its ability to load data from cache rather than recompute it when the calculation have run already before. Here, we explain what user should know about the caching to avoid unwanted behavior.

Basics

By default every read- or calc-function creates a cache file from its computations and stores it in the cachefolder. Where this folder is located can be checked via

library(madrat, quietly = TRUE)
getConfig("cachefolder", verbose = FALSE)
#> [1] "/tmp/RtmpjGmTWw/madrat/cache/default"

When running data processing via retrieveData it currently offers two types of cache folders: cachetype = "def" will use a shared cachefolder in which all processes write their cache files by default. RetrieveData will check in this folder for fitting cache files and read them if available. Whether they are fitting or not will depend on their fingerprint which is explained further down. With cachetype = "rev" retrieveData will create a new, revision-specific cachefolder and set setConfig(forcecache = TRUE) (default is FALSE). Via this approach calculations will start with new cache files at all but created cache files will be read if a calculation is repeated. The forcecache option will in this case make sure that any available cache file which fits the function call is read in, independent of whether the content of the cache file might be outdated or not.

Fingerprint

In order to estimate whether a calculation should be rerun or whether the data can be read from cache madrat creates fingerprints for each function. If the fingerprint of the current function call agrees with the fingerprint of the corresponding cache file the cache is assumed up-to-date and read in. If they disagree, the cache file is assumed to be potentially outdated and ignored (except for forcecache = TRUE in which case it would be read in anyways).

The fingerprint is created by looking at the dependency graph of a function which can be retrieved via getDependencies:

getDependencies("calcTauTotal")
#> Warning: Mapping in mrcommons:::calc1stBioenergyPast not found!
#> WARNING: Mapping in mrcommons:::calc1stBioenergyPast not found!
#> Warning: Mapping in mrcommons:::calcAgProductionValue not found!
#> WARNING: Mapping in mrcommons:::calcAgProductionValue not found!
#> Warning: Mapping in mrcommons:::calcAreaEquippedForIrrigation not found!
#> WARNING: Mapping in mrcommons:::calcAreaEquippedForIrrigation not found!
#> Warning: Mapping in mrcommons:::calcAtmosphericDeposition not found!
#> WARNING: Mapping in mrcommons:::calcAtmosphericDeposition not found!
#> Warning: Mapping in mrcommons:::calcCentralFeedshares not found!
#> WARNING: Mapping in mrcommons:::calcCentralFeedshares not found!
#> Warning: Mapping in mrcommons:::calcCroparea not found!
#> WARNING: Mapping in mrcommons:::calcCroparea not found!
#> Warning: Mapping in mrcommons:::calcDemography not found!
#> WARNING: Mapping in mrcommons:::calcDemography not found!
#> Warning: Mapping in mrcommons:::calcEF3confinement not found!
#> WARNING: Mapping in mrcommons:::calcEF3confinement not found!
#> Warning: Mapping in mrcommons:::calcEF3prp not found!
#> WARNING: Mapping in mrcommons:::calcEF3prp not found!
#> Warning: Mapping in mrcommons:::calcEmisNitrogenPreagriculture not found!
#> WARNING: Mapping in mrcommons:::calcEmisNitrogenPreagriculture not found!
#> Warning: Mapping in mrcommons:::calcEmissionInventory not found!
#> WARNING: Mapping in mrcommons:::calcEmissionInventory not found!
#> Warning: Mapping in mrcommons:::calcExcretion not found!
#> WARNING: Mapping in mrcommons:::calcExcretion not found!
#> Warning: Mapping in mrcommons:::calcExcretionIPCC not found!
#> WARNING: Mapping in mrcommons:::calcExcretionIPCC not found!
#> Warning: Mapping in mrcommons:::calcFAOForestRelocate not found!
#> WARNING: Mapping in mrcommons:::calcFAOForestRelocate not found!
#> Warning: Mapping in mrcommons:::calcFAOharmonized not found!
#> WARNING: Mapping in mrcommons:::calcFAOharmonized not found!
#> Warning: Mapping in mrcommons:::calcFAOmassbalance_pre not found!
#> WARNING: Mapping in mrcommons:::calcFAOmassbalance_pre not found!
#> Warning: Mapping in mrcommons:::calcFeedBalanceflow not found!
#> WARNING: Mapping in mrcommons:::calcFeedBalanceflow not found!
#> Warning: Mapping in mrcommons:::calcFertN not found!
#> WARNING: Mapping in mrcommons:::calcFertN not found!
#> Warning: Mapping in mrcommons:::calcHistEmissions not found!
#> WARNING: Mapping in mrcommons:::calcHistEmissions not found!
#> Warning: Mapping in mrcommons:::calcIPCCfracLeach not found!
#> WARNING: Mapping in mrcommons:::calcIPCCfracLeach not found!
#> Warning: Mapping in mrcommons:::calcIniFoodPrice not found!
#> WARNING: Mapping in mrcommons:::calcIniFoodPrice not found!
#> Warning: Mapping in mrcommons:::calcIntake not found!
#> WARNING: Mapping in mrcommons:::calcIntake not found!
#> Warning: Mapping in mrcommons:::calcIntakeBodyweight not found!
#> WARNING: Mapping in mrcommons:::calcIntakeBodyweight not found!
#> Warning: Mapping in mrcommons:::calcLPJmL_new not found!
#> WARNING: Mapping in mrcommons:::calcLPJmL_new not found!
#> Warning: Mapping in mrcommons:::calcLUH2v2 not found!
#> WARNING: Mapping in mrcommons:::calcLUH2v2 not found!
#> Warning: Mapping in mrcommons:::calcLandEmissions not found!
#> WARNING: Mapping in mrcommons:::calcLandEmissions not found!
#> Warning: Mapping in mrcommons:::calcLanduseInitialisation not found!
#> WARNING: Mapping in mrcommons:::calcLanduseInitialisation not found!
#> Warning: Mapping in mrcommons:::calcLanduseIntensity not found!
#> WARNING: Mapping in mrcommons:::calcLanduseIntensity not found!
#> Warning: Mapping in mrcommons:::calcLivestockGridded not found!
#> WARNING: Mapping in mrcommons:::calcLivestockGridded not found!
#> Warning: Mapping in mrcommons:::calcNitrogenBNF not found!
#> WARNING: Mapping in mrcommons:::calcNitrogenBNF not found!
#> Warning: Mapping in mrcommons:::calcPlantEstablishCalib not found!
#> WARNING: Mapping in mrcommons:::calcPlantEstablishCalib not found!
#> Warning: Mapping in mrcommons:::calcPriceAgriculture not found!
#> WARNING: Mapping in mrcommons:::calcPriceAgriculture not found!
#> Warning: Mapping in mrcommons:::calcPricesProducer not found!
#> WARNING: Mapping in mrcommons:::calcPricesProducer not found!
#> Warning: Mapping in mrcommons:::calcProduction not found!
#> WARNING: Mapping in mrcommons:::calcProduction not found!
#> Warning: Mapping in mrcommons:::calcResFieldBalancePast not found!
#> WARNING: Mapping in mrcommons:::calcResFieldBalancePast not found!
#> Warning: Mapping in mrcommons:::calcRockNWeathering not found!
#> WARNING: Mapping in mrcommons:::calcRockNWeathering not found!
#> Warning: Mapping in mrcommons:::calcSOCLossShare not found!
#> WARNING: Mapping in mrcommons:::calcSOCLossShare not found!
#> Warning: Mapping in mrcommons:::calcSOMlossN not found!
#> WARNING: Mapping in mrcommons:::calcSOMlossN not found!
#> Warning: Mapping in mrcommons:::calcSeed not found!
#> WARNING: Mapping in mrcommons:::calcSeed not found!
#> Warning: Mapping in mrcommons:::calcStorage not found!
#> WARNING: Mapping in mrcommons:::calcStorage not found!
#> Warning: Mapping in mrcommons:::calcTemperature not found!
#> WARNING: Mapping in mrcommons:::calcTemperature not found!
#> Warning: Mapping in mrcommons:::readACCMIP not found!
#> WARNING: Mapping in mrcommons:::readACCMIP not found!
#> Warning: Mapping in mrcommons:::readExpertGuessSSPLivestockProduction not found!
#> WARNING: Mapping in mrcommons:::readExpertGuessSSPLivestockProduction not found!
#> Warning: Mapping in mrcommons:::readFAO_FRA2015 not found!
#> WARNING: Mapping in mrcommons:::readFAO_FRA2015 not found!
#> Warning: Mapping in mrcommons:::readGFED not found!
#> WARNING: Mapping in mrcommons:::readGFED not found!
#> Warning: Mapping in mrcommons:::readGTAP81 not found!
#> WARNING: Mapping in mrcommons:::readGTAP81 not found!
#> Warning: Mapping in mrcommons:::readIEA not found!
#> WARNING: Mapping in mrcommons:::readIEA not found!
#> Warning: Mapping in mrcommons:::readIFA not found!
#> WARNING: Mapping in mrcommons:::readIFA not found!
#> Warning: Mapping in mrcommons:::readKoeppen not found!
#> WARNING: Mapping in mrcommons:::readKoeppen not found!
#> Warning: Mapping in mrcommons:::readLPJmL not found!
#> WARNING: Mapping in mrcommons:::readLPJmL not found!
#> Warning: Mapping in mrcommons:::readLUH2v2 not found!
#> WARNING: Mapping in mrcommons:::readLUH2v2 not found!
#> Warning: Mapping in mrcommons:::readMAgPIE not found!
#> WARNING: Mapping in mrcommons:::readMAgPIE not found!
#> Warning: Mapping in mrcommons:::readNCDrisc not found!
#> WARNING: Mapping in mrcommons:::readNCDrisc not found!
#> Warning: Mapping in mrcommons:::readPBL_MACC_2019 not found!
#> WARNING: Mapping in mrcommons:::readPBL_MACC_2019 not found!
#> Warning: Mapping in mrcommons:::readSSPResults not found!
#> WARNING: Mapping in mrcommons:::readSSPResults not found!
#> Warning: Mapping in mrcommons:::readSoilGrids not found!
#> WARNING: Mapping in mrcommons:::readSoilGrids not found!
#> Warning: Mapping in mrcommons:::readVanDrecht2009 not found!
#> WARNING: Mapping in mrcommons:::readVanDrecht2009 not found!
#> Warning: Mapping in mrcommons:::toolCell2isoCell not found!
#> WARNING: Mapping in mrcommons:::toolCell2isoCell not found!
#> Warning: Mapping in mrcommons:::toolIso2CellCountries not found!
#> WARNING: Mapping in mrcommons:::toolIso2CellCountries not found!
#> Warning: Mapping in mrfeed:::calcFAOFodder_aggrFEED not found!
#> WARNING: Mapping in mrfeed:::calcFAOFodder_aggrFEED not found!
#> Warning: Mapping in mrfeed:::calcResFeedAvailability not found!
#> WARNING: Mapping in mrfeed:::calcResFeedAvailability not found!
#> Warning: Mapping in mrland:::calcBMIshr not found!
#> WARNING: Mapping in mrland:::calcBMIshr not found!
#> Warning: Mapping in mrland:::calcClimateRegionsIPCC not found!
#> WARNING: Mapping in mrland:::calcClimateRegionsIPCC not found!
#> Warning: Mapping in mrland:::calcEATFruitvegRatio not found!
#> WARNING: Mapping in mrland:::calcEATFruitvegRatio not found!
#> Warning: Mapping in mrland:::calcPastureYield not found!
#> WARNING: Mapping in mrland:::calcPastureYield not found!
#> Warning: Mapping in mrland:::calcPlantationContribution not found!
#> WARNING: Mapping in mrland:::calcPlantationContribution not found!
#> Warning: Mapping in mrland:::calcPlantedForest not found!
#> WARNING: Mapping in mrland:::calcPlantedForest not found!
#> Warning: Mapping in mrland:::readForestLossDrivers not found!
#> WARNING: Mapping in mrland:::readForestLossDrivers not found!
#> Warning: Mapping in mrland:::readGLW3 not found!
#> WARNING: Mapping in mrland:::readGLW3 not found!
#> Warning: Mapping in mrland:::readGTAP not found!
#> WARNING: Mapping in mrland:::readGTAP not found!
#> Warning: Mapping in mrland:::readREMMAG not found!
#> WARNING: Mapping in mrland:::readREMMAG not found!
#> Warning: Mapping in mrmagpie:::calcAgeClassDistribution not found!
#> WARNING: Mapping in mrmagpie:::calcAgeClassDistribution not found!
#> Warning: Mapping in mrmagpie:::calcAreaActuallyIrrigated not found!
#> WARNING: Mapping in mrmagpie:::calcAreaActuallyIrrigated not found!
#> Warning: Mapping in mrmagpie:::calcAvlWater not found!
#> WARNING: Mapping in mrmagpie:::calcAvlWater not found!
#> Warning: Mapping in mrmagpie:::calcBphEffect not found!
#> WARNING: Mapping in mrmagpie:::calcBphEffect not found!
#> Warning: Mapping in mrmagpie:::calcCO2Atmosphere not found!
#> WARNING: Mapping in mrmagpie:::calcCO2Atmosphere not found!
#> Warning: Mapping in mrmagpie:::calcCO2Atmosphere_new not found!
#> WARNING: Mapping in mrmagpie:::calcCO2Atmosphere_new not found!
#> Warning: Mapping in mrmagpie:::calcCalibratedYields not found!
#> WARNING: Mapping in mrmagpie:::calcCalibratedYields not found!
#> Warning: Mapping in mrmagpie:::calcClimateClass not found!
#> WARNING: Mapping in mrmagpie:::calcClimateClass not found!
#> Warning: Mapping in mrmagpie:::calcClusterBase not found!
#> WARNING: Mapping in mrmagpie:::calcClusterBase not found!
#> Warning: Mapping in mrmagpie:::calcCollectEnvironmentData not found!
#> WARNING: Mapping in mrmagpie:::calcCollectEnvironmentData not found!
#> Warning: Mapping in mrmagpie:::calcCollectEnvironmentData_new not found!
#> WARNING: Mapping in mrmagpie:::calcCollectEnvironmentData_new not found!
#> Warning: Mapping in mrmagpie:::calcCollectSoilCarbonLSU not found!
#> WARNING: Mapping in mrmagpie:::calcCollectSoilCarbonLSU not found!
#> Warning: Mapping in mrmagpie:::calcCollectSoilCarbonPastr not found!
#> WARNING: Mapping in mrmagpie:::calcCollectSoilCarbonPastr not found!
#> Warning: Mapping in mrmagpie:::calcEmuPastCorrectFactor not found!
#> WARNING: Mapping in mrmagpie:::calcEmuPastCorrectFactor not found!
#> Warning: Mapping in mrmagpie:::calcEmuPastCorrectFactor2 not found!
#> WARNING: Mapping in mrmagpie:::calcEmuPastCorrectFactor2 not found!
#> Warning: Mapping in mrmagpie:::calcEmuPastCorrectFactor3 not found!
#> WARNING: Mapping in mrmagpie:::calcEmuPastCorrectFactor3 not found!
#> Warning: Mapping in mrmagpie:::calcGrassLndYldHist not found!
#> WARNING: Mapping in mrmagpie:::calcGrassLndYldHist not found!
#> Warning: Mapping in mrmagpie:::calcGrassPastureShare not found!
#> WARNING: Mapping in mrmagpie:::calcGrassPastureShare not found!
#> Warning: Mapping in mrmagpie:::calcGrasslandsYields not found!
#> WARNING: Mapping in mrmagpie:::calcGrasslandsYields not found!
#> Warning: Mapping in mrmagpie:::calcGridPop_new not found!
#> WARNING: Mapping in mrmagpie:::calcGridPop_new not found!
#> Warning: Mapping in mrmagpie:::calcGrowingPeriod not found!
#> WARNING: Mapping in mrmagpie:::calcGrowingPeriod not found!
#> Warning: Mapping in mrmagpie:::calcIrrigation not found!
#> WARNING: Mapping in mrmagpie:::calcIrrigation not found!
#> Warning: Mapping in mrmagpie:::calcLivestockDistribution not found!
#> WARNING: Mapping in mrmagpie:::calcLivestockDistribution not found!
#> Warning: Mapping in mrmagpie:::calcLsuDensityHist not found!
#> WARNING: Mapping in mrmagpie:::calcLsuDensityHist not found!
#> Warning: Mapping in mrmagpie:::calcNpiNdcAdAolcPol not found!
#> WARNING: Mapping in mrmagpie:::calcNpiNdcAdAolcPol not found!
#> Warning: Mapping in mrmagpie:::calcNpiNdcAffPol not found!
#> WARNING: Mapping in mrmagpie:::calcNpiNdcAffPol not found!
#> Warning: Mapping in mrmagpie:::calcPastureSuit not found!
#> WARNING: Mapping in mrmagpie:::calcPastureSuit not found!
#> Warning: Mapping in mrmagpie:::calcPeatland not found!
#> WARNING: Mapping in mrmagpie:::calcPeatland not found!
#> Warning: Mapping in mrmagpie:::calcScaleEnvironmentData not found!
#> WARNING: Mapping in mrmagpie:::calcScaleEnvironmentData not found!
#> Warning: Mapping in mrmagpie:::calcScaleEnvironmentData_new not found!
#> WARNING: Mapping in mrmagpie:::calcScaleEnvironmentData_new not found!
#> Warning: Mapping in mrmagpie:::calcScaledPastSoilCarbon not found!
#> WARNING: Mapping in mrmagpie:::calcScaledPastSoilCarbon not found!
#> Warning: Mapping in mrmagpie:::calcSoilCharacteristics not found!
#> WARNING: Mapping in mrmagpie:::calcSoilCharacteristics not found!
#> Warning: Mapping in mrmagpie:::calcYields not found!
#> WARNING: Mapping in mrmagpie:::calcYields not found!
#> Warning: Mapping in mrmagpie:::readGCF_SeaLevelRise not found!
#> WARNING: Mapping in mrmagpie:::readGCF_SeaLevelRise not found!
#> Warning: Mapping in mrmagpie:::readGFAD not found!
#> WARNING: Mapping in mrmagpie:::readGFAD not found!
#> Warning: Mapping in mrmagpie:::readGridPop_new not found!
#> WARNING: Mapping in mrmagpie:::readGridPop_new not found!
#> Warning: Mapping in mrmagpie:::readIPCCClimate not found!
#> WARNING: Mapping in mrmagpie:::readIPCCClimate not found!
#> Warning: Mapping in mrmagpie:::readLUH2UrbanFuture not found!
#> WARNING: Mapping in mrmagpie:::readLUH2UrbanFuture not found!
#> Warning: Mapping in mrmagpie:::readLabourProdImpactOrlov not found!
#> WARNING: Mapping in mrmagpie:::readLabourProdImpactOrlov not found!
#> Warning: Mapping in mrremind:::calcAGEB not found!
#> WARNING: Mapping in mrremind:::calcAGEB not found!
#> Warning: Mapping in mrremind:::calcCementShare not found!
#> WARNING: Mapping in mrremind:::calcCementShare not found!
#> Warning: Mapping in mrremind:::calcCoolingSharesBase not found!
#> WARNING: Mapping in mrremind:::calcCoolingSharesBase not found!
#> Warning: Mapping in mrremind:::calcCoolingSharesFuture not found!
#> WARNING: Mapping in mrremind:::calcCoolingSharesFuture not found!
#> Warning: Mapping in mrremind:::calcDiffInvestCosts not found!
#> WARNING: Mapping in mrremind:::calcDiffInvestCosts not found!
#> Warning: Mapping in mrremind:::calcDspvShare not found!
#> WARNING: Mapping in mrremind:::calcDspvShare not found!
#> Warning: Mapping in mrremind:::calcEconometricEmiParameter not found!
#> WARNING: Mapping in mrremind:::calcEconometricEmiParameter not found!
#> Warning: Mapping in mrremind:::calcEffortSharingRefEmi not found!
#> WARNING: Mapping in mrremind:::calcEffortSharingRefEmi not found!
#> Warning: Mapping in mrremind:::calcEmissionFactors not found!
#> WARNING: Mapping in mrremind:::calcEmissionFactors not found!
#> Warning: Mapping in mrremind:::calcEmissions not found!
#> WARNING: Mapping in mrremind:::calcEmissions not found!
#> Warning: Mapping in mrremind:::calcEmploymentfactors not found!
#> WARNING: Mapping in mrremind:::calcEmploymentfactors not found!
#> Warning: Mapping in mrremind:::calcFE not found!
#> WARNING: Mapping in mrremind:::calcFE not found!
#> Warning: Mapping in mrremind:::calcFEdemand not found!
#> WARNING: Mapping in mrremind:::calcFEdemand not found!
#> Warning: Mapping in mrremind:::calcGAINS not found!
#> WARNING: Mapping in mrremind:::calcGAINS not found!
#> Warning: Mapping in mrremind:::calcGAINSEmi not found!
#> WARNING: Mapping in mrremind:::calcGAINSEmi not found!
#> Warning: Mapping in mrremind:::calcIEA_PFU not found!
#> WARNING: Mapping in mrremind:::calcIEA_PFU not found!
#> Warning: Mapping in mrremind:::calcIO not found!
#> WARNING: Mapping in mrremind:::calcIO not found!
#> Warning: Mapping in mrremind:::calcJRC_IDEES not found!
#> WARNING: Mapping in mrremind:::calcJRC_IDEES not found!
#> Warning: Mapping in mrremind:::calcPE not found!
#> WARNING: Mapping in mrremind:::calcPE not found!
#> Warning: Mapping in mrremind:::calcRegion2MAGICC not found!
#> WARNING: Mapping in mrremind:::calcRegion2MAGICC not found!
#> Warning: Mapping in mrremind:::calcUBA not found!
#> WARNING: Mapping in mrremind:::calcUBA not found!
#> Warning: Mapping in mrremind:::calcUNFCCC not found!
#> WARNING: Mapping in mrremind:::calcUNFCCC not found!
#> Warning: Mapping in mrremind:::calcWaterConsCoef not found!
#> WARNING: Mapping in mrremind:::calcWaterConsCoef not found!
#> Warning: Mapping in mrremind:::calcWaterWithCoef not found!
#> WARNING: Mapping in mrremind:::calcWaterWithCoef not found!
#> Warning: Mapping in mrremind:::readDylanAusGasCost not found!
#> WARNING: Mapping in mrremind:::readDylanAusGasCost not found!
#> Warning: Mapping in mrremind:::readECLIPSE not found!
#> WARNING: Mapping in mrremind:::readECLIPSE not found!
#> Warning: Mapping in mrremind:::readEDGE not found!
#> WARNING: Mapping in mrremind:::readEDGE not found!
#> Warning: Mapping in mrremind:::readEDGETransport not found!
#> WARNING: Mapping in mrremind:::readEDGETransport not found!
#> Warning: Mapping in mrremind:::readGCPT not found!
#> WARNING: Mapping in mrremind:::readGCPT not found!
#> Warning: Mapping in mrremind:::readGCPT2020_extra not found!
#> WARNING: Mapping in mrremind:::readGCPT2020_extra not found!
#> Warning: Mapping in mrremind:::readGEA2012 not found!
#> WARNING: Mapping in mrremind:::readGEA2012 not found!
#> Warning: Mapping in mrremind:::readIEA_ETP not found!
#> WARNING: Mapping in mrremind:::readIEA_ETP not found!
#> Warning: Mapping in mrremind:::readIEA_PVPS not found!
#> WARNING: Mapping in mrremind:::readIEA_PVPS not found!
#> Warning: Mapping in mrremind:::readIEA_REN not found!
#> WARNING: Mapping in mrremind:::readIEA_REN not found!
#> Warning: Mapping in mrremind:::readIEA_WEO not found!
#> WARNING: Mapping in mrremind:::readIEA_WEO not found!
#> Warning: Mapping in mrremind:::readINNOPATHS not found!
#> WARNING: Mapping in mrremind:::readINNOPATHS not found!
#> Warning: Mapping in mrremind:::readLIMITS not found!
#> WARNING: Mapping in mrremind:::readLIMITS not found!
#> Warning: Mapping in mrremind:::readOpenmod not found!
#> WARNING: Mapping in mrremind:::readOpenmod not found!
#> Warning: Mapping in mrremind:::readProdShares not found!
#> WARNING: Mapping in mrremind:::readProdShares not found!
#> Warning: Mapping in mrremind:::readRCP not found!
#> WARNING: Mapping in mrremind:::readRCP not found!
#> Warning: Mapping in mrremind:::readREMIND_11Regi not found!
#> WARNING: Mapping in mrremind:::readREMIND_11Regi not found!
#> Warning: Mapping in mrremind:::readRemindCesPrices not found!
#> WARNING: Mapping in mrremind:::readRemindCesPrices not found!
#> Warning: Mapping in mrremind:::readRutovitz2015 not found!
#> WARNING: Mapping in mrremind:::readRutovitz2015 not found!
#> Warning: Mapping in mrremind:::readnonEnergyDemand not found!
#> WARNING: Mapping in mrremind:::readnonEnergyDemand not found!
#> Warning: Mapping in mrsoil:::calcLanduse not found!
#> WARNING: Mapping in mrsoil:::calcLanduse not found!
#> Warning: Mapping in mrvalidation:::calcValidCarbon not found!
#> WARNING: Mapping in mrvalidation:::calcValidCarbon not found!
#> Warning: Mapping in mrvalidation:::calcValidCostsTransport not found!
#> WARNING: Mapping in mrvalidation:::calcValidCostsTransport not found!
#> Warning: Mapping in mrvalidation:::calcValidGrassLSUha not found!
#> WARNING: Mapping in mrvalidation:::calcValidGrassLSUha not found!
#> Warning: Mapping in mrvalidation:::calcValidGrassSoilCarbon not found!
#> WARNING: Mapping in mrvalidation:::calcValidGrassSoilCarbon not found!
#> Warning: Mapping in mrvalidation:::calcValidGridYields not found!
#> WARNING: Mapping in mrvalidation:::calcValidGridYields not found!
#> Warning: Mapping in mrvalidation:::calcValidLand not found!
#> WARNING: Mapping in mrvalidation:::calcValidLand not found!
#> Warning: Mapping in mrvalidation:::calcValidManure not found!
#> WARNING: Mapping in mrvalidation:::calcValidManure not found!
#> Warning: Mapping in mrvalidation:::calcValidNitrogenBudgetCropland not found!
#> WARNING: Mapping in mrvalidation:::calcValidNitrogenBudgetCropland not found!
#> Warning: Mapping in mrvalidation:::calcValidSOCDensity not found!
#> WARNING: Mapping in mrvalidation:::calcValidSOCDensity not found!
#> Warning: Mapping in mrvalidation:::calcValidSOCStocks not found!
#> WARNING: Mapping in mrvalidation:::calcValidSOCStocks not found!
#> Warning: Mapping in mrvalidation:::calcValidYield not found!
#> WARNING: Mapping in mrvalidation:::calcValidYield not found!
#> Warning: Mapping in mrvalidation:::readGMIA not found!
#> WARNING: Mapping in mrvalidation:::readGMIA not found!
#> Warning: Mapping in mrvalidation:::readGSOC not found!
#> WARNING: Mapping in mrvalidation:::readGSOC not found!
#> Warning: Mapping in mrvalidation:::readGasser not found!
#> WARNING: Mapping in mrvalidation:::readGasser not found!
#> Warning: Mapping in mrvalidation:::readHID not found!
#> WARNING: Mapping in mrvalidation:::readHID not found!
#> Warning: Mapping in mrvalidation:::readWISE not found!
#> WARNING: Mapping in mrvalidation:::readWISE not found!
#> Warning: Mapping in mrvalidation:::readWaterUsage not found!
#> WARNING: Mapping in mrvalidation:::readWaterUsage not found!
#> Warning: Mapping in mrwater:::calcIrrigWatRequirements not found!
#> WARNING: Mapping in mrwater:::calcIrrigWatRequirements not found!
#> Warning: Mapping in mrwater:::calcYieldsPotential not found!
#> WARNING: Mapping in mrwater:::calcYieldsPotential not found!
#> Warning: Mapping in mrwater:::toolLPJcellCoordinates not found!
#> WARNING: Mapping in mrwater:::toolLPJcellCoordinates not found!
#> Warning: Following functions could not be found in the scope of packages to be checked.: 
#>    calcDemand->calcHHFoodWaste, calcDemand->calcValidKcal, tools::install_git->readGTAP81
#>   Please make sure that they exist and adjust the scope of packages accordingly!
#> WARNING: 
#> Following functions could not be found in the scope of packages to be checked.: 
#>    
#> calcDemand->calcHHFoodWaste, calcDemand->calcValidKcal, tools::install_git->readGTAP81
#> 
#>   Please make sure that they exist and adjust the scope of packages accordingly!
#>                func type package                       call     hash
#> 1           readTau read  madrat           madrat:::readTau fa7919b8
#> 2 toolSubtypeSelect tool  madrat madrat:::toolSubtypeSelect 86ae28b2
#> 3     toolAggregate tool  madrat     madrat:::toolAggregate 35685729
#> 4   toolCountryFill tool  madrat   madrat:::toolCountryFill d21cbb97
#> 5    toolGetMapping tool  madrat    madrat:::toolGetMapping eaa10e22

The dependency graph lists all calls of calc, read and tool functions a function depends on (not only calls in the function itself, but also calls in the functions which have been called in order to run the function). The fingerprinting function creates hashes of all these functions and all source folders involved in this process and combines them to one single hash which is the fingerprint of that specific function:

setConfig(verbosity=3)
#> Configuration update:
#>   verbosity: 1 -> 3
fp <- madrat:::fingerprint("calcTauTotal", details = TRUE)
#> hash components (a6daeb16):
#>   0f3e1e30 | madrat:::calcTauTotal | madrat:::calcTauTotal
#>   fa7919b8 | madrat:::readTau | madrat:::readTau
#>   36499ff9 | madrat:::sysdata$iso_cell | madrat:::sysdata$iso_cell
#>   35685729 | madrat:::toolAggregate | madrat:::toolAggregate
#>   d21cbb97 | madrat:::toolCountryFill | madrat:::toolCountryFill
#>   eaa10e22 | madrat:::toolGetMapping | madrat:::toolGetMapping
#>   86ae28b2 | madrat:::toolSubtypeSelect | madrat:::toolSubtypeSelect
#>   3dd304aa | magclass:::ncells | magclass:::ncells

As a hash has the characteristic to change when its input changes, an unchanged hash means that also the respective function or source folder did not change. Hence, an identical fingerprint means that the involved functions and source data did not change. So, if the fingerprint of the cache file agrees with the fingerprint calculated for the calculation it is quite likely that the data contained in the cache file also agrees with the output of the calculation one would run it again.

The reason why it is only quite likely but not certain is that not all parts of the calculation are covered: The dependency graph only considers madrat-style functions, e.g. functions not starting with download, read, correct, convert, calc, or tool will not be considered. In many cases this should be ok, considering that external functions used in the calculation will likely keep their behavior over time, but there might be instances in which this assumption is violated (e.g. if parts of the calculation are outsourced in a function not following these conventions).

On the other hand, the dependency graph might also include dependencies which only exist on the paper, as it does only scan for calls of the corresponding functions in the code, but cannot interpret which calls are actually be computed for a given calculation, e.g. there could be if clauses in a calc-function selecting different source data types. The dependency graph will show a dependency to all sources even if only one of these sources might be used at the end.

Customize fingerprinting

To make sure that the fingerprint is appropriately reflecting the current status of a calculation there are a few possibilities to steer its behavior:

  1. Use madrat-style functions for all calculation that should get monitored by the fingerprinting algorithm (e.g. if part of the calculation is outsourced, call this new function tool.. to have it monitored.)

  2. Adjust the fingerprinting via control flags for all other cases.

Control flags

Control flags can be used to manually include or exclude functions in the fingerprinting. Control flags are comments in the functions which are put in quotes and start with !#. They can look like:

  "!# @monitor madrat:::sysdata magclass:::ncells"
  "!# @ignore  madrat:::toolAggregate"

Each line contains a control flag starting with the flag name (here monitor or ignore) and afterwards with the arguments of this control flag. The monitor flag specifies calls which should get monitored in addition to the ones anyway monitored (in the example the sysdata object in madrat and the ncells functions of the magclass package are additionally being monitored). The ignore flag specifies which calls should not be monitored even so getDepenendencies says otherwise.

While the ignore statement has to be mentioned explicitly for each function, the monitor statement will be passed on automatically to all subsequent functions (e.g. if a read function has a monitor statement all calc-functions used that read function will also monitor the additional calls of that statement, but in the same example the ignore statement would only be used for the read function itself).

In particular the ignore statement has to be handled with care as a wrong information here might lead to outdated cache files being read in. So, only use it if really necessary and if you know exactly what you are doing.

Examples

  setConfig(globalenv = TRUE)
#> Configuration update:
#>   globalenv: FALSE -> TRUE
  readData <- function() return(1)
  readData2 <- function() return(2)
  calcExample <- function() {
    a <- readSource("Data")
  }
  calcExample2 <- function() {
    a <- readSource("Data")
    if(FALSE) b <- readSource("Data2")
  }

In this example are two source data sets and two calculation functions. calcExample only depends on readData while calcExample2 depends on both data sources.

  fp <- madrat:::fingerprint("calcExample", details = TRUE)
#> Warning: Mapping in mrcommons:::calc1stBioenergyPast not found!
#> WARNING: Mapping in mrcommons:::calc1stBioenergyPast not found!
#> Warning: Mapping in mrcommons:::calcAgProductionValue not found!
#> WARNING: Mapping in mrcommons:::calcAgProductionValue not found!
#> Warning: Mapping in mrcommons:::calcAreaEquippedForIrrigation not found!
#> WARNING: Mapping in mrcommons:::calcAreaEquippedForIrrigation not found!
#> Warning: Mapping in mrcommons:::calcAtmosphericDeposition not found!
#> WARNING: Mapping in mrcommons:::calcAtmosphericDeposition not found!
#> Warning: Mapping in mrcommons:::calcCentralFeedshares not found!
#> WARNING: Mapping in mrcommons:::calcCentralFeedshares not found!
#> Warning: Mapping in mrcommons:::calcCroparea not found!
#> WARNING: Mapping in mrcommons:::calcCroparea not found!
#> Warning: Mapping in mrcommons:::calcDemography not found!
#> WARNING: Mapping in mrcommons:::calcDemography not found!
#> Warning: Mapping in mrcommons:::calcEF3confinement not found!
#> WARNING: Mapping in mrcommons:::calcEF3confinement not found!
#> Warning: Mapping in mrcommons:::calcEF3prp not found!
#> WARNING: Mapping in mrcommons:::calcEF3prp not found!
#> Warning: Mapping in mrcommons:::calcEmisNitrogenPreagriculture not found!
#> WARNING: Mapping in mrcommons:::calcEmisNitrogenPreagriculture not found!
#> Warning: Mapping in mrcommons:::calcEmissionInventory not found!
#> WARNING: Mapping in mrcommons:::calcEmissionInventory not found!
#> Warning: Mapping in mrcommons:::calcExcretion not found!
#> WARNING: Mapping in mrcommons:::calcExcretion not found!
#> Warning: Mapping in mrcommons:::calcExcretionIPCC not found!
#> WARNING: Mapping in mrcommons:::calcExcretionIPCC not found!
#> Warning: Mapping in mrcommons:::calcFAOForestRelocate not found!
#> WARNING: Mapping in mrcommons:::calcFAOForestRelocate not found!
#> Warning: Mapping in mrcommons:::calcFAOharmonized not found!
#> WARNING: Mapping in mrcommons:::calcFAOharmonized not found!
#> Warning: Mapping in mrcommons:::calcFAOmassbalance_pre not found!
#> WARNING: Mapping in mrcommons:::calcFAOmassbalance_pre not found!
#> Warning: Mapping in mrcommons:::calcFeedBalanceflow not found!
#> WARNING: Mapping in mrcommons:::calcFeedBalanceflow not found!
#> Warning: Mapping in mrcommons:::calcFertN not found!
#> WARNING: Mapping in mrcommons:::calcFertN not found!
#> Warning: Mapping in mrcommons:::calcHistEmissions not found!
#> WARNING: Mapping in mrcommons:::calcHistEmissions not found!
#> Warning: Mapping in mrcommons:::calcIPCCfracLeach not found!
#> WARNING: Mapping in mrcommons:::calcIPCCfracLeach not found!
#> Warning: Mapping in mrcommons:::calcIniFoodPrice not found!
#> WARNING: Mapping in mrcommons:::calcIniFoodPrice not found!
#> Warning: Mapping in mrcommons:::calcIntake not found!
#> WARNING: Mapping in mrcommons:::calcIntake not found!
#> Warning: Mapping in mrcommons:::calcIntakeBodyweight not found!
#> WARNING: Mapping in mrcommons:::calcIntakeBodyweight not found!
#> Warning: Mapping in mrcommons:::calcLPJmL_new not found!
#> WARNING: Mapping in mrcommons:::calcLPJmL_new not found!
#> Warning: Mapping in mrcommons:::calcLUH2v2 not found!
#> WARNING: Mapping in mrcommons:::calcLUH2v2 not found!
#> Warning: Mapping in mrcommons:::calcLandEmissions not found!
#> WARNING: Mapping in mrcommons:::calcLandEmissions not found!
#> Warning: Mapping in mrcommons:::calcLanduseInitialisation not found!
#> WARNING: Mapping in mrcommons:::calcLanduseInitialisation not found!
#> Warning: Mapping in mrcommons:::calcLanduseIntensity not found!
#> WARNING: Mapping in mrcommons:::calcLanduseIntensity not found!
#> Warning: Mapping in mrcommons:::calcLivestockGridded not found!
#> WARNING: Mapping in mrcommons:::calcLivestockGridded not found!
#> Warning: Mapping in mrcommons:::calcNitrogenBNF not found!
#> WARNING: Mapping in mrcommons:::calcNitrogenBNF not found!
#> Warning: Mapping in mrcommons:::calcPlantEstablishCalib not found!
#> WARNING: Mapping in mrcommons:::calcPlantEstablishCalib not found!
#> Warning: Mapping in mrcommons:::calcPriceAgriculture not found!
#> WARNING: Mapping in mrcommons:::calcPriceAgriculture not found!
#> Warning: Mapping in mrcommons:::calcPricesProducer not found!
#> WARNING: Mapping in mrcommons:::calcPricesProducer not found!
#> Warning: Mapping in mrcommons:::calcProduction not found!
#> WARNING: Mapping in mrcommons:::calcProduction not found!
#> Warning: Mapping in mrcommons:::calcResFieldBalancePast not found!
#> WARNING: Mapping in mrcommons:::calcResFieldBalancePast not found!
#> Warning: Mapping in mrcommons:::calcRockNWeathering not found!
#> WARNING: Mapping in mrcommons:::calcRockNWeathering not found!
#> Warning: Mapping in mrcommons:::calcSOCLossShare not found!
#> WARNING: Mapping in mrcommons:::calcSOCLossShare not found!
#> Warning: Mapping in mrcommons:::calcSOMlossN not found!
#> WARNING: Mapping in mrcommons:::calcSOMlossN not found!
#> Warning: Mapping in mrcommons:::calcSeed not found!
#> WARNING: Mapping in mrcommons:::calcSeed not found!
#> Warning: Mapping in mrcommons:::calcStorage not found!
#> WARNING: Mapping in mrcommons:::calcStorage not found!
#> Warning: Mapping in mrcommons:::calcTemperature not found!
#> WARNING: Mapping in mrcommons:::calcTemperature not found!
#> Warning: Mapping in mrcommons:::readACCMIP not found!
#> WARNING: Mapping in mrcommons:::readACCMIP not found!
#> Warning: Mapping in mrcommons:::readExpertGuessSSPLivestockProduction not found!
#> WARNING: Mapping in mrcommons:::readExpertGuessSSPLivestockProduction not found!
#> Warning: Mapping in mrcommons:::readFAO_FRA2015 not found!
#> WARNING: Mapping in mrcommons:::readFAO_FRA2015 not found!
#> Warning: Mapping in mrcommons:::readGFED not found!
#> WARNING: Mapping in mrcommons:::readGFED not found!
#> Warning: Mapping in mrcommons:::readGTAP81 not found!
#> WARNING: Mapping in mrcommons:::readGTAP81 not found!
#> Warning: Mapping in mrcommons:::readIEA not found!
#> WARNING: Mapping in mrcommons:::readIEA not found!
#> Warning: Mapping in mrcommons:::readIFA not found!
#> WARNING: Mapping in mrcommons:::readIFA not found!
#> Warning: Mapping in mrcommons:::readKoeppen not found!
#> WARNING: Mapping in mrcommons:::readKoeppen not found!
#> Warning: Mapping in mrcommons:::readLPJmL not found!
#> WARNING: Mapping in mrcommons:::readLPJmL not found!
#> Warning: Mapping in mrcommons:::readLUH2v2 not found!
#> WARNING: Mapping in mrcommons:::readLUH2v2 not found!
#> Warning: Mapping in mrcommons:::readMAgPIE not found!
#> WARNING: Mapping in mrcommons:::readMAgPIE not found!
#> Warning: Mapping in mrcommons:::readNCDrisc not found!
#> WARNING: Mapping in mrcommons:::readNCDrisc not found!
#> Warning: Mapping in mrcommons:::readPBL_MACC_2019 not found!
#> WARNING: Mapping in mrcommons:::readPBL_MACC_2019 not found!
#> Warning: Mapping in mrcommons:::readSSPResults not found!
#> WARNING: Mapping in mrcommons:::readSSPResults not found!
#> Warning: Mapping in mrcommons:::readSoilGrids not found!
#> WARNING: Mapping in mrcommons:::readSoilGrids not found!
#> Warning: Mapping in mrcommons:::readVanDrecht2009 not found!
#> WARNING: Mapping in mrcommons:::readVanDrecht2009 not found!
#> Warning: Mapping in mrcommons:::toolCell2isoCell not found!
#> WARNING: Mapping in mrcommons:::toolCell2isoCell not found!
#> Warning: Mapping in mrcommons:::toolIso2CellCountries not found!
#> WARNING: Mapping in mrcommons:::toolIso2CellCountries not found!
#> Warning: Mapping in mrfeed:::calcFAOFodder_aggrFEED not found!
#> WARNING: Mapping in mrfeed:::calcFAOFodder_aggrFEED not found!
#> Warning: Mapping in mrfeed:::calcResFeedAvailability not found!
#> WARNING: Mapping in mrfeed:::calcResFeedAvailability not found!
#> Warning: Mapping in mrland:::calcBMIshr not found!
#> WARNING: Mapping in mrland:::calcBMIshr not found!
#> Warning: Mapping in mrland:::calcClimateRegionsIPCC not found!
#> WARNING: Mapping in mrland:::calcClimateRegionsIPCC not found!
#> Warning: Mapping in mrland:::calcEATFruitvegRatio not found!
#> WARNING: Mapping in mrland:::calcEATFruitvegRatio not found!
#> Warning: Mapping in mrland:::calcPastureYield not found!
#> WARNING: Mapping in mrland:::calcPastureYield not found!
#> Warning: Mapping in mrland:::calcPlantationContribution not found!
#> WARNING: Mapping in mrland:::calcPlantationContribution not found!
#> Warning: Mapping in mrland:::calcPlantedForest not found!
#> WARNING: Mapping in mrland:::calcPlantedForest not found!
#> Warning: Mapping in mrland:::readForestLossDrivers not found!
#> WARNING: Mapping in mrland:::readForestLossDrivers not found!
#> Warning: Mapping in mrland:::readGLW3 not found!
#> WARNING: Mapping in mrland:::readGLW3 not found!
#> Warning: Mapping in mrland:::readGTAP not found!
#> WARNING: Mapping in mrland:::readGTAP not found!
#> Warning: Mapping in mrland:::readREMMAG not found!
#> WARNING: Mapping in mrland:::readREMMAG not found!
#> Warning: Mapping in mrmagpie:::calcAgeClassDistribution not found!
#> WARNING: Mapping in mrmagpie:::calcAgeClassDistribution not found!
#> Warning: Mapping in mrmagpie:::calcAreaActuallyIrrigated not found!
#> WARNING: Mapping in mrmagpie:::calcAreaActuallyIrrigated not found!
#> Warning: Mapping in mrmagpie:::calcAvlWater not found!
#> WARNING: Mapping in mrmagpie:::calcAvlWater not found!
#> Warning: Mapping in mrmagpie:::calcBphEffect not found!
#> WARNING: Mapping in mrmagpie:::calcBphEffect not found!
#> Warning: Mapping in mrmagpie:::calcCO2Atmosphere not found!
#> WARNING: Mapping in mrmagpie:::calcCO2Atmosphere not found!
#> Warning: Mapping in mrmagpie:::calcCO2Atmosphere_new not found!
#> WARNING: Mapping in mrmagpie:::calcCO2Atmosphere_new not found!
#> Warning: Mapping in mrmagpie:::calcCalibratedYields not found!
#> WARNING: Mapping in mrmagpie:::calcCalibratedYields not found!
#> Warning: Mapping in mrmagpie:::calcClimateClass not found!
#> WARNING: Mapping in mrmagpie:::calcClimateClass not found!
#> Warning: Mapping in mrmagpie:::calcClusterBase not found!
#> WARNING: Mapping in mrmagpie:::calcClusterBase not found!
#> Warning: Mapping in mrmagpie:::calcCollectEnvironmentData not found!
#> WARNING: Mapping in mrmagpie:::calcCollectEnvironmentData not found!
#> Warning: Mapping in mrmagpie:::calcCollectEnvironmentData_new not found!
#> WARNING: Mapping in mrmagpie:::calcCollectEnvironmentData_new not found!
#> Warning: Mapping in mrmagpie:::calcCollectSoilCarbonLSU not found!
#> WARNING: Mapping in mrmagpie:::calcCollectSoilCarbonLSU not found!
#> Warning: Mapping in mrmagpie:::calcCollectSoilCarbonPastr not found!
#> WARNING: Mapping in mrmagpie:::calcCollectSoilCarbonPastr not found!
#> Warning: Mapping in mrmagpie:::calcEmuPastCorrectFactor not found!
#> WARNING: Mapping in mrmagpie:::calcEmuPastCorrectFactor not found!
#> Warning: Mapping in mrmagpie:::calcEmuPastCorrectFactor2 not found!
#> WARNING: Mapping in mrmagpie:::calcEmuPastCorrectFactor2 not found!
#> Warning: Mapping in mrmagpie:::calcEmuPastCorrectFactor3 not found!
#> WARNING: Mapping in mrmagpie:::calcEmuPastCorrectFactor3 not found!
#> Warning: Mapping in mrmagpie:::calcGrassLndYldHist not found!
#> WARNING: Mapping in mrmagpie:::calcGrassLndYldHist not found!
#> Warning: Mapping in mrmagpie:::calcGrassPastureShare not found!
#> WARNING: Mapping in mrmagpie:::calcGrassPastureShare not found!
#> Warning: Mapping in mrmagpie:::calcGrasslandsYields not found!
#> WARNING: Mapping in mrmagpie:::calcGrasslandsYields not found!
#> Warning: Mapping in mrmagpie:::calcGridPop_new not found!
#> WARNING: Mapping in mrmagpie:::calcGridPop_new not found!
#> Warning: Mapping in mrmagpie:::calcGrowingPeriod not found!
#> WARNING: Mapping in mrmagpie:::calcGrowingPeriod not found!
#> Warning: Mapping in mrmagpie:::calcIrrigation not found!
#> WARNING: Mapping in mrmagpie:::calcIrrigation not found!
#> Warning: Mapping in mrmagpie:::calcLivestockDistribution not found!
#> WARNING: Mapping in mrmagpie:::calcLivestockDistribution not found!
#> Warning: Mapping in mrmagpie:::calcLsuDensityHist not found!
#> WARNING: Mapping in mrmagpie:::calcLsuDensityHist not found!
#> Warning: Mapping in mrmagpie:::calcNpiNdcAdAolcPol not found!
#> WARNING: Mapping in mrmagpie:::calcNpiNdcAdAolcPol not found!
#> Warning: Mapping in mrmagpie:::calcNpiNdcAffPol not found!
#> WARNING: Mapping in mrmagpie:::calcNpiNdcAffPol not found!
#> Warning: Mapping in mrmagpie:::calcPastureSuit not found!
#> WARNING: Mapping in mrmagpie:::calcPastureSuit not found!
#> Warning: Mapping in mrmagpie:::calcPeatland not found!
#> WARNING: Mapping in mrmagpie:::calcPeatland not found!
#> Warning: Mapping in mrmagpie:::calcScaleEnvironmentData not found!
#> WARNING: Mapping in mrmagpie:::calcScaleEnvironmentData not found!
#> Warning: Mapping in mrmagpie:::calcScaleEnvironmentData_new not found!
#> WARNING: Mapping in mrmagpie:::calcScaleEnvironmentData_new not found!
#> Warning: Mapping in mrmagpie:::calcScaledPastSoilCarbon not found!
#> WARNING: Mapping in mrmagpie:::calcScaledPastSoilCarbon not found!
#> Warning: Mapping in mrmagpie:::calcSoilCharacteristics not found!
#> WARNING: Mapping in mrmagpie:::calcSoilCharacteristics not found!
#> Warning: Mapping in mrmagpie:::calcYields not found!
#> WARNING: Mapping in mrmagpie:::calcYields not found!
#> Warning: Mapping in mrmagpie:::readGCF_SeaLevelRise not found!
#> WARNING: Mapping in mrmagpie:::readGCF_SeaLevelRise not found!
#> Warning: Mapping in mrmagpie:::readGFAD not found!
#> WARNING: Mapping in mrmagpie:::readGFAD not found!
#> Warning: Mapping in mrmagpie:::readGridPop_new not found!
#> WARNING: Mapping in mrmagpie:::readGridPop_new not found!
#> Warning: Mapping in mrmagpie:::readIPCCClimate not found!
#> WARNING: Mapping in mrmagpie:::readIPCCClimate not found!
#> Warning: Mapping in mrmagpie:::readLUH2UrbanFuture not found!
#> WARNING: Mapping in mrmagpie:::readLUH2UrbanFuture not found!
#> Warning: Mapping in mrmagpie:::readLabourProdImpactOrlov not found!
#> WARNING: Mapping in mrmagpie:::readLabourProdImpactOrlov not found!
#> Warning: Mapping in mrremind:::calcAGEB not found!
#> WARNING: Mapping in mrremind:::calcAGEB not found!
#> Warning: Mapping in mrremind:::calcCementShare not found!
#> WARNING: Mapping in mrremind:::calcCementShare not found!
#> Warning: Mapping in mrremind:::calcCoolingSharesBase not found!
#> WARNING: Mapping in mrremind:::calcCoolingSharesBase not found!
#> Warning: Mapping in mrremind:::calcCoolingSharesFuture not found!
#> WARNING: Mapping in mrremind:::calcCoolingSharesFuture not found!
#> Warning: Mapping in mrremind:::calcDiffInvestCosts not found!
#> WARNING: Mapping in mrremind:::calcDiffInvestCosts not found!
#> Warning: Mapping in mrremind:::calcDspvShare not found!
#> WARNING: Mapping in mrremind:::calcDspvShare not found!
#> Warning: Mapping in mrremind:::calcEconometricEmiParameter not found!
#> WARNING: Mapping in mrremind:::calcEconometricEmiParameter not found!
#> Warning: Mapping in mrremind:::calcEffortSharingRefEmi not found!
#> WARNING: Mapping in mrremind:::calcEffortSharingRefEmi not found!
#> Warning: Mapping in mrremind:::calcEmissionFactors not found!
#> WARNING: Mapping in mrremind:::calcEmissionFactors not found!
#> Warning: Mapping in mrremind:::calcEmissions not found!
#> WARNING: Mapping in mrremind:::calcEmissions not found!
#> Warning: Mapping in mrremind:::calcEmploymentfactors not found!
#> WARNING: Mapping in mrremind:::calcEmploymentfactors not found!
#> Warning: Mapping in mrremind:::calcFE not found!
#> WARNING: Mapping in mrremind:::calcFE not found!
#> Warning: Mapping in mrremind:::calcFEdemand not found!
#> WARNING: Mapping in mrremind:::calcFEdemand not found!
#> Warning: Mapping in mrremind:::calcGAINS not found!
#> WARNING: Mapping in mrremind:::calcGAINS not found!
#> Warning: Mapping in mrremind:::calcGAINSEmi not found!
#> WARNING: Mapping in mrremind:::calcGAINSEmi not found!
#> Warning: Mapping in mrremind:::calcIEA_PFU not found!
#> WARNING: Mapping in mrremind:::calcIEA_PFU not found!
#> Warning: Mapping in mrremind:::calcIO not found!
#> WARNING: Mapping in mrremind:::calcIO not found!
#> Warning: Mapping in mrremind:::calcJRC_IDEES not found!
#> WARNING: Mapping in mrremind:::calcJRC_IDEES not found!
#> Warning: Mapping in mrremind:::calcPE not found!
#> WARNING: Mapping in mrremind:::calcPE not found!
#> Warning: Mapping in mrremind:::calcRegion2MAGICC not found!
#> WARNING: Mapping in mrremind:::calcRegion2MAGICC not found!
#> Warning: Mapping in mrremind:::calcUBA not found!
#> WARNING: Mapping in mrremind:::calcUBA not found!
#> Warning: Mapping in mrremind:::calcUNFCCC not found!
#> WARNING: Mapping in mrremind:::calcUNFCCC not found!
#> Warning: Mapping in mrremind:::calcWaterConsCoef not found!
#> WARNING: Mapping in mrremind:::calcWaterConsCoef not found!
#> Warning: Mapping in mrremind:::calcWaterWithCoef not found!
#> WARNING: Mapping in mrremind:::calcWaterWithCoef not found!
#> Warning: Mapping in mrremind:::readDylanAusGasCost not found!
#> WARNING: Mapping in mrremind:::readDylanAusGasCost not found!
#> Warning: Mapping in mrremind:::readECLIPSE not found!
#> WARNING: Mapping in mrremind:::readECLIPSE not found!
#> Warning: Mapping in mrremind:::readEDGE not found!
#> WARNING: Mapping in mrremind:::readEDGE not found!
#> Warning: Mapping in mrremind:::readEDGETransport not found!
#> WARNING: Mapping in mrremind:::readEDGETransport not found!
#> Warning: Mapping in mrremind:::readGCPT not found!
#> WARNING: Mapping in mrremind:::readGCPT not found!
#> Warning: Mapping in mrremind:::readGCPT2020_extra not found!
#> WARNING: Mapping in mrremind:::readGCPT2020_extra not found!
#> Warning: Mapping in mrremind:::readGEA2012 not found!
#> WARNING: Mapping in mrremind:::readGEA2012 not found!
#> Warning: Mapping in mrremind:::readIEA_ETP not found!
#> WARNING: Mapping in mrremind:::readIEA_ETP not found!
#> Warning: Mapping in mrremind:::readIEA_PVPS not found!
#> WARNING: Mapping in mrremind:::readIEA_PVPS not found!
#> Warning: Mapping in mrremind:::readIEA_REN not found!
#> WARNING: Mapping in mrremind:::readIEA_REN not found!
#> Warning: Mapping in mrremind:::readIEA_WEO not found!
#> WARNING: Mapping in mrremind:::readIEA_WEO not found!
#> Warning: Mapping in mrremind:::readINNOPATHS not found!
#> WARNING: Mapping in mrremind:::readINNOPATHS not found!
#> Warning: Mapping in mrremind:::readLIMITS not found!
#> WARNING: Mapping in mrremind:::readLIMITS not found!
#> Warning: Mapping in mrremind:::readOpenmod not found!
#> WARNING: Mapping in mrremind:::readOpenmod not found!
#> Warning: Mapping in mrremind:::readProdShares not found!
#> WARNING: Mapping in mrremind:::readProdShares not found!
#> Warning: Mapping in mrremind:::readRCP not found!
#> WARNING: Mapping in mrremind:::readRCP not found!
#> Warning: Mapping in mrremind:::readREMIND_11Regi not found!
#> WARNING: Mapping in mrremind:::readREMIND_11Regi not found!
#> Warning: Mapping in mrremind:::readRemindCesPrices not found!
#> WARNING: Mapping in mrremind:::readRemindCesPrices not found!
#> Warning: Mapping in mrremind:::readRutovitz2015 not found!
#> WARNING: Mapping in mrremind:::readRutovitz2015 not found!
#> Warning: Mapping in mrremind:::readnonEnergyDemand not found!
#> WARNING: Mapping in mrremind:::readnonEnergyDemand not found!
#> Warning: Mapping in mrsoil:::calcLanduse not found!
#> WARNING: Mapping in mrsoil:::calcLanduse not found!
#> Warning: Mapping in mrvalidation:::calcValidCarbon not found!
#> WARNING: Mapping in mrvalidation:::calcValidCarbon not found!
#> Warning: Mapping in mrvalidation:::calcValidCostsTransport not found!
#> WARNING: Mapping in mrvalidation:::calcValidCostsTransport not found!
#> Warning: Mapping in mrvalidation:::calcValidGrassLSUha not found!
#> WARNING: Mapping in mrvalidation:::calcValidGrassLSUha not found!
#> Warning: Mapping in mrvalidation:::calcValidGrassSoilCarbon not found!
#> WARNING: Mapping in mrvalidation:::calcValidGrassSoilCarbon not found!
#> Warning: Mapping in mrvalidation:::calcValidGridYields not found!
#> WARNING: Mapping in mrvalidation:::calcValidGridYields not found!
#> Warning: Mapping in mrvalidation:::calcValidLand not found!
#> WARNING: Mapping in mrvalidation:::calcValidLand not found!
#> Warning: Mapping in mrvalidation:::calcValidManure not found!
#> WARNING: Mapping in mrvalidation:::calcValidManure not found!
#> Warning: Mapping in mrvalidation:::calcValidNitrogenBudgetCropland not found!
#> WARNING: Mapping in mrvalidation:::calcValidNitrogenBudgetCropland not found!
#> Warning: Mapping in mrvalidation:::calcValidSOCDensity not found!
#> WARNING: Mapping in mrvalidation:::calcValidSOCDensity not found!
#> Warning: Mapping in mrvalidation:::calcValidSOCStocks not found!
#> WARNING: Mapping in mrvalidation:::calcValidSOCStocks not found!
#> Warning: Mapping in mrvalidation:::calcValidYield not found!
#> WARNING: Mapping in mrvalidation:::calcValidYield not found!
#> Warning: Mapping in mrvalidation:::readGMIA not found!
#> WARNING: Mapping in mrvalidation:::readGMIA not found!
#> Warning: Mapping in mrvalidation:::readGSOC not found!
#> WARNING: Mapping in mrvalidation:::readGSOC not found!
#> Warning: Mapping in mrvalidation:::readGasser not found!
#> WARNING: Mapping in mrvalidation:::readGasser not found!
#> Warning: Mapping in mrvalidation:::readHID not found!
#> WARNING: Mapping in mrvalidation:::readHID not found!
#> Warning: Mapping in mrvalidation:::readWISE not found!
#> WARNING: Mapping in mrvalidation:::readWISE not found!
#> Warning: Mapping in mrvalidation:::readWaterUsage not found!
#> WARNING: Mapping in mrvalidation:::readWaterUsage not found!
#> Warning: Mapping in mrwater:::calcIrrigWatRequirements not found!
#> WARNING: Mapping in mrwater:::calcIrrigWatRequirements not found!
#> Warning: Mapping in mrwater:::calcYieldsPotential not found!
#> WARNING: Mapping in mrwater:::calcYieldsPotential not found!
#> Warning: Mapping in mrwater:::toolLPJcellCoordinates not found!
#> WARNING: Mapping in mrwater:::toolLPJcellCoordinates not found!
#> Warning: Following functions could not be found in the scope of packages to be checked.: 
#>    calcDemand->calcHHFoodWaste, calcDemand->calcValidKcal, tools::install_git->readGTAP81
#>   Please make sure that they exist and adjust the scope of packages accordingly!
#> WARNING: 
#> Following functions could not be found in the scope of packages to be checked.: 
#>    
#> calcDemand->calcHHFoodWaste, calcDemand->calcValidKcal, tools::install_git->readGTAP81
#> 
#>   Please make sure that they exist and adjust the scope of packages accordingly!
#> hash components (379507ac):
#>   5394de89 | calcExample | calcExample
#>   783a5e2f | readData | readData
  fp2 <- madrat:::fingerprint("calcExample2", details = TRUE)
#> hash components (7e60a810):
#>   8386790d | calcExample2 | calcExample2
#>   783a5e2f | readData | readData
#>   fb52578f | readData2 | readData2

Looking at the fingerprints this is reflected in the hash components of each fingerprint (please NOTE that the source folders are not hashed in this example as they do not exist yet. If they exist they would show up here as well as hash components). One can see, that the hash for readData is the same in both fingerprints but as the other hashes differ also the resulting fingerprint for both calculations is different.

  readData <- function() return(99)
  fp <- madrat:::fingerprint("calcExample", details = TRUE)
#> Warning: Mapping in mrcommons:::calc1stBioenergyPast not found!
#> WARNING: Mapping in mrcommons:::calc1stBioenergyPast not found!
#> Warning: Mapping in mrcommons:::calcAgProductionValue not found!
#> WARNING: Mapping in mrcommons:::calcAgProductionValue not found!
#> Warning: Mapping in mrcommons:::calcAreaEquippedForIrrigation not found!
#> WARNING: Mapping in mrcommons:::calcAreaEquippedForIrrigation not found!
#> Warning: Mapping in mrcommons:::calcAtmosphericDeposition not found!
#> WARNING: Mapping in mrcommons:::calcAtmosphericDeposition not found!
#> Warning: Mapping in mrcommons:::calcCentralFeedshares not found!
#> WARNING: Mapping in mrcommons:::calcCentralFeedshares not found!
#> Warning: Mapping in mrcommons:::calcCroparea not found!
#> WARNING: Mapping in mrcommons:::calcCroparea not found!
#> Warning: Mapping in mrcommons:::calcDemography not found!
#> WARNING: Mapping in mrcommons:::calcDemography not found!
#> Warning: Mapping in mrcommons:::calcEF3confinement not found!
#> WARNING: Mapping in mrcommons:::calcEF3confinement not found!
#> Warning: Mapping in mrcommons:::calcEF3prp not found!
#> WARNING: Mapping in mrcommons:::calcEF3prp not found!
#> Warning: Mapping in mrcommons:::calcEmisNitrogenPreagriculture not found!
#> WARNING: Mapping in mrcommons:::calcEmisNitrogenPreagriculture not found!
#> Warning: Mapping in mrcommons:::calcEmissionInventory not found!
#> WARNING: Mapping in mrcommons:::calcEmissionInventory not found!
#> Warning: Mapping in mrcommons:::calcExcretion not found!
#> WARNING: Mapping in mrcommons:::calcExcretion not found!
#> Warning: Mapping in mrcommons:::calcExcretionIPCC not found!
#> WARNING: Mapping in mrcommons:::calcExcretionIPCC not found!
#> Warning: Mapping in mrcommons:::calcFAOForestRelocate not found!
#> WARNING: Mapping in mrcommons:::calcFAOForestRelocate not found!
#> Warning: Mapping in mrcommons:::calcFAOharmonized not found!
#> WARNING: Mapping in mrcommons:::calcFAOharmonized not found!
#> Warning: Mapping in mrcommons:::calcFAOmassbalance_pre not found!
#> WARNING: Mapping in mrcommons:::calcFAOmassbalance_pre not found!
#> Warning: Mapping in mrcommons:::calcFeedBalanceflow not found!
#> WARNING: Mapping in mrcommons:::calcFeedBalanceflow not found!
#> Warning: Mapping in mrcommons:::calcFertN not found!
#> WARNING: Mapping in mrcommons:::calcFertN not found!
#> Warning: Mapping in mrcommons:::calcHistEmissions not found!
#> WARNING: Mapping in mrcommons:::calcHistEmissions not found!
#> Warning: Mapping in mrcommons:::calcIPCCfracLeach not found!
#> WARNING: Mapping in mrcommons:::calcIPCCfracLeach not found!
#> Warning: Mapping in mrcommons:::calcIniFoodPrice not found!
#> WARNING: Mapping in mrcommons:::calcIniFoodPrice not found!
#> Warning: Mapping in mrcommons:::calcIntake not found!
#> WARNING: Mapping in mrcommons:::calcIntake not found!
#> Warning: Mapping in mrcommons:::calcIntakeBodyweight not found!
#> WARNING: Mapping in mrcommons:::calcIntakeBodyweight not found!
#> Warning: Mapping in mrcommons:::calcLPJmL_new not found!
#> WARNING: Mapping in mrcommons:::calcLPJmL_new not found!
#> Warning: Mapping in mrcommons:::calcLUH2v2 not found!
#> WARNING: Mapping in mrcommons:::calcLUH2v2 not found!
#> Warning: Mapping in mrcommons:::calcLandEmissions not found!
#> WARNING: Mapping in mrcommons:::calcLandEmissions not found!
#> Warning: Mapping in mrcommons:::calcLanduseInitialisation not found!
#> WARNING: Mapping in mrcommons:::calcLanduseInitialisation not found!
#> Warning: Mapping in mrcommons:::calcLanduseIntensity not found!
#> WARNING: Mapping in mrcommons:::calcLanduseIntensity not found!
#> Warning: Mapping in mrcommons:::calcLivestockGridded not found!
#> WARNING: Mapping in mrcommons:::calcLivestockGridded not found!
#> Warning: Mapping in mrcommons:::calcNitrogenBNF not found!
#> WARNING: Mapping in mrcommons:::calcNitrogenBNF not found!
#> Warning: Mapping in mrcommons:::calcPlantEstablishCalib not found!
#> WARNING: Mapping in mrcommons:::calcPlantEstablishCalib not found!
#> Warning: Mapping in mrcommons:::calcPriceAgriculture not found!
#> WARNING: Mapping in mrcommons:::calcPriceAgriculture not found!
#> Warning: Mapping in mrcommons:::calcPricesProducer not found!
#> WARNING: Mapping in mrcommons:::calcPricesProducer not found!
#> Warning: Mapping in mrcommons:::calcProduction not found!
#> WARNING: Mapping in mrcommons:::calcProduction not found!
#> Warning: Mapping in mrcommons:::calcResFieldBalancePast not found!
#> WARNING: Mapping in mrcommons:::calcResFieldBalancePast not found!
#> Warning: Mapping in mrcommons:::calcRockNWeathering not found!
#> WARNING: Mapping in mrcommons:::calcRockNWeathering not found!
#> Warning: Mapping in mrcommons:::calcSOCLossShare not found!
#> WARNING: Mapping in mrcommons:::calcSOCLossShare not found!
#> Warning: Mapping in mrcommons:::calcSOMlossN not found!
#> WARNING: Mapping in mrcommons:::calcSOMlossN not found!
#> Warning: Mapping in mrcommons:::calcSeed not found!
#> WARNING: Mapping in mrcommons:::calcSeed not found!
#> Warning: Mapping in mrcommons:::calcStorage not found!
#> WARNING: Mapping in mrcommons:::calcStorage not found!
#> Warning: Mapping in mrcommons:::calcTemperature not found!
#> WARNING: Mapping in mrcommons:::calcTemperature not found!
#> Warning: Mapping in mrcommons:::readACCMIP not found!
#> WARNING: Mapping in mrcommons:::readACCMIP not found!
#> Warning: Mapping in mrcommons:::readExpertGuessSSPLivestockProduction not found!
#> WARNING: Mapping in mrcommons:::readExpertGuessSSPLivestockProduction not found!
#> Warning: Mapping in mrcommons:::readFAO_FRA2015 not found!
#> WARNING: Mapping in mrcommons:::readFAO_FRA2015 not found!
#> Warning: Mapping in mrcommons:::readGFED not found!
#> WARNING: Mapping in mrcommons:::readGFED not found!
#> Warning: Mapping in mrcommons:::readGTAP81 not found!
#> WARNING: Mapping in mrcommons:::readGTAP81 not found!
#> Warning: Mapping in mrcommons:::readIEA not found!
#> WARNING: Mapping in mrcommons:::readIEA not found!
#> Warning: Mapping in mrcommons:::readIFA not found!
#> WARNING: Mapping in mrcommons:::readIFA not found!
#> Warning: Mapping in mrcommons:::readKoeppen not found!
#> WARNING: Mapping in mrcommons:::readKoeppen not found!
#> Warning: Mapping in mrcommons:::readLPJmL not found!
#> WARNING: Mapping in mrcommons:::readLPJmL not found!
#> Warning: Mapping in mrcommons:::readLUH2v2 not found!
#> WARNING: Mapping in mrcommons:::readLUH2v2 not found!
#> Warning: Mapping in mrcommons:::readMAgPIE not found!
#> WARNING: Mapping in mrcommons:::readMAgPIE not found!
#> Warning: Mapping in mrcommons:::readNCDrisc not found!
#> WARNING: Mapping in mrcommons:::readNCDrisc not found!
#> Warning: Mapping in mrcommons:::readPBL_MACC_2019 not found!
#> WARNING: Mapping in mrcommons:::readPBL_MACC_2019 not found!
#> Warning: Mapping in mrcommons:::readSSPResults not found!
#> WARNING: Mapping in mrcommons:::readSSPResults not found!
#> Warning: Mapping in mrcommons:::readSoilGrids not found!
#> WARNING: Mapping in mrcommons:::readSoilGrids not found!
#> Warning: Mapping in mrcommons:::readVanDrecht2009 not found!
#> WARNING: Mapping in mrcommons:::readVanDrecht2009 not found!
#> Warning: Mapping in mrcommons:::toolCell2isoCell not found!
#> WARNING: Mapping in mrcommons:::toolCell2isoCell not found!
#> Warning: Mapping in mrcommons:::toolIso2CellCountries not found!
#> WARNING: Mapping in mrcommons:::toolIso2CellCountries not found!
#> Warning: Mapping in mrfeed:::calcFAOFodder_aggrFEED not found!
#> WARNING: Mapping in mrfeed:::calcFAOFodder_aggrFEED not found!
#> Warning: Mapping in mrfeed:::calcResFeedAvailability not found!
#> WARNING: Mapping in mrfeed:::calcResFeedAvailability not found!
#> Warning: Mapping in mrland:::calcBMIshr not found!
#> WARNING: Mapping in mrland:::calcBMIshr not found!
#> Warning: Mapping in mrland:::calcClimateRegionsIPCC not found!
#> WARNING: Mapping in mrland:::calcClimateRegionsIPCC not found!
#> Warning: Mapping in mrland:::calcEATFruitvegRatio not found!
#> WARNING: Mapping in mrland:::calcEATFruitvegRatio not found!
#> Warning: Mapping in mrland:::calcPastureYield not found!
#> WARNING: Mapping in mrland:::calcPastureYield not found!
#> Warning: Mapping in mrland:::calcPlantationContribution not found!
#> WARNING: Mapping in mrland:::calcPlantationContribution not found!
#> Warning: Mapping in mrland:::calcPlantedForest not found!
#> WARNING: Mapping in mrland:::calcPlantedForest not found!
#> Warning: Mapping in mrland:::readForestLossDrivers not found!
#> WARNING: Mapping in mrland:::readForestLossDrivers not found!
#> Warning: Mapping in mrland:::readGLW3 not found!
#> WARNING: Mapping in mrland:::readGLW3 not found!
#> Warning: Mapping in mrland:::readGTAP not found!
#> WARNING: Mapping in mrland:::readGTAP not found!
#> Warning: Mapping in mrland:::readREMMAG not found!
#> WARNING: Mapping in mrland:::readREMMAG not found!
#> Warning: Mapping in mrmagpie:::calcAgeClassDistribution not found!
#> WARNING: Mapping in mrmagpie:::calcAgeClassDistribution not found!
#> Warning: Mapping in mrmagpie:::calcAreaActuallyIrrigated not found!
#> WARNING: Mapping in mrmagpie:::calcAreaActuallyIrrigated not found!
#> Warning: Mapping in mrmagpie:::calcAvlWater not found!
#> WARNING: Mapping in mrmagpie:::calcAvlWater not found!
#> Warning: Mapping in mrmagpie:::calcBphEffect not found!
#> WARNING: Mapping in mrmagpie:::calcBphEffect not found!
#> Warning: Mapping in mrmagpie:::calcCO2Atmosphere not found!
#> WARNING: Mapping in mrmagpie:::calcCO2Atmosphere not found!
#> Warning: Mapping in mrmagpie:::calcCO2Atmosphere_new not found!
#> WARNING: Mapping in mrmagpie:::calcCO2Atmosphere_new not found!
#> Warning: Mapping in mrmagpie:::calcCalibratedYields not found!
#> WARNING: Mapping in mrmagpie:::calcCalibratedYields not found!
#> Warning: Mapping in mrmagpie:::calcClimateClass not found!
#> WARNING: Mapping in mrmagpie:::calcClimateClass not found!
#> Warning: Mapping in mrmagpie:::calcClusterBase not found!
#> WARNING: Mapping in mrmagpie:::calcClusterBase not found!
#> Warning: Mapping in mrmagpie:::calcCollectEnvironmentData not found!
#> WARNING: Mapping in mrmagpie:::calcCollectEnvironmentData not found!
#> Warning: Mapping in mrmagpie:::calcCollectEnvironmentData_new not found!
#> WARNING: Mapping in mrmagpie:::calcCollectEnvironmentData_new not found!
#> Warning: Mapping in mrmagpie:::calcCollectSoilCarbonLSU not found!
#> WARNING: Mapping in mrmagpie:::calcCollectSoilCarbonLSU not found!
#> Warning: Mapping in mrmagpie:::calcCollectSoilCarbonPastr not found!
#> WARNING: Mapping in mrmagpie:::calcCollectSoilCarbonPastr not found!
#> Warning: Mapping in mrmagpie:::calcEmuPastCorrectFactor not found!
#> WARNING: Mapping in mrmagpie:::calcEmuPastCorrectFactor not found!
#> Warning: Mapping in mrmagpie:::calcEmuPastCorrectFactor2 not found!
#> WARNING: Mapping in mrmagpie:::calcEmuPastCorrectFactor2 not found!
#> Warning: Mapping in mrmagpie:::calcEmuPastCorrectFactor3 not found!
#> WARNING: Mapping in mrmagpie:::calcEmuPastCorrectFactor3 not found!
#> Warning: Mapping in mrmagpie:::calcGrassLndYldHist not found!
#> WARNING: Mapping in mrmagpie:::calcGrassLndYldHist not found!
#> Warning: Mapping in mrmagpie:::calcGrassPastureShare not found!
#> WARNING: Mapping in mrmagpie:::calcGrassPastureShare not found!
#> Warning: Mapping in mrmagpie:::calcGrasslandsYields not found!
#> WARNING: Mapping in mrmagpie:::calcGrasslandsYields not found!
#> Warning: Mapping in mrmagpie:::calcGridPop_new not found!
#> WARNING: Mapping in mrmagpie:::calcGridPop_new not found!
#> Warning: Mapping in mrmagpie:::calcGrowingPeriod not found!
#> WARNING: Mapping in mrmagpie:::calcGrowingPeriod not found!
#> Warning: Mapping in mrmagpie:::calcIrrigation not found!
#> WARNING: Mapping in mrmagpie:::calcIrrigation not found!
#> Warning: Mapping in mrmagpie:::calcLivestockDistribution not found!
#> WARNING: Mapping in mrmagpie:::calcLivestockDistribution not found!
#> Warning: Mapping in mrmagpie:::calcLsuDensityHist not found!
#> WARNING: Mapping in mrmagpie:::calcLsuDensityHist not found!
#> Warning: Mapping in mrmagpie:::calcNpiNdcAdAolcPol not found!
#> WARNING: Mapping in mrmagpie:::calcNpiNdcAdAolcPol not found!
#> Warning: Mapping in mrmagpie:::calcNpiNdcAffPol not found!
#> WARNING: Mapping in mrmagpie:::calcNpiNdcAffPol not found!
#> Warning: Mapping in mrmagpie:::calcPastureSuit not found!
#> WARNING: Mapping in mrmagpie:::calcPastureSuit not found!
#> Warning: Mapping in mrmagpie:::calcPeatland not found!
#> WARNING: Mapping in mrmagpie:::calcPeatland not found!
#> Warning: Mapping in mrmagpie:::calcScaleEnvironmentData not found!
#> WARNING: Mapping in mrmagpie:::calcScaleEnvironmentData not found!
#> Warning: Mapping in mrmagpie:::calcScaleEnvironmentData_new not found!
#> WARNING: Mapping in mrmagpie:::calcScaleEnvironmentData_new not found!
#> Warning: Mapping in mrmagpie:::calcScaledPastSoilCarbon not found!
#> WARNING: Mapping in mrmagpie:::calcScaledPastSoilCarbon not found!
#> Warning: Mapping in mrmagpie:::calcSoilCharacteristics not found!
#> WARNING: Mapping in mrmagpie:::calcSoilCharacteristics not found!
#> Warning: Mapping in mrmagpie:::calcYields not found!
#> WARNING: Mapping in mrmagpie:::calcYields not found!
#> Warning: Mapping in mrmagpie:::readGCF_SeaLevelRise not found!
#> WARNING: Mapping in mrmagpie:::readGCF_SeaLevelRise not found!
#> Warning: Mapping in mrmagpie:::readGFAD not found!
#> WARNING: Mapping in mrmagpie:::readGFAD not found!
#> Warning: Mapping in mrmagpie:::readGridPop_new not found!
#> WARNING: Mapping in mrmagpie:::readGridPop_new not found!
#> Warning: Mapping in mrmagpie:::readIPCCClimate not found!
#> WARNING: Mapping in mrmagpie:::readIPCCClimate not found!
#> Warning: Mapping in mrmagpie:::readLUH2UrbanFuture not found!
#> WARNING: Mapping in mrmagpie:::readLUH2UrbanFuture not found!
#> Warning: Mapping in mrmagpie:::readLabourProdImpactOrlov not found!
#> WARNING: Mapping in mrmagpie:::readLabourProdImpactOrlov not found!
#> Warning: Mapping in mrremind:::calcAGEB not found!
#> WARNING: Mapping in mrremind:::calcAGEB not found!
#> Warning: Mapping in mrremind:::calcCementShare not found!
#> WARNING: Mapping in mrremind:::calcCementShare not found!
#> Warning: Mapping in mrremind:::calcCoolingSharesBase not found!
#> WARNING: Mapping in mrremind:::calcCoolingSharesBase not found!
#> Warning: Mapping in mrremind:::calcCoolingSharesFuture not found!
#> WARNING: Mapping in mrremind:::calcCoolingSharesFuture not found!
#> Warning: Mapping in mrremind:::calcDiffInvestCosts not found!
#> WARNING: Mapping in mrremind:::calcDiffInvestCosts not found!
#> Warning: Mapping in mrremind:::calcDspvShare not found!
#> WARNING: Mapping in mrremind:::calcDspvShare not found!
#> Warning: Mapping in mrremind:::calcEconometricEmiParameter not found!
#> WARNING: Mapping in mrremind:::calcEconometricEmiParameter not found!
#> Warning: Mapping in mrremind:::calcEffortSharingRefEmi not found!
#> WARNING: Mapping in mrremind:::calcEffortSharingRefEmi not found!
#> Warning: Mapping in mrremind:::calcEmissionFactors not found!
#> WARNING: Mapping in mrremind:::calcEmissionFactors not found!
#> Warning: Mapping in mrremind:::calcEmissions not found!
#> WARNING: Mapping in mrremind:::calcEmissions not found!
#> Warning: Mapping in mrremind:::calcEmploymentfactors not found!
#> WARNING: Mapping in mrremind:::calcEmploymentfactors not found!
#> Warning: Mapping in mrremind:::calcFE not found!
#> WARNING: Mapping in mrremind:::calcFE not found!
#> Warning: Mapping in mrremind:::calcFEdemand not found!
#> WARNING: Mapping in mrremind:::calcFEdemand not found!
#> Warning: Mapping in mrremind:::calcGAINS not found!
#> WARNING: Mapping in mrremind:::calcGAINS not found!
#> Warning: Mapping in mrremind:::calcGAINSEmi not found!
#> WARNING: Mapping in mrremind:::calcGAINSEmi not found!
#> Warning: Mapping in mrremind:::calcIEA_PFU not found!
#> WARNING: Mapping in mrremind:::calcIEA_PFU not found!
#> Warning: Mapping in mrremind:::calcIO not found!
#> WARNING: Mapping in mrremind:::calcIO not found!
#> Warning: Mapping in mrremind:::calcJRC_IDEES not found!
#> WARNING: Mapping in mrremind:::calcJRC_IDEES not found!
#> Warning: Mapping in mrremind:::calcPE not found!
#> WARNING: Mapping in mrremind:::calcPE not found!
#> Warning: Mapping in mrremind:::calcRegion2MAGICC not found!
#> WARNING: Mapping in mrremind:::calcRegion2MAGICC not found!
#> Warning: Mapping in mrremind:::calcUBA not found!
#> WARNING: Mapping in mrremind:::calcUBA not found!
#> Warning: Mapping in mrremind:::calcUNFCCC not found!
#> WARNING: Mapping in mrremind:::calcUNFCCC not found!
#> Warning: Mapping in mrremind:::calcWaterConsCoef not found!
#> WARNING: Mapping in mrremind:::calcWaterConsCoef not found!
#> Warning: Mapping in mrremind:::calcWaterWithCoef not found!
#> WARNING: Mapping in mrremind:::calcWaterWithCoef not found!
#> Warning: Mapping in mrremind:::readDylanAusGasCost not found!
#> WARNING: Mapping in mrremind:::readDylanAusGasCost not found!
#> Warning: Mapping in mrremind:::readECLIPSE not found!
#> WARNING: Mapping in mrremind:::readECLIPSE not found!
#> Warning: Mapping in mrremind:::readEDGE not found!
#> WARNING: Mapping in mrremind:::readEDGE not found!
#> Warning: Mapping in mrremind:::readEDGETransport not found!
#> WARNING: Mapping in mrremind:::readEDGETransport not found!
#> Warning: Mapping in mrremind:::readGCPT not found!
#> WARNING: Mapping in mrremind:::readGCPT not found!
#> Warning: Mapping in mrremind:::readGCPT2020_extra not found!
#> WARNING: Mapping in mrremind:::readGCPT2020_extra not found!
#> Warning: Mapping in mrremind:::readGEA2012 not found!
#> WARNING: Mapping in mrremind:::readGEA2012 not found!
#> Warning: Mapping in mrremind:::readIEA_ETP not found!
#> WARNING: Mapping in mrremind:::readIEA_ETP not found!
#> Warning: Mapping in mrremind:::readIEA_PVPS not found!
#> WARNING: Mapping in mrremind:::readIEA_PVPS not found!
#> Warning: Mapping in mrremind:::readIEA_REN not found!
#> WARNING: Mapping in mrremind:::readIEA_REN not found!
#> Warning: Mapping in mrremind:::readIEA_WEO not found!
#> WARNING: Mapping in mrremind:::readIEA_WEO not found!
#> Warning: Mapping in mrremind:::readINNOPATHS not found!
#> WARNING: Mapping in mrremind:::readINNOPATHS not found!
#> Warning: Mapping in mrremind:::readLIMITS not found!
#> WARNING: Mapping in mrremind:::readLIMITS not found!
#> Warning: Mapping in mrremind:::readOpenmod not found!
#> WARNING: Mapping in mrremind:::readOpenmod not found!
#> Warning: Mapping in mrremind:::readProdShares not found!
#> WARNING: Mapping in mrremind:::readProdShares not found!
#> Warning: Mapping in mrremind:::readRCP not found!
#> WARNING: Mapping in mrremind:::readRCP not found!
#> Warning: Mapping in mrremind:::readREMIND_11Regi not found!
#> WARNING: Mapping in mrremind:::readREMIND_11Regi not found!
#> Warning: Mapping in mrremind:::readRemindCesPrices not found!
#> WARNING: Mapping in mrremind:::readRemindCesPrices not found!
#> Warning: Mapping in mrremind:::readRutovitz2015 not found!
#> WARNING: Mapping in mrremind:::readRutovitz2015 not found!
#> Warning: Mapping in mrremind:::readnonEnergyDemand not found!
#> WARNING: Mapping in mrremind:::readnonEnergyDemand not found!
#> Warning: Mapping in mrsoil:::calcLanduse not found!
#> WARNING: Mapping in mrsoil:::calcLanduse not found!
#> Warning: Mapping in mrvalidation:::calcValidCarbon not found!
#> WARNING: Mapping in mrvalidation:::calcValidCarbon not found!
#> Warning: Mapping in mrvalidation:::calcValidCostsTransport not found!
#> WARNING: Mapping in mrvalidation:::calcValidCostsTransport not found!
#> Warning: Mapping in mrvalidation:::calcValidGrassLSUha not found!
#> WARNING: Mapping in mrvalidation:::calcValidGrassLSUha not found!
#> Warning: Mapping in mrvalidation:::calcValidGrassSoilCarbon not found!
#> WARNING: Mapping in mrvalidation:::calcValidGrassSoilCarbon not found!
#> Warning: Mapping in mrvalidation:::calcValidGridYields not found!
#> WARNING: Mapping in mrvalidation:::calcValidGridYields not found!
#> Warning: Mapping in mrvalidation:::calcValidLand not found!
#> WARNING: Mapping in mrvalidation:::calcValidLand not found!
#> Warning: Mapping in mrvalidation:::calcValidManure not found!
#> WARNING: Mapping in mrvalidation:::calcValidManure not found!
#> Warning: Mapping in mrvalidation:::calcValidNitrogenBudgetCropland not found!
#> WARNING: Mapping in mrvalidation:::calcValidNitrogenBudgetCropland not found!
#> Warning: Mapping in mrvalidation:::calcValidSOCDensity not found!
#> WARNING: Mapping in mrvalidation:::calcValidSOCDensity not found!
#> Warning: Mapping in mrvalidation:::calcValidSOCStocks not found!
#> WARNING: Mapping in mrvalidation:::calcValidSOCStocks not found!
#> Warning: Mapping in mrvalidation:::calcValidYield not found!
#> WARNING: Mapping in mrvalidation:::calcValidYield not found!
#> Warning: Mapping in mrvalidation:::readGMIA not found!
#> WARNING: Mapping in mrvalidation:::readGMIA not found!
#> Warning: Mapping in mrvalidation:::readGSOC not found!
#> WARNING: Mapping in mrvalidation:::readGSOC not found!
#> Warning: Mapping in mrvalidation:::readGasser not found!
#> WARNING: Mapping in mrvalidation:::readGasser not found!
#> Warning: Mapping in mrvalidation:::readHID not found!
#> WARNING: Mapping in mrvalidation:::readHID not found!
#> Warning: Mapping in mrvalidation:::readWISE not found!
#> WARNING: Mapping in mrvalidation:::readWISE not found!
#> Warning: Mapping in mrvalidation:::readWaterUsage not found!
#> WARNING: Mapping in mrvalidation:::readWaterUsage not found!
#> Warning: Mapping in mrwater:::calcIrrigWatRequirements not found!
#> WARNING: Mapping in mrwater:::calcIrrigWatRequirements not found!
#> Warning: Mapping in mrwater:::calcYieldsPotential not found!
#> WARNING: Mapping in mrwater:::calcYieldsPotential not found!
#> Warning: Mapping in mrwater:::toolLPJcellCoordinates not found!
#> WARNING: Mapping in mrwater:::toolLPJcellCoordinates not found!
#> Warning: Following functions could not be found in the scope of packages to be checked.: 
#>    calcDemand->calcHHFoodWaste, calcDemand->calcValidKcal, tools::install_git->readGTAP81
#>   Please make sure that they exist and adjust the scope of packages accordingly!
#> WARNING: 
#> Following functions could not be found in the scope of packages to be checked.: 
#>    
#> calcDemand->calcHHFoodWaste, calcDemand->calcValidKcal, tools::install_git->readGTAP81
#> 
#>   Please make sure that they exist and adjust the scope of packages accordingly!
#> hash components (f6becd88):
#>   5394de89 | calcExample | calcExample
#>   06f7b7ad | readData | readData
  fp2 <- madrat:::fingerprint("calcExample2", details = TRUE)
#> hash components (ebfba680):
#>   8386790d | calcExample2 | calcExample2
#>   06f7b7ad | readData | readData
#>   fb52578f | readData2 | readData2

Changing the readData function changes the hash of this function and thereby also the fingerprints of both calc functions even so the hash of the calc functions itself did not change.

  readData2 <- function() {
    "!# @monitor madrat:::toolAggregate"
    return(99)
  } 
  fp <- madrat:::fingerprint("calcExample", details = TRUE)
#> Warning: Mapping in mrcommons:::calc1stBioenergyPast not found!
#> WARNING: Mapping in mrcommons:::calc1stBioenergyPast not found!
#> Warning: Mapping in mrcommons:::calcAgProductionValue not found!
#> WARNING: Mapping in mrcommons:::calcAgProductionValue not found!
#> Warning: Mapping in mrcommons:::calcAreaEquippedForIrrigation not found!
#> WARNING: Mapping in mrcommons:::calcAreaEquippedForIrrigation not found!
#> Warning: Mapping in mrcommons:::calcAtmosphericDeposition not found!
#> WARNING: Mapping in mrcommons:::calcAtmosphericDeposition not found!
#> Warning: Mapping in mrcommons:::calcCentralFeedshares not found!
#> WARNING: Mapping in mrcommons:::calcCentralFeedshares not found!
#> Warning: Mapping in mrcommons:::calcCroparea not found!
#> WARNING: Mapping in mrcommons:::calcCroparea not found!
#> Warning: Mapping in mrcommons:::calcDemography not found!
#> WARNING: Mapping in mrcommons:::calcDemography not found!
#> Warning: Mapping in mrcommons:::calcEF3confinement not found!
#> WARNING: Mapping in mrcommons:::calcEF3confinement not found!
#> Warning: Mapping in mrcommons:::calcEF3prp not found!
#> WARNING: Mapping in mrcommons:::calcEF3prp not found!
#> Warning: Mapping in mrcommons:::calcEmisNitrogenPreagriculture not found!
#> WARNING: Mapping in mrcommons:::calcEmisNitrogenPreagriculture not found!
#> Warning: Mapping in mrcommons:::calcEmissionInventory not found!
#> WARNING: Mapping in mrcommons:::calcEmissionInventory not found!
#> Warning: Mapping in mrcommons:::calcExcretion not found!
#> WARNING: Mapping in mrcommons:::calcExcretion not found!
#> Warning: Mapping in mrcommons:::calcExcretionIPCC not found!
#> WARNING: Mapping in mrcommons:::calcExcretionIPCC not found!
#> Warning: Mapping in mrcommons:::calcFAOForestRelocate not found!
#> WARNING: Mapping in mrcommons:::calcFAOForestRelocate not found!
#> Warning: Mapping in mrcommons:::calcFAOharmonized not found!
#> WARNING: Mapping in mrcommons:::calcFAOharmonized not found!
#> Warning: Mapping in mrcommons:::calcFAOmassbalance_pre not found!
#> WARNING: Mapping in mrcommons:::calcFAOmassbalance_pre not found!
#> Warning: Mapping in mrcommons:::calcFeedBalanceflow not found!
#> WARNING: Mapping in mrcommons:::calcFeedBalanceflow not found!
#> Warning: Mapping in mrcommons:::calcFertN not found!
#> WARNING: Mapping in mrcommons:::calcFertN not found!
#> Warning: Mapping in mrcommons:::calcHistEmissions not found!
#> WARNING: Mapping in mrcommons:::calcHistEmissions not found!
#> Warning: Mapping in mrcommons:::calcIPCCfracLeach not found!
#> WARNING: Mapping in mrcommons:::calcIPCCfracLeach not found!
#> Warning: Mapping in mrcommons:::calcIniFoodPrice not found!
#> WARNING: Mapping in mrcommons:::calcIniFoodPrice not found!
#> Warning: Mapping in mrcommons:::calcIntake not found!
#> WARNING: Mapping in mrcommons:::calcIntake not found!
#> Warning: Mapping in mrcommons:::calcIntakeBodyweight not found!
#> WARNING: Mapping in mrcommons:::calcIntakeBodyweight not found!
#> Warning: Mapping in mrcommons:::calcLPJmL_new not found!
#> WARNING: Mapping in mrcommons:::calcLPJmL_new not found!
#> Warning: Mapping in mrcommons:::calcLUH2v2 not found!
#> WARNING: Mapping in mrcommons:::calcLUH2v2 not found!
#> Warning: Mapping in mrcommons:::calcLandEmissions not found!
#> WARNING: Mapping in mrcommons:::calcLandEmissions not found!
#> Warning: Mapping in mrcommons:::calcLanduseInitialisation not found!
#> WARNING: Mapping in mrcommons:::calcLanduseInitialisation not found!
#> Warning: Mapping in mrcommons:::calcLanduseIntensity not found!
#> WARNING: Mapping in mrcommons:::calcLanduseIntensity not found!
#> Warning: Mapping in mrcommons:::calcLivestockGridded not found!
#> WARNING: Mapping in mrcommons:::calcLivestockGridded not found!
#> Warning: Mapping in mrcommons:::calcNitrogenBNF not found!
#> WARNING: Mapping in mrcommons:::calcNitrogenBNF not found!
#> Warning: Mapping in mrcommons:::calcPlantEstablishCalib not found!
#> WARNING: Mapping in mrcommons:::calcPlantEstablishCalib not found!
#> Warning: Mapping in mrcommons:::calcPriceAgriculture not found!
#> WARNING: Mapping in mrcommons:::calcPriceAgriculture not found!
#> Warning: Mapping in mrcommons:::calcPricesProducer not found!
#> WARNING: Mapping in mrcommons:::calcPricesProducer not found!
#> Warning: Mapping in mrcommons:::calcProduction not found!
#> WARNING: Mapping in mrcommons:::calcProduction not found!
#> Warning: Mapping in mrcommons:::calcResFieldBalancePast not found!
#> WARNING: Mapping in mrcommons:::calcResFieldBalancePast not found!
#> Warning: Mapping in mrcommons:::calcRockNWeathering not found!
#> WARNING: Mapping in mrcommons:::calcRockNWeathering not found!
#> Warning: Mapping in mrcommons:::calcSOCLossShare not found!
#> WARNING: Mapping in mrcommons:::calcSOCLossShare not found!
#> Warning: Mapping in mrcommons:::calcSOMlossN not found!
#> WARNING: Mapping in mrcommons:::calcSOMlossN not found!
#> Warning: Mapping in mrcommons:::calcSeed not found!
#> WARNING: Mapping in mrcommons:::calcSeed not found!
#> Warning: Mapping in mrcommons:::calcStorage not found!
#> WARNING: Mapping in mrcommons:::calcStorage not found!
#> Warning: Mapping in mrcommons:::calcTemperature not found!
#> WARNING: Mapping in mrcommons:::calcTemperature not found!
#> Warning: Mapping in mrcommons:::readACCMIP not found!
#> WARNING: Mapping in mrcommons:::readACCMIP not found!
#> Warning: Mapping in mrcommons:::readExpertGuessSSPLivestockProduction not found!
#> WARNING: Mapping in mrcommons:::readExpertGuessSSPLivestockProduction not found!
#> Warning: Mapping in mrcommons:::readFAO_FRA2015 not found!
#> WARNING: Mapping in mrcommons:::readFAO_FRA2015 not found!
#> Warning: Mapping in mrcommons:::readGFED not found!
#> WARNING: Mapping in mrcommons:::readGFED not found!
#> Warning: Mapping in mrcommons:::readGTAP81 not found!
#> WARNING: Mapping in mrcommons:::readGTAP81 not found!
#> Warning: Mapping in mrcommons:::readIEA not found!
#> WARNING: Mapping in mrcommons:::readIEA not found!
#> Warning: Mapping in mrcommons:::readIFA not found!
#> WARNING: Mapping in mrcommons:::readIFA not found!
#> Warning: Mapping in mrcommons:::readKoeppen not found!
#> WARNING: Mapping in mrcommons:::readKoeppen not found!
#> Warning: Mapping in mrcommons:::readLPJmL not found!
#> WARNING: Mapping in mrcommons:::readLPJmL not found!
#> Warning: Mapping in mrcommons:::readLUH2v2 not found!
#> WARNING: Mapping in mrcommons:::readLUH2v2 not found!
#> Warning: Mapping in mrcommons:::readMAgPIE not found!
#> WARNING: Mapping in mrcommons:::readMAgPIE not found!
#> Warning: Mapping in mrcommons:::readNCDrisc not found!
#> WARNING: Mapping in mrcommons:::readNCDrisc not found!
#> Warning: Mapping in mrcommons:::readPBL_MACC_2019 not found!
#> WARNING: Mapping in mrcommons:::readPBL_MACC_2019 not found!
#> Warning: Mapping in mrcommons:::readSSPResults not found!
#> WARNING: Mapping in mrcommons:::readSSPResults not found!
#> Warning: Mapping in mrcommons:::readSoilGrids not found!
#> WARNING: Mapping in mrcommons:::readSoilGrids not found!
#> Warning: Mapping in mrcommons:::readVanDrecht2009 not found!
#> WARNING: Mapping in mrcommons:::readVanDrecht2009 not found!
#> Warning: Mapping in mrcommons:::toolCell2isoCell not found!
#> WARNING: Mapping in mrcommons:::toolCell2isoCell not found!
#> Warning: Mapping in mrcommons:::toolIso2CellCountries not found!
#> WARNING: Mapping in mrcommons:::toolIso2CellCountries not found!
#> Warning: Mapping in mrfeed:::calcFAOFodder_aggrFEED not found!
#> WARNING: Mapping in mrfeed:::calcFAOFodder_aggrFEED not found!
#> Warning: Mapping in mrfeed:::calcResFeedAvailability not found!
#> WARNING: Mapping in mrfeed:::calcResFeedAvailability not found!
#> Warning: Mapping in mrland:::calcBMIshr not found!
#> WARNING: Mapping in mrland:::calcBMIshr not found!
#> Warning: Mapping in mrland:::calcClimateRegionsIPCC not found!
#> WARNING: Mapping in mrland:::calcClimateRegionsIPCC not found!
#> Warning: Mapping in mrland:::calcEATFruitvegRatio not found!
#> WARNING: Mapping in mrland:::calcEATFruitvegRatio not found!
#> Warning: Mapping in mrland:::calcPastureYield not found!
#> WARNING: Mapping in mrland:::calcPastureYield not found!
#> Warning: Mapping in mrland:::calcPlantationContribution not found!
#> WARNING: Mapping in mrland:::calcPlantationContribution not found!
#> Warning: Mapping in mrland:::calcPlantedForest not found!
#> WARNING: Mapping in mrland:::calcPlantedForest not found!
#> Warning: Mapping in mrland:::readForestLossDrivers not found!
#> WARNING: Mapping in mrland:::readForestLossDrivers not found!
#> Warning: Mapping in mrland:::readGLW3 not found!
#> WARNING: Mapping in mrland:::readGLW3 not found!
#> Warning: Mapping in mrland:::readGTAP not found!
#> WARNING: Mapping in mrland:::readGTAP not found!
#> Warning: Mapping in mrland:::readREMMAG not found!
#> WARNING: Mapping in mrland:::readREMMAG not found!
#> Warning: Mapping in mrmagpie:::calcAgeClassDistribution not found!
#> WARNING: Mapping in mrmagpie:::calcAgeClassDistribution not found!
#> Warning: Mapping in mrmagpie:::calcAreaActuallyIrrigated not found!
#> WARNING: Mapping in mrmagpie:::calcAreaActuallyIrrigated not found!
#> Warning: Mapping in mrmagpie:::calcAvlWater not found!
#> WARNING: Mapping in mrmagpie:::calcAvlWater not found!
#> Warning: Mapping in mrmagpie:::calcBphEffect not found!
#> WARNING: Mapping in mrmagpie:::calcBphEffect not found!
#> Warning: Mapping in mrmagpie:::calcCO2Atmosphere not found!
#> WARNING: Mapping in mrmagpie:::calcCO2Atmosphere not found!
#> Warning: Mapping in mrmagpie:::calcCO2Atmosphere_new not found!
#> WARNING: Mapping in mrmagpie:::calcCO2Atmosphere_new not found!
#> Warning: Mapping in mrmagpie:::calcCalibratedYields not found!
#> WARNING: Mapping in mrmagpie:::calcCalibratedYields not found!
#> Warning: Mapping in mrmagpie:::calcClimateClass not found!
#> WARNING: Mapping in mrmagpie:::calcClimateClass not found!
#> Warning: Mapping in mrmagpie:::calcClusterBase not found!
#> WARNING: Mapping in mrmagpie:::calcClusterBase not found!
#> Warning: Mapping in mrmagpie:::calcCollectEnvironmentData not found!
#> WARNING: Mapping in mrmagpie:::calcCollectEnvironmentData not found!
#> Warning: Mapping in mrmagpie:::calcCollectEnvironmentData_new not found!
#> WARNING: Mapping in mrmagpie:::calcCollectEnvironmentData_new not found!
#> Warning: Mapping in mrmagpie:::calcCollectSoilCarbonLSU not found!
#> WARNING: Mapping in mrmagpie:::calcCollectSoilCarbonLSU not found!
#> Warning: Mapping in mrmagpie:::calcCollectSoilCarbonPastr not found!
#> WARNING: Mapping in mrmagpie:::calcCollectSoilCarbonPastr not found!
#> Warning: Mapping in mrmagpie:::calcEmuPastCorrectFactor not found!
#> WARNING: Mapping in mrmagpie:::calcEmuPastCorrectFactor not found!
#> Warning: Mapping in mrmagpie:::calcEmuPastCorrectFactor2 not found!
#> WARNING: Mapping in mrmagpie:::calcEmuPastCorrectFactor2 not found!
#> Warning: Mapping in mrmagpie:::calcEmuPastCorrectFactor3 not found!
#> WARNING: Mapping in mrmagpie:::calcEmuPastCorrectFactor3 not found!
#> Warning: Mapping in mrmagpie:::calcGrassLndYldHist not found!
#> WARNING: Mapping in mrmagpie:::calcGrassLndYldHist not found!
#> Warning: Mapping in mrmagpie:::calcGrassPastureShare not found!
#> WARNING: Mapping in mrmagpie:::calcGrassPastureShare not found!
#> Warning: Mapping in mrmagpie:::calcGrasslandsYields not found!
#> WARNING: Mapping in mrmagpie:::calcGrasslandsYields not found!
#> Warning: Mapping in mrmagpie:::calcGridPop_new not found!
#> WARNING: Mapping in mrmagpie:::calcGridPop_new not found!
#> Warning: Mapping in mrmagpie:::calcGrowingPeriod not found!
#> WARNING: Mapping in mrmagpie:::calcGrowingPeriod not found!
#> Warning: Mapping in mrmagpie:::calcIrrigation not found!
#> WARNING: Mapping in mrmagpie:::calcIrrigation not found!
#> Warning: Mapping in mrmagpie:::calcLivestockDistribution not found!
#> WARNING: Mapping in mrmagpie:::calcLivestockDistribution not found!
#> Warning: Mapping in mrmagpie:::calcLsuDensityHist not found!
#> WARNING: Mapping in mrmagpie:::calcLsuDensityHist not found!
#> Warning: Mapping in mrmagpie:::calcNpiNdcAdAolcPol not found!
#> WARNING: Mapping in mrmagpie:::calcNpiNdcAdAolcPol not found!
#> Warning: Mapping in mrmagpie:::calcNpiNdcAffPol not found!
#> WARNING: Mapping in mrmagpie:::calcNpiNdcAffPol not found!
#> Warning: Mapping in mrmagpie:::calcPastureSuit not found!
#> WARNING: Mapping in mrmagpie:::calcPastureSuit not found!
#> Warning: Mapping in mrmagpie:::calcPeatland not found!
#> WARNING: Mapping in mrmagpie:::calcPeatland not found!
#> Warning: Mapping in mrmagpie:::calcScaleEnvironmentData not found!
#> WARNING: Mapping in mrmagpie:::calcScaleEnvironmentData not found!
#> Warning: Mapping in mrmagpie:::calcScaleEnvironmentData_new not found!
#> WARNING: Mapping in mrmagpie:::calcScaleEnvironmentData_new not found!
#> Warning: Mapping in mrmagpie:::calcScaledPastSoilCarbon not found!
#> WARNING: Mapping in mrmagpie:::calcScaledPastSoilCarbon not found!
#> Warning: Mapping in mrmagpie:::calcSoilCharacteristics not found!
#> WARNING: Mapping in mrmagpie:::calcSoilCharacteristics not found!
#> Warning: Mapping in mrmagpie:::calcYields not found!
#> WARNING: Mapping in mrmagpie:::calcYields not found!
#> Warning: Mapping in mrmagpie:::readGCF_SeaLevelRise not found!
#> WARNING: Mapping in mrmagpie:::readGCF_SeaLevelRise not found!
#> Warning: Mapping in mrmagpie:::readGFAD not found!
#> WARNING: Mapping in mrmagpie:::readGFAD not found!
#> Warning: Mapping in mrmagpie:::readGridPop_new not found!
#> WARNING: Mapping in mrmagpie:::readGridPop_new not found!
#> Warning: Mapping in mrmagpie:::readIPCCClimate not found!
#> WARNING: Mapping in mrmagpie:::readIPCCClimate not found!
#> Warning: Mapping in mrmagpie:::readLUH2UrbanFuture not found!
#> WARNING: Mapping in mrmagpie:::readLUH2UrbanFuture not found!
#> Warning: Mapping in mrmagpie:::readLabourProdImpactOrlov not found!
#> WARNING: Mapping in mrmagpie:::readLabourProdImpactOrlov not found!
#> Warning: Mapping in mrremind:::calcAGEB not found!
#> WARNING: Mapping in mrremind:::calcAGEB not found!
#> Warning: Mapping in mrremind:::calcCementShare not found!
#> WARNING: Mapping in mrremind:::calcCementShare not found!
#> Warning: Mapping in mrremind:::calcCoolingSharesBase not found!
#> WARNING: Mapping in mrremind:::calcCoolingSharesBase not found!
#> Warning: Mapping in mrremind:::calcCoolingSharesFuture not found!
#> WARNING: Mapping in mrremind:::calcCoolingSharesFuture not found!
#> Warning: Mapping in mrremind:::calcDiffInvestCosts not found!
#> WARNING: Mapping in mrremind:::calcDiffInvestCosts not found!
#> Warning: Mapping in mrremind:::calcDspvShare not found!
#> WARNING: Mapping in mrremind:::calcDspvShare not found!
#> Warning: Mapping in mrremind:::calcEconometricEmiParameter not found!
#> WARNING: Mapping in mrremind:::calcEconometricEmiParameter not found!
#> Warning: Mapping in mrremind:::calcEffortSharingRefEmi not found!
#> WARNING: Mapping in mrremind:::calcEffortSharingRefEmi not found!
#> Warning: Mapping in mrremind:::calcEmissionFactors not found!
#> WARNING: Mapping in mrremind:::calcEmissionFactors not found!
#> Warning: Mapping in mrremind:::calcEmissions not found!
#> WARNING: Mapping in mrremind:::calcEmissions not found!
#> Warning: Mapping in mrremind:::calcEmploymentfactors not found!
#> WARNING: Mapping in mrremind:::calcEmploymentfactors not found!
#> Warning: Mapping in mrremind:::calcFE not found!
#> WARNING: Mapping in mrremind:::calcFE not found!
#> Warning: Mapping in mrremind:::calcFEdemand not found!
#> WARNING: Mapping in mrremind:::calcFEdemand not found!
#> Warning: Mapping in mrremind:::calcGAINS not found!
#> WARNING: Mapping in mrremind:::calcGAINS not found!
#> Warning: Mapping in mrremind:::calcGAINSEmi not found!
#> WARNING: Mapping in mrremind:::calcGAINSEmi not found!
#> Warning: Mapping in mrremind:::calcIEA_PFU not found!
#> WARNING: Mapping in mrremind:::calcIEA_PFU not found!
#> Warning: Mapping in mrremind:::calcIO not found!
#> WARNING: Mapping in mrremind:::calcIO not found!
#> Warning: Mapping in mrremind:::calcJRC_IDEES not found!
#> WARNING: Mapping in mrremind:::calcJRC_IDEES not found!
#> Warning: Mapping in mrremind:::calcPE not found!
#> WARNING: Mapping in mrremind:::calcPE not found!
#> Warning: Mapping in mrremind:::calcRegion2MAGICC not found!
#> WARNING: Mapping in mrremind:::calcRegion2MAGICC not found!
#> Warning: Mapping in mrremind:::calcUBA not found!
#> WARNING: Mapping in mrremind:::calcUBA not found!
#> Warning: Mapping in mrremind:::calcUNFCCC not found!
#> WARNING: Mapping in mrremind:::calcUNFCCC not found!
#> Warning: Mapping in mrremind:::calcWaterConsCoef not found!
#> WARNING: Mapping in mrremind:::calcWaterConsCoef not found!
#> Warning: Mapping in mrremind:::calcWaterWithCoef not found!
#> WARNING: Mapping in mrremind:::calcWaterWithCoef not found!
#> Warning: Mapping in mrremind:::readDylanAusGasCost not found!
#> WARNING: Mapping in mrremind:::readDylanAusGasCost not found!
#> Warning: Mapping in mrremind:::readECLIPSE not found!
#> WARNING: Mapping in mrremind:::readECLIPSE not found!
#> Warning: Mapping in mrremind:::readEDGE not found!
#> WARNING: Mapping in mrremind:::readEDGE not found!
#> Warning: Mapping in mrremind:::readEDGETransport not found!
#> WARNING: Mapping in mrremind:::readEDGETransport not found!
#> Warning: Mapping in mrremind:::readGCPT not found!
#> WARNING: Mapping in mrremind:::readGCPT not found!
#> Warning: Mapping in mrremind:::readGCPT2020_extra not found!
#> WARNING: Mapping in mrremind:::readGCPT2020_extra not found!
#> Warning: Mapping in mrremind:::readGEA2012 not found!
#> WARNING: Mapping in mrremind:::readGEA2012 not found!
#> Warning: Mapping in mrremind:::readIEA_ETP not found!
#> WARNING: Mapping in mrremind:::readIEA_ETP not found!
#> Warning: Mapping in mrremind:::readIEA_PVPS not found!
#> WARNING: Mapping in mrremind:::readIEA_PVPS not found!
#> Warning: Mapping in mrremind:::readIEA_REN not found!
#> WARNING: Mapping in mrremind:::readIEA_REN not found!
#> Warning: Mapping in mrremind:::readIEA_WEO not found!
#> WARNING: Mapping in mrremind:::readIEA_WEO not found!
#> Warning: Mapping in mrremind:::readINNOPATHS not found!
#> WARNING: Mapping in mrremind:::readINNOPATHS not found!
#> Warning: Mapping in mrremind:::readLIMITS not found!
#> WARNING: Mapping in mrremind:::readLIMITS not found!
#> Warning: Mapping in mrremind:::readOpenmod not found!
#> WARNING: Mapping in mrremind:::readOpenmod not found!
#> Warning: Mapping in mrremind:::readProdShares not found!
#> WARNING: Mapping in mrremind:::readProdShares not found!
#> Warning: Mapping in mrremind:::readRCP not found!
#> WARNING: Mapping in mrremind:::readRCP not found!
#> Warning: Mapping in mrremind:::readREMIND_11Regi not found!
#> WARNING: Mapping in mrremind:::readREMIND_11Regi not found!
#> Warning: Mapping in mrremind:::readRemindCesPrices not found!
#> WARNING: Mapping in mrremind:::readRemindCesPrices not found!
#> Warning: Mapping in mrremind:::readRutovitz2015 not found!
#> WARNING: Mapping in mrremind:::readRutovitz2015 not found!
#> Warning: Mapping in mrremind:::readnonEnergyDemand not found!
#> WARNING: Mapping in mrremind:::readnonEnergyDemand not found!
#> Warning: Mapping in mrsoil:::calcLanduse not found!
#> WARNING: Mapping in mrsoil:::calcLanduse not found!
#> Warning: Mapping in mrvalidation:::calcValidCarbon not found!
#> WARNING: Mapping in mrvalidation:::calcValidCarbon not found!
#> Warning: Mapping in mrvalidation:::calcValidCostsTransport not found!
#> WARNING: Mapping in mrvalidation:::calcValidCostsTransport not found!
#> Warning: Mapping in mrvalidation:::calcValidGrassLSUha not found!
#> WARNING: Mapping in mrvalidation:::calcValidGrassLSUha not found!
#> Warning: Mapping in mrvalidation:::calcValidGrassSoilCarbon not found!
#> WARNING: Mapping in mrvalidation:::calcValidGrassSoilCarbon not found!
#> Warning: Mapping in mrvalidation:::calcValidGridYields not found!
#> WARNING: Mapping in mrvalidation:::calcValidGridYields not found!
#> Warning: Mapping in mrvalidation:::calcValidLand not found!
#> WARNING: Mapping in mrvalidation:::calcValidLand not found!
#> Warning: Mapping in mrvalidation:::calcValidManure not found!
#> WARNING: Mapping in mrvalidation:::calcValidManure not found!
#> Warning: Mapping in mrvalidation:::calcValidNitrogenBudgetCropland not found!
#> WARNING: Mapping in mrvalidation:::calcValidNitrogenBudgetCropland not found!
#> Warning: Mapping in mrvalidation:::calcValidSOCDensity not found!
#> WARNING: Mapping in mrvalidation:::calcValidSOCDensity not found!
#> Warning: Mapping in mrvalidation:::calcValidSOCStocks not found!
#> WARNING: Mapping in mrvalidation:::calcValidSOCStocks not found!
#> Warning: Mapping in mrvalidation:::calcValidYield not found!
#> WARNING: Mapping in mrvalidation:::calcValidYield not found!
#> Warning: Mapping in mrvalidation:::readGMIA not found!
#> WARNING: Mapping in mrvalidation:::readGMIA not found!
#> Warning: Mapping in mrvalidation:::readGSOC not found!
#> WARNING: Mapping in mrvalidation:::readGSOC not found!
#> Warning: Mapping in mrvalidation:::readGasser not found!
#> WARNING: Mapping in mrvalidation:::readGasser not found!
#> Warning: Mapping in mrvalidation:::readHID not found!
#> WARNING: Mapping in mrvalidation:::readHID not found!
#> Warning: Mapping in mrvalidation:::readWISE not found!
#> WARNING: Mapping in mrvalidation:::readWISE not found!
#> Warning: Mapping in mrvalidation:::readWaterUsage not found!
#> WARNING: Mapping in mrvalidation:::readWaterUsage not found!
#> Warning: Mapping in mrwater:::calcIrrigWatRequirements not found!
#> WARNING: Mapping in mrwater:::calcIrrigWatRequirements not found!
#> Warning: Mapping in mrwater:::calcYieldsPotential not found!
#> WARNING: Mapping in mrwater:::calcYieldsPotential not found!
#> Warning: Mapping in mrwater:::toolLPJcellCoordinates not found!
#> WARNING: Mapping in mrwater:::toolLPJcellCoordinates not found!
#> Warning: Following functions could not be found in the scope of packages to be checked.: 
#>    calcDemand->calcHHFoodWaste, calcDemand->calcValidKcal, tools::install_git->readGTAP81
#>   Please make sure that they exist and adjust the scope of packages accordingly!
#> WARNING: 
#> Following functions could not be found in the scope of packages to be checked.: 
#>    
#> calcDemand->calcHHFoodWaste, calcDemand->calcValidKcal, tools::install_git->readGTAP81
#> 
#>   Please make sure that they exist and adjust the scope of packages accordingly!
#> hash components (f6becd88):
#>   5394de89 | calcExample | calcExample
#>   06f7b7ad | readData | readData
  fp2 <- madrat:::fingerprint("calcExample2", details = TRUE)
#> hash components (b350629d):
#>   8386790d | calcExample2 | calcExample2
#>   35685729 | madrat:::toolAggregate | madrat:::toolAggregate
#>   06f7b7ad | readData | readData
#>   13c681da | readData2 | readData2

Adding a monitor control flag in readData also add this hash component to all subsequent fingerprint calculations.


  calcExample2 <- function() {
    "!# @ignore readData2"
    a <- readSource("Data")
    if(FALSE) b <- readSource("Data2")
  }

  calcExample3 <- function() {
    a <- calcOutput("Example2")
  }

  fp2 <- madrat:::fingerprint("calcExample2", details = TRUE)
#> Warning: Mapping in mrcommons:::calc1stBioenergyPast not found!
#> WARNING: Mapping in mrcommons:::calc1stBioenergyPast not found!
#> Warning: Mapping in mrcommons:::calcAgProductionValue not found!
#> WARNING: Mapping in mrcommons:::calcAgProductionValue not found!
#> Warning: Mapping in mrcommons:::calcAreaEquippedForIrrigation not found!
#> WARNING: Mapping in mrcommons:::calcAreaEquippedForIrrigation not found!
#> Warning: Mapping in mrcommons:::calcAtmosphericDeposition not found!
#> WARNING: Mapping in mrcommons:::calcAtmosphericDeposition not found!
#> Warning: Mapping in mrcommons:::calcCentralFeedshares not found!
#> WARNING: Mapping in mrcommons:::calcCentralFeedshares not found!
#> Warning: Mapping in mrcommons:::calcCroparea not found!
#> WARNING: Mapping in mrcommons:::calcCroparea not found!
#> Warning: Mapping in mrcommons:::calcDemography not found!
#> WARNING: Mapping in mrcommons:::calcDemography not found!
#> Warning: Mapping in mrcommons:::calcEF3confinement not found!
#> WARNING: Mapping in mrcommons:::calcEF3confinement not found!
#> Warning: Mapping in mrcommons:::calcEF3prp not found!
#> WARNING: Mapping in mrcommons:::calcEF3prp not found!
#> Warning: Mapping in mrcommons:::calcEmisNitrogenPreagriculture not found!
#> WARNING: Mapping in mrcommons:::calcEmisNitrogenPreagriculture not found!
#> Warning: Mapping in mrcommons:::calcEmissionInventory not found!
#> WARNING: Mapping in mrcommons:::calcEmissionInventory not found!
#> Warning: Mapping in mrcommons:::calcExcretion not found!
#> WARNING: Mapping in mrcommons:::calcExcretion not found!
#> Warning: Mapping in mrcommons:::calcExcretionIPCC not found!
#> WARNING: Mapping in mrcommons:::calcExcretionIPCC not found!
#> Warning: Mapping in mrcommons:::calcFAOForestRelocate not found!
#> WARNING: Mapping in mrcommons:::calcFAOForestRelocate not found!
#> Warning: Mapping in mrcommons:::calcFAOharmonized not found!
#> WARNING: Mapping in mrcommons:::calcFAOharmonized not found!
#> Warning: Mapping in mrcommons:::calcFAOmassbalance_pre not found!
#> WARNING: Mapping in mrcommons:::calcFAOmassbalance_pre not found!
#> Warning: Mapping in mrcommons:::calcFeedBalanceflow not found!
#> WARNING: Mapping in mrcommons:::calcFeedBalanceflow not found!
#> Warning: Mapping in mrcommons:::calcFertN not found!
#> WARNING: Mapping in mrcommons:::calcFertN not found!
#> Warning: Mapping in mrcommons:::calcHistEmissions not found!
#> WARNING: Mapping in mrcommons:::calcHistEmissions not found!
#> Warning: Mapping in mrcommons:::calcIPCCfracLeach not found!
#> WARNING: Mapping in mrcommons:::calcIPCCfracLeach not found!
#> Warning: Mapping in mrcommons:::calcIniFoodPrice not found!
#> WARNING: Mapping in mrcommons:::calcIniFoodPrice not found!
#> Warning: Mapping in mrcommons:::calcIntake not found!
#> WARNING: Mapping in mrcommons:::calcIntake not found!
#> Warning: Mapping in mrcommons:::calcIntakeBodyweight not found!
#> WARNING: Mapping in mrcommons:::calcIntakeBodyweight not found!
#> Warning: Mapping in mrcommons:::calcLPJmL_new not found!
#> WARNING: Mapping in mrcommons:::calcLPJmL_new not found!
#> Warning: Mapping in mrcommons:::calcLUH2v2 not found!
#> WARNING: Mapping in mrcommons:::calcLUH2v2 not found!
#> Warning: Mapping in mrcommons:::calcLandEmissions not found!
#> WARNING: Mapping in mrcommons:::calcLandEmissions not found!
#> Warning: Mapping in mrcommons:::calcLanduseInitialisation not found!
#> WARNING: Mapping in mrcommons:::calcLanduseInitialisation not found!
#> Warning: Mapping in mrcommons:::calcLanduseIntensity not found!
#> WARNING: Mapping in mrcommons:::calcLanduseIntensity not found!
#> Warning: Mapping in mrcommons:::calcLivestockGridded not found!
#> WARNING: Mapping in mrcommons:::calcLivestockGridded not found!
#> Warning: Mapping in mrcommons:::calcNitrogenBNF not found!
#> WARNING: Mapping in mrcommons:::calcNitrogenBNF not found!
#> Warning: Mapping in mrcommons:::calcPlantEstablishCalib not found!
#> WARNING: Mapping in mrcommons:::calcPlantEstablishCalib not found!
#> Warning: Mapping in mrcommons:::calcPriceAgriculture not found!
#> WARNING: Mapping in mrcommons:::calcPriceAgriculture not found!
#> Warning: Mapping in mrcommons:::calcPricesProducer not found!
#> WARNING: Mapping in mrcommons:::calcPricesProducer not found!
#> Warning: Mapping in mrcommons:::calcProduction not found!
#> WARNING: Mapping in mrcommons:::calcProduction not found!
#> Warning: Mapping in mrcommons:::calcResFieldBalancePast not found!
#> WARNING: Mapping in mrcommons:::calcResFieldBalancePast not found!
#> Warning: Mapping in mrcommons:::calcRockNWeathering not found!
#> WARNING: Mapping in mrcommons:::calcRockNWeathering not found!
#> Warning: Mapping in mrcommons:::calcSOCLossShare not found!
#> WARNING: Mapping in mrcommons:::calcSOCLossShare not found!
#> Warning: Mapping in mrcommons:::calcSOMlossN not found!
#> WARNING: Mapping in mrcommons:::calcSOMlossN not found!
#> Warning: Mapping in mrcommons:::calcSeed not found!
#> WARNING: Mapping in mrcommons:::calcSeed not found!
#> Warning: Mapping in mrcommons:::calcStorage not found!
#> WARNING: Mapping in mrcommons:::calcStorage not found!
#> Warning: Mapping in mrcommons:::calcTemperature not found!
#> WARNING: Mapping in mrcommons:::calcTemperature not found!
#> Warning: Mapping in mrcommons:::readACCMIP not found!
#> WARNING: Mapping in mrcommons:::readACCMIP not found!
#> Warning: Mapping in mrcommons:::readExpertGuessSSPLivestockProduction not found!
#> WARNING: Mapping in mrcommons:::readExpertGuessSSPLivestockProduction not found!
#> Warning: Mapping in mrcommons:::readFAO_FRA2015 not found!
#> WARNING: Mapping in mrcommons:::readFAO_FRA2015 not found!
#> Warning: Mapping in mrcommons:::readGFED not found!
#> WARNING: Mapping in mrcommons:::readGFED not found!
#> Warning: Mapping in mrcommons:::readGTAP81 not found!
#> WARNING: Mapping in mrcommons:::readGTAP81 not found!
#> Warning: Mapping in mrcommons:::readIEA not found!
#> WARNING: Mapping in mrcommons:::readIEA not found!
#> Warning: Mapping in mrcommons:::readIFA not found!
#> WARNING: Mapping in mrcommons:::readIFA not found!
#> Warning: Mapping in mrcommons:::readKoeppen not found!
#> WARNING: Mapping in mrcommons:::readKoeppen not found!
#> Warning: Mapping in mrcommons:::readLPJmL not found!
#> WARNING: Mapping in mrcommons:::readLPJmL not found!
#> Warning: Mapping in mrcommons:::readLUH2v2 not found!
#> WARNING: Mapping in mrcommons:::readLUH2v2 not found!
#> Warning: Mapping in mrcommons:::readMAgPIE not found!
#> WARNING: Mapping in mrcommons:::readMAgPIE not found!
#> Warning: Mapping in mrcommons:::readNCDrisc not found!
#> WARNING: Mapping in mrcommons:::readNCDrisc not found!
#> Warning: Mapping in mrcommons:::readPBL_MACC_2019 not found!
#> WARNING: Mapping in mrcommons:::readPBL_MACC_2019 not found!
#> Warning: Mapping in mrcommons:::readSSPResults not found!
#> WARNING: Mapping in mrcommons:::readSSPResults not found!
#> Warning: Mapping in mrcommons:::readSoilGrids not found!
#> WARNING: Mapping in mrcommons:::readSoilGrids not found!
#> Warning: Mapping in mrcommons:::readVanDrecht2009 not found!
#> WARNING: Mapping in mrcommons:::readVanDrecht2009 not found!
#> Warning: Mapping in mrcommons:::toolCell2isoCell not found!
#> WARNING: Mapping in mrcommons:::toolCell2isoCell not found!
#> Warning: Mapping in mrcommons:::toolIso2CellCountries not found!
#> WARNING: Mapping in mrcommons:::toolIso2CellCountries not found!
#> Warning: Mapping in mrfeed:::calcFAOFodder_aggrFEED not found!
#> WARNING: Mapping in mrfeed:::calcFAOFodder_aggrFEED not found!
#> Warning: Mapping in mrfeed:::calcResFeedAvailability not found!
#> WARNING: Mapping in mrfeed:::calcResFeedAvailability not found!
#> Warning: Mapping in mrland:::calcBMIshr not found!
#> WARNING: Mapping in mrland:::calcBMIshr not found!
#> Warning: Mapping in mrland:::calcClimateRegionsIPCC not found!
#> WARNING: Mapping in mrland:::calcClimateRegionsIPCC not found!
#> Warning: Mapping in mrland:::calcEATFruitvegRatio not found!
#> WARNING: Mapping in mrland:::calcEATFruitvegRatio not found!
#> Warning: Mapping in mrland:::calcPastureYield not found!
#> WARNING: Mapping in mrland:::calcPastureYield not found!
#> Warning: Mapping in mrland:::calcPlantationContribution not found!
#> WARNING: Mapping in mrland:::calcPlantationContribution not found!
#> Warning: Mapping in mrland:::calcPlantedForest not found!
#> WARNING: Mapping in mrland:::calcPlantedForest not found!
#> Warning: Mapping in mrland:::readForestLossDrivers not found!
#> WARNING: Mapping in mrland:::readForestLossDrivers not found!
#> Warning: Mapping in mrland:::readGLW3 not found!
#> WARNING: Mapping in mrland:::readGLW3 not found!
#> Warning: Mapping in mrland:::readGTAP not found!
#> WARNING: Mapping in mrland:::readGTAP not found!
#> Warning: Mapping in mrland:::readREMMAG not found!
#> WARNING: Mapping in mrland:::readREMMAG not found!
#> Warning: Mapping in mrmagpie:::calcAgeClassDistribution not found!
#> WARNING: Mapping in mrmagpie:::calcAgeClassDistribution not found!
#> Warning: Mapping in mrmagpie:::calcAreaActuallyIrrigated not found!
#> WARNING: Mapping in mrmagpie:::calcAreaActuallyIrrigated not found!
#> Warning: Mapping in mrmagpie:::calcAvlWater not found!
#> WARNING: Mapping in mrmagpie:::calcAvlWater not found!
#> Warning: Mapping in mrmagpie:::calcBphEffect not found!
#> WARNING: Mapping in mrmagpie:::calcBphEffect not found!
#> Warning: Mapping in mrmagpie:::calcCO2Atmosphere not found!
#> WARNING: Mapping in mrmagpie:::calcCO2Atmosphere not found!
#> Warning: Mapping in mrmagpie:::calcCO2Atmosphere_new not found!
#> WARNING: Mapping in mrmagpie:::calcCO2Atmosphere_new not found!
#> Warning: Mapping in mrmagpie:::calcCalibratedYields not found!
#> WARNING: Mapping in mrmagpie:::calcCalibratedYields not found!
#> Warning: Mapping in mrmagpie:::calcClimateClass not found!
#> WARNING: Mapping in mrmagpie:::calcClimateClass not found!
#> Warning: Mapping in mrmagpie:::calcClusterBase not found!
#> WARNING: Mapping in mrmagpie:::calcClusterBase not found!
#> Warning: Mapping in mrmagpie:::calcCollectEnvironmentData not found!
#> WARNING: Mapping in mrmagpie:::calcCollectEnvironmentData not found!
#> Warning: Mapping in mrmagpie:::calcCollectEnvironmentData_new not found!
#> WARNING: Mapping in mrmagpie:::calcCollectEnvironmentData_new not found!
#> Warning: Mapping in mrmagpie:::calcCollectSoilCarbonLSU not found!
#> WARNING: Mapping in mrmagpie:::calcCollectSoilCarbonLSU not found!
#> Warning: Mapping in mrmagpie:::calcCollectSoilCarbonPastr not found!
#> WARNING: Mapping in mrmagpie:::calcCollectSoilCarbonPastr not found!
#> Warning: Mapping in mrmagpie:::calcEmuPastCorrectFactor not found!
#> WARNING: Mapping in mrmagpie:::calcEmuPastCorrectFactor not found!
#> Warning: Mapping in mrmagpie:::calcEmuPastCorrectFactor2 not found!
#> WARNING: Mapping in mrmagpie:::calcEmuPastCorrectFactor2 not found!
#> Warning: Mapping in mrmagpie:::calcEmuPastCorrectFactor3 not found!
#> WARNING: Mapping in mrmagpie:::calcEmuPastCorrectFactor3 not found!
#> Warning: Mapping in mrmagpie:::calcGrassLndYldHist not found!
#> WARNING: Mapping in mrmagpie:::calcGrassLndYldHist not found!
#> Warning: Mapping in mrmagpie:::calcGrassPastureShare not found!
#> WARNING: Mapping in mrmagpie:::calcGrassPastureShare not found!
#> Warning: Mapping in mrmagpie:::calcGrasslandsYields not found!
#> WARNING: Mapping in mrmagpie:::calcGrasslandsYields not found!
#> Warning: Mapping in mrmagpie:::calcGridPop_new not found!
#> WARNING: Mapping in mrmagpie:::calcGridPop_new not found!
#> Warning: Mapping in mrmagpie:::calcGrowingPeriod not found!
#> WARNING: Mapping in mrmagpie:::calcGrowingPeriod not found!
#> Warning: Mapping in mrmagpie:::calcIrrigation not found!
#> WARNING: Mapping in mrmagpie:::calcIrrigation not found!
#> Warning: Mapping in mrmagpie:::calcLivestockDistribution not found!
#> WARNING: Mapping in mrmagpie:::calcLivestockDistribution not found!
#> Warning: Mapping in mrmagpie:::calcLsuDensityHist not found!
#> WARNING: Mapping in mrmagpie:::calcLsuDensityHist not found!
#> Warning: Mapping in mrmagpie:::calcNpiNdcAdAolcPol not found!
#> WARNING: Mapping in mrmagpie:::calcNpiNdcAdAolcPol not found!
#> Warning: Mapping in mrmagpie:::calcNpiNdcAffPol not found!
#> WARNING: Mapping in mrmagpie:::calcNpiNdcAffPol not found!
#> Warning: Mapping in mrmagpie:::calcPastureSuit not found!
#> WARNING: Mapping in mrmagpie:::calcPastureSuit not found!
#> Warning: Mapping in mrmagpie:::calcPeatland not found!
#> WARNING: Mapping in mrmagpie:::calcPeatland not found!
#> Warning: Mapping in mrmagpie:::calcScaleEnvironmentData not found!
#> WARNING: Mapping in mrmagpie:::calcScaleEnvironmentData not found!
#> Warning: Mapping in mrmagpie:::calcScaleEnvironmentData_new not found!
#> WARNING: Mapping in mrmagpie:::calcScaleEnvironmentData_new not found!
#> Warning: Mapping in mrmagpie:::calcScaledPastSoilCarbon not found!
#> WARNING: Mapping in mrmagpie:::calcScaledPastSoilCarbon not found!
#> Warning: Mapping in mrmagpie:::calcSoilCharacteristics not found!
#> WARNING: Mapping in mrmagpie:::calcSoilCharacteristics not found!
#> Warning: Mapping in mrmagpie:::calcYields not found!
#> WARNING: Mapping in mrmagpie:::calcYields not found!
#> Warning: Mapping in mrmagpie:::readGCF_SeaLevelRise not found!
#> WARNING: Mapping in mrmagpie:::readGCF_SeaLevelRise not found!
#> Warning: Mapping in mrmagpie:::readGFAD not found!
#> WARNING: Mapping in mrmagpie:::readGFAD not found!
#> Warning: Mapping in mrmagpie:::readGridPop_new not found!
#> WARNING: Mapping in mrmagpie:::readGridPop_new not found!
#> Warning: Mapping in mrmagpie:::readIPCCClimate not found!
#> WARNING: Mapping in mrmagpie:::readIPCCClimate not found!
#> Warning: Mapping in mrmagpie:::readLUH2UrbanFuture not found!
#> WARNING: Mapping in mrmagpie:::readLUH2UrbanFuture not found!
#> Warning: Mapping in mrmagpie:::readLabourProdImpactOrlov not found!
#> WARNING: Mapping in mrmagpie:::readLabourProdImpactOrlov not found!
#> Warning: Mapping in mrremind:::calcAGEB not found!
#> WARNING: Mapping in mrremind:::calcAGEB not found!
#> Warning: Mapping in mrremind:::calcCementShare not found!
#> WARNING: Mapping in mrremind:::calcCementShare not found!
#> Warning: Mapping in mrremind:::calcCoolingSharesBase not found!
#> WARNING: Mapping in mrremind:::calcCoolingSharesBase not found!
#> Warning: Mapping in mrremind:::calcCoolingSharesFuture not found!
#> WARNING: Mapping in mrremind:::calcCoolingSharesFuture not found!
#> Warning: Mapping in mrremind:::calcDiffInvestCosts not found!
#> WARNING: Mapping in mrremind:::calcDiffInvestCosts not found!
#> Warning: Mapping in mrremind:::calcDspvShare not found!
#> WARNING: Mapping in mrremind:::calcDspvShare not found!
#> Warning: Mapping in mrremind:::calcEconometricEmiParameter not found!
#> WARNING: Mapping in mrremind:::calcEconometricEmiParameter not found!
#> Warning: Mapping in mrremind:::calcEffortSharingRefEmi not found!
#> WARNING: Mapping in mrremind:::calcEffortSharingRefEmi not found!
#> Warning: Mapping in mrremind:::calcEmissionFactors not found!
#> WARNING: Mapping in mrremind:::calcEmissionFactors not found!
#> Warning: Mapping in mrremind:::calcEmissions not found!
#> WARNING: Mapping in mrremind:::calcEmissions not found!
#> Warning: Mapping in mrremind:::calcEmploymentfactors not found!
#> WARNING: Mapping in mrremind:::calcEmploymentfactors not found!
#> Warning: Mapping in mrremind:::calcFE not found!
#> WARNING: Mapping in mrremind:::calcFE not found!
#> Warning: Mapping in mrremind:::calcFEdemand not found!
#> WARNING: Mapping in mrremind:::calcFEdemand not found!
#> Warning: Mapping in mrremind:::calcGAINS not found!
#> WARNING: Mapping in mrremind:::calcGAINS not found!
#> Warning: Mapping in mrremind:::calcGAINSEmi not found!
#> WARNING: Mapping in mrremind:::calcGAINSEmi not found!
#> Warning: Mapping in mrremind:::calcIEA_PFU not found!
#> WARNING: Mapping in mrremind:::calcIEA_PFU not found!
#> Warning: Mapping in mrremind:::calcIO not found!
#> WARNING: Mapping in mrremind:::calcIO not found!
#> Warning: Mapping in mrremind:::calcJRC_IDEES not found!
#> WARNING: Mapping in mrremind:::calcJRC_IDEES not found!
#> Warning: Mapping in mrremind:::calcPE not found!
#> WARNING: Mapping in mrremind:::calcPE not found!
#> Warning: Mapping in mrremind:::calcRegion2MAGICC not found!
#> WARNING: Mapping in mrremind:::calcRegion2MAGICC not found!
#> Warning: Mapping in mrremind:::calcUBA not found!
#> WARNING: Mapping in mrremind:::calcUBA not found!
#> Warning: Mapping in mrremind:::calcUNFCCC not found!
#> WARNING: Mapping in mrremind:::calcUNFCCC not found!
#> Warning: Mapping in mrremind:::calcWaterConsCoef not found!
#> WARNING: Mapping in mrremind:::calcWaterConsCoef not found!
#> Warning: Mapping in mrremind:::calcWaterWithCoef not found!
#> WARNING: Mapping in mrremind:::calcWaterWithCoef not found!
#> Warning: Mapping in mrremind:::readDylanAusGasCost not found!
#> WARNING: Mapping in mrremind:::readDylanAusGasCost not found!
#> Warning: Mapping in mrremind:::readECLIPSE not found!
#> WARNING: Mapping in mrremind:::readECLIPSE not found!
#> Warning: Mapping in mrremind:::readEDGE not found!
#> WARNING: Mapping in mrremind:::readEDGE not found!
#> Warning: Mapping in mrremind:::readEDGETransport not found!
#> WARNING: Mapping in mrremind:::readEDGETransport not found!
#> Warning: Mapping in mrremind:::readGCPT not found!
#> WARNING: Mapping in mrremind:::readGCPT not found!
#> Warning: Mapping in mrremind:::readGCPT2020_extra not found!
#> WARNING: Mapping in mrremind:::readGCPT2020_extra not found!
#> Warning: Mapping in mrremind:::readGEA2012 not found!
#> WARNING: Mapping in mrremind:::readGEA2012 not found!
#> Warning: Mapping in mrremind:::readIEA_ETP not found!
#> WARNING: Mapping in mrremind:::readIEA_ETP not found!
#> Warning: Mapping in mrremind:::readIEA_PVPS not found!
#> WARNING: Mapping in mrremind:::readIEA_PVPS not found!
#> Warning: Mapping in mrremind:::readIEA_REN not found!
#> WARNING: Mapping in mrremind:::readIEA_REN not found!
#> Warning: Mapping in mrremind:::readIEA_WEO not found!
#> WARNING: Mapping in mrremind:::readIEA_WEO not found!
#> Warning: Mapping in mrremind:::readINNOPATHS not found!
#> WARNING: Mapping in mrremind:::readINNOPATHS not found!
#> Warning: Mapping in mrremind:::readLIMITS not found!
#> WARNING: Mapping in mrremind:::readLIMITS not found!
#> Warning: Mapping in mrremind:::readOpenmod not found!
#> WARNING: Mapping in mrremind:::readOpenmod not found!
#> Warning: Mapping in mrremind:::readProdShares not found!
#> WARNING: Mapping in mrremind:::readProdShares not found!
#> Warning: Mapping in mrremind:::readRCP not found!
#> WARNING: Mapping in mrremind:::readRCP not found!
#> Warning: Mapping in mrremind:::readREMIND_11Regi not found!
#> WARNING: Mapping in mrremind:::readREMIND_11Regi not found!
#> Warning: Mapping in mrremind:::readRemindCesPrices not found!
#> WARNING: Mapping in mrremind:::readRemindCesPrices not found!
#> Warning: Mapping in mrremind:::readRutovitz2015 not found!
#> WARNING: Mapping in mrremind:::readRutovitz2015 not found!
#> Warning: Mapping in mrremind:::readnonEnergyDemand not found!
#> WARNING: Mapping in mrremind:::readnonEnergyDemand not found!
#> Warning: Mapping in mrsoil:::calcLanduse not found!
#> WARNING: Mapping in mrsoil:::calcLanduse not found!
#> Warning: Mapping in mrvalidation:::calcValidCarbon not found!
#> WARNING: Mapping in mrvalidation:::calcValidCarbon not found!
#> Warning: Mapping in mrvalidation:::calcValidCostsTransport not found!
#> WARNING: Mapping in mrvalidation:::calcValidCostsTransport not found!
#> Warning: Mapping in mrvalidation:::calcValidGrassLSUha not found!
#> WARNING: Mapping in mrvalidation:::calcValidGrassLSUha not found!
#> Warning: Mapping in mrvalidation:::calcValidGrassSoilCarbon not found!
#> WARNING: Mapping in mrvalidation:::calcValidGrassSoilCarbon not found!
#> Warning: Mapping in mrvalidation:::calcValidGridYields not found!
#> WARNING: Mapping in mrvalidation:::calcValidGridYields not found!
#> Warning: Mapping in mrvalidation:::calcValidLand not found!
#> WARNING: Mapping in mrvalidation:::calcValidLand not found!
#> Warning: Mapping in mrvalidation:::calcValidManure not found!
#> WARNING: Mapping in mrvalidation:::calcValidManure not found!
#> Warning: Mapping in mrvalidation:::calcValidNitrogenBudgetCropland not found!
#> WARNING: Mapping in mrvalidation:::calcValidNitrogenBudgetCropland not found!
#> Warning: Mapping in mrvalidation:::calcValidSOCDensity not found!
#> WARNING: Mapping in mrvalidation:::calcValidSOCDensity not found!
#> Warning: Mapping in mrvalidation:::calcValidSOCStocks not found!
#> WARNING: Mapping in mrvalidation:::calcValidSOCStocks not found!
#> Warning: Mapping in mrvalidation:::calcValidYield not found!
#> WARNING: Mapping in mrvalidation:::calcValidYield not found!
#> Warning: Mapping in mrvalidation:::readGMIA not found!
#> WARNING: Mapping in mrvalidation:::readGMIA not found!
#> Warning: Mapping in mrvalidation:::readGSOC not found!
#> WARNING: Mapping in mrvalidation:::readGSOC not found!
#> Warning: Mapping in mrvalidation:::readGasser not found!
#> WARNING: Mapping in mrvalidation:::readGasser not found!
#> Warning: Mapping in mrvalidation:::readHID not found!
#> WARNING: Mapping in mrvalidation:::readHID not found!
#> Warning: Mapping in mrvalidation:::readWISE not found!
#> WARNING: Mapping in mrvalidation:::readWISE not found!
#> Warning: Mapping in mrvalidation:::readWaterUsage not found!
#> WARNING: Mapping in mrvalidation:::readWaterUsage not found!
#> Warning: Mapping in mrwater:::calcIrrigWatRequirements not found!
#> WARNING: Mapping in mrwater:::calcIrrigWatRequirements not found!
#> Warning: Mapping in mrwater:::calcYieldsPotential not found!
#> WARNING: Mapping in mrwater:::calcYieldsPotential not found!
#> Warning: Mapping in mrwater:::toolLPJcellCoordinates not found!
#> WARNING: Mapping in mrwater:::toolLPJcellCoordinates not found!
#> Warning: Following functions could not be found in the scope of packages to be checked.: 
#>    calcDemand->calcHHFoodWaste, calcDemand->calcValidKcal, tools::install_git->readGTAP81
#>   Please make sure that they exist and adjust the scope of packages accordingly!
#> WARNING: 
#> Following functions could not be found in the scope of packages to be checked.: 
#>    
#> calcDemand->calcHHFoodWaste, calcDemand->calcValidKcal, tools::install_git->readGTAP81
#> 
#>   Please make sure that they exist and adjust the scope of packages accordingly!
#> hash components (cbe668a0):
#>   5b66e04c | calcExample2 | calcExample2
#>   35685729 | madrat:::toolAggregate | madrat:::toolAggregate
#>   06f7b7ad | readData | readData
  fp3 <- madrat:::fingerprint("calcExample3", details = TRUE)
#> hash components (effbe366):
#>   5b66e04c | calcExample2 | calcExample2
#>   0c066a07 | calcExample3 | calcExample3
#>   35685729 | madrat:::toolAggregate | madrat:::toolAggregate
#>   06f7b7ad | readData | readData
#>   13c681da | readData2 | readData2

The ignore flag in calcExample2 excludes readData2 from the fingerprint calculation. But in contrast to the monitor statement this information is not forwarded to calcExample3. Hence, the latter does not only monitor madrat:::toolAggregate but also readData2!

forcecache

Before the introduction of fingerprinting forcing the use of cache files was the default approach. However, in the new setup the argument forcecache = TRUE should only be used under very specific circumstances, as it does not guarantee that the data agrees with the code of the corresponding package. In particular production runs should always use forcecache = FALSE.

A scenario in which forcecache = TRUE might still make sense are development cases in which up-to-date inputs are not required for proper function development. In these cases development can be speed up by using potentially outdated cache files as a starting point to avoid lengthy calculations of parts irrelevant for the current development stage.

If you are unsure what to use, always go with forcecache = FALSE.