tests/testthat/_snaps/calc_CosmicDoseRate.md

check functionality

{
  "type": "S4",
  "attributes": {
    "data": {
      "type": "list",
      "attributes": {
        "names": {
          "type": "character",
          "attributes": {},
          "value": ["summary", "args", "call"]
        }
      },
      "value": [
        {
          "type": "list",
          "attributes": {
            "names": {
              "type": "character",
              "attributes": {},
              "value": ["depth", "density", "latitude", "longitude", "altitude", "total_absorber.gcm2", "d0", "geom_lat", "dc"]
            },
            "class": {
              "type": "character",
              "attributes": {},
              "value": ["data.frame"]
            },
            "row.names": {
              "type": "integer",
              "attributes": {},
              "value": [1]
            }
          },
          "value": [
            {
              "type": "double",
              "attributes": {},
              "value": [2.78]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [1.7]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [38.06451]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [1.49646]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [364]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [472.6]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [0.1518269]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [41.06850451]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [0.16100203]
            }
          ]
        },
        {
          "type": "list",
          "attributes": {
            "names": {
              "type": "character",
              "attributes": {},
              "value": ["depth", "density", "latitude", "longitude", "altitude", "corr.fieldChanges", "est.age", "half.depth", "error"]
            }
          },
          "value": [
            {
              "type": "double",
              "attributes": {},
              "value": [2.78]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [1.7]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [38.06451]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [1.49646]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [364]
            },
            {
              "type": "logical",
              "attributes": {},
              "value": [false]
            },
            {
              "type": "logical",
              "attributes": {},
              "value": [null]
            },
            {
              "type": "logical",
              "attributes": {},
              "value": [false]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [10]
            }
          ]
        },
        {
          "type": "language",
          "attributes": {
            "srcref": {
              "type": "integer",
              "attributes": {
                "srcfile": {
                  "type": "environment",
                  "attributes": {
                    "class": {
                      "type": "character",
                      "attributes": {},
                      "value": ["srcfilecopy", "srcfile"]
                    }
                  },
                  "value": {}
                },
                "class": {
                  "type": "character",
                  "attributes": {},
                  "value": ["srcref"]
                }
              },
              "value": [7, 3, 7, 30, 3, 30, 7, 7]
            }
          },
          "value": ["calc_CosmicDoseRate(depth = 2.78, density = 1.7, latitude = 38.06451, ", "    longitude = 1.49646, altitude = 364, error = 10)"]
        }
      ]
    },
    "originator": {
      "type": "character",
      "attributes": {},
      "value": ["calc_CosmicDoseRate"]
    },
    "info": {
      "type": "list",
      "attributes": {},
      "value": []
    },
    ".uid": {
      "type": "character",
      "attributes": {},
      "value": [null]
    },
    ".pid": {
      "type": "character",
      "attributes": {},
      "value": [null]
    }
  },
  "value": {
    "class": "RLum.Results",
    "package": "Luminescence"
  }
}
{
  "type": "S4",
  "attributes": {
    "data": {
      "type": "list",
      "attributes": {
        "names": {
          "type": "character",
          "attributes": {},
          "value": ["summary", "args", "call"]
        }
      },
      "value": [
        {
          "type": "list",
          "attributes": {
            "names": {
              "type": "character",
              "attributes": {},
              "value": ["depth", "d0", "dc", "dc_err", "latitude", "longitude", "altitude", "total_absorber.gcm2", "geom_lat"]
            },
            "class": {
              "type": "character",
              "attributes": {},
              "value": ["data.frame"]
            },
            "row.names": {
              "type": "integer",
              "attributes": {},
              "value": [1, 2]
            }
          },
          "value": [
            {
              "type": "double",
              "attributes": {},
              "value": [2.78, 3.12]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [0.1781, 0.1746]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [0.185, 0.1814]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [0.0185, 0.0181]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [28.06451, 28.06451]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [1.49646, 1.49646]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [364, 364]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [236.3, 265.2]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [31.358495, 31.358495]
            }
          ]
        },
        {
          "type": "list",
          "attributes": {
            "names": {
              "type": "character",
              "attributes": {},
              "value": ["depth", "density", "latitude", "longitude", "altitude", "corr.fieldChanges", "est.age", "half.depth", "error"]
            }
          },
          "value": [
            {
              "type": "double",
              "attributes": {},
              "value": [2.78, 3.12]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [1.7]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [28.06451]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [1.49646]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [364]
            },
            {
              "type": "logical",
              "attributes": {},
              "value": [true]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [20]
            },
            {
              "type": "logical",
              "attributes": {},
              "value": [true]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [10]
            }
          ]
        },
        {
          "type": "language",
          "attributes": {
            "srcref": {
              "type": "integer",
              "attributes": {
                "srcfile": {
                  "type": "environment",
                  "attributes": {
                    "class": {
                      "type": "character",
                      "attributes": {},
                      "value": ["srcfilecopy", "srcfile"]
                    }
                  },
                  "value": {}
                },
                "class": {
                  "type": "character",
                  "attributes": {},
                  "value": ["srcref"]
                }
              },
              "value": [7, 3, 7, 30, 3, 30, 7, 7]
            }
          },
          "value": ["calc_CosmicDoseRate(depth = c(2.78, 3.12), density = 1.7, corr.fieldChanges = TRUE, ", "    est.age = 20, latitude = 28.06451, longitude = 1.49646, altitude = 364, ", "    half.depth = TRUE)"]
        }
      ]
    },
    "originator": {
      "type": "character",
      "attributes": {},
      "value": ["calc_CosmicDoseRate"]
    },
    "info": {
      "type": "list",
      "attributes": {},
      "value": []
    },
    ".uid": {
      "type": "character",
      "attributes": {},
      "value": [null]
    },
    ".pid": {
      "type": "character",
      "attributes": {},
      "value": [null]
    }
  },
  "value": {
    "class": "RLum.Results",
    "package": "Luminescence"
  }
}
{
  "type": "S4",
  "attributes": {
    "data": {
      "type": "list",
      "attributes": {
        "names": {
          "type": "character",
          "attributes": {},
          "value": ["summary", "args", "call"]
        }
      },
      "value": [
        {
          "type": "list",
          "attributes": {
            "names": {
              "type": "character",
              "attributes": {},
              "value": ["depth.1", "depth.2", "density.1", "density.2", "latitude", "longitude", "altitude", "total_absorber.gcm2", "d0", "geom_lat", "dc"]
            },
            "class": {
              "type": "character",
              "attributes": {},
              "value": ["data.frame"]
            },
            "row.names": {
              "type": "integer",
              "attributes": {},
              "value": [1]
            }
          },
          "value": [
            {
              "type": "double",
              "attributes": {},
              "value": [1.78]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [0.12]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [0.7]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [0.2]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [120]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [30]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [1200]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [127]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [0.19206906]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [59.73652117]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [0.24172076]
            }
          ]
        },
        {
          "type": "list",
          "attributes": {
            "names": {
              "type": "character",
              "attributes": {},
              "value": ["depth", "density", "latitude", "longitude", "altitude", "corr.fieldChanges", "est.age", "half.depth", "error"]
            }
          },
          "value": [
            {
              "type": "double",
              "attributes": {},
              "value": [1.78, 0.12]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [0.7, 0.2]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [120]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [30]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [1200]
            },
            {
              "type": "logical",
              "attributes": {},
              "value": [false]
            },
            {
              "type": "logical",
              "attributes": {},
              "value": [null]
            },
            {
              "type": "logical",
              "attributes": {},
              "value": [false]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [10]
            }
          ]
        },
        {
          "type": "language",
          "attributes": {
            "srcref": {
              "type": "integer",
              "attributes": {
                "srcfile": {
                  "type": "environment",
                  "attributes": {
                    "class": {
                      "type": "character",
                      "attributes": {},
                      "value": ["srcfilecopy", "srcfile"]
                    }
                  },
                  "value": {}
                },
                "class": {
                  "type": "character",
                  "attributes": {},
                  "value": ["srcref"]
                }
              },
              "value": [7, 3, 7, 30, 3, 30, 7, 7]
            }
          },
          "value": ["calc_CosmicDoseRate(depth = c(1.78, 0.12), density = c(0.7, 0.2), ", "    latitude = 120, longitude = 30, altitude = 1200)"]
        }
      ]
    },
    "originator": {
      "type": "character",
      "attributes": {},
      "value": ["calc_CosmicDoseRate"]
    },
    "info": {
      "type": "list",
      "attributes": {},
      "value": []
    },
    ".uid": {
      "type": "character",
      "attributes": {},
      "value": [null]
    },
    ".pid": {
      "type": "character",
      "attributes": {},
      "value": [null]
    }
  },
  "value": {
    "class": "RLum.Results",
    "package": "Luminescence"
  }
}
{
  "type": "S4",
  "attributes": {
    "data": {
      "type": "list",
      "attributes": {
        "names": {
          "type": "character",
          "attributes": {},
          "value": ["summary", "args", "call"]
        }
      },
      "value": [
        {
          "type": "list",
          "attributes": {
            "names": {
              "type": "character",
              "attributes": {},
              "value": ["depth.1", "depth.2", "density.1", "density.2", "latitude", "longitude", "altitude", "total_absorber.gcm2", "d0", "geom_lat", "dc"]
            },
            "class": {
              "type": "character",
              "attributes": {},
              "value": ["data.frame"]
            },
            "row.names": {
              "type": "integer",
              "attributes": {},
              "value": [1]
            }
          },
          "value": [
            {
              "type": "double",
              "attributes": {},
              "value": [1.78]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [0.12]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [0.2]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [0.2]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [30]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [120]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [120]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [38]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [0.22748768]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [18.4128158]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [0.21542164]
            }
          ]
        },
        {
          "type": "list",
          "attributes": {
            "names": {
              "type": "character",
              "attributes": {},
              "value": ["depth", "density", "latitude", "longitude", "altitude", "corr.fieldChanges", "est.age", "half.depth", "error"]
            }
          },
          "value": [
            {
              "type": "double",
              "attributes": {},
              "value": [1.78, 0.12]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [0.2, 0.2]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [30]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [120]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [120]
            },
            {
              "type": "logical",
              "attributes": {},
              "value": [false]
            },
            {
              "type": "logical",
              "attributes": {},
              "value": [null]
            },
            {
              "type": "logical",
              "attributes": {},
              "value": [false]
            },
            {
              "type": "double",
              "attributes": {},
              "value": [10]
            }
          ]
        },
        {
          "type": "language",
          "attributes": {
            "srcref": {
              "type": "integer",
              "attributes": {
                "srcfile": {
                  "type": "environment",
                  "attributes": {
                    "class": {
                      "type": "character",
                      "attributes": {},
                      "value": ["srcfilecopy", "srcfile"]
                    }
                  },
                  "value": {}
                },
                "class": {
                  "type": "character",
                  "attributes": {},
                  "value": ["srcref"]
                }
              },
              "value": [7, 3, 7, 30, 3, 30, 7, 7]
            }
          },
          "value": ["calc_CosmicDoseRate(depth = c(1.78, 0.12), density = c(0.2, 0.2), ", "    latitude = 30, longitude = 120, altitude = 120)"]
        }
      ]
    },
    "originator": {
      "type": "character",
      "attributes": {},
      "value": ["calc_CosmicDoseRate"]
    },
    "info": {
      "type": "list",
      "attributes": {},
      "value": []
    },
    ".uid": {
      "type": "character",
      "attributes": {},
      "value": [null]
    },
    ".pid": {
      "type": "character",
      "attributes": {},
      "value": [null]
    }
  },
  "value": {
    "class": "RLum.Results",
    "package": "Luminescence"
  }
}


Try the Luminescence package in your browser

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

Luminescence documentation built on April 3, 2025, 7:52 p.m.