{
  "_id": "6a102b23acfb0bcc41c923e8",
  "Package": "rapsimng",
  "Type": "Package",
  "Title": "APSIM Next Generation",
  "Version": "0.5.1",
  "Authors@R": "person(\"Bangyou\", \"Zheng\", \nemail = \"zheng.bangyou@gmail.com\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "The Agricultural Production Systems sIMulator ('APSIM') is\na widely used to simulate the agricultural systems for multiple\ncrops. This package is designed to create, modify and run\n'apsimx' files in the 'APSIM' Next Generation\n<https://www.apsim.info/>.",
  "License": "MIT + file LICENSE",
  "URL": "https://rapsimng.bangyou.me/, https://github.com/byzheng/rapsimng",
  "BugReports": "https://github.com/byzheng/rapsimng/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://byzheng.r-universe.dev",
  "Date/Publication": "2026-05-13 06:31:53 UTC",
  "RemoteUrl": "https://github.com/byzheng/rapsimng",
  "RemoteRef": "HEAD",
  "RemoteSha": "3b6631390222e95abe5b187a91a54e6c3f8d67c6",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 06:40:11 UTC",
    "User": "root"
  },
  "Author": "Bangyou Zheng [aut, cre]",
  "Maintainer": "Bangyou Zheng <zheng.bangyou@gmail.com>",
  "MD5sum": "1583858d70e8a30b25231f2abb7afd3d",
  "_user": "byzheng",
  "_type": "src",
  "_file": "rapsimng_0.5.1.tar.gz",
  "_fileid": "9e9bf2055b537de8355bcd0b5d093a516febb6af8237cf1b1e7eb21c8e3f44e5",
  "_filesize": 365426,
  "_sha256": "9e9bf2055b537de8355bcd0b5d093a516febb6af8237cf1b1e7eb21c8e3f44e5",
  "_created": "2026-05-13T06:40:11.000Z",
  "_published": "2026-05-22T10:08:35.597Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77358808609,
      "time": 148,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6963307672"
    },
    {
      "job": 77358808520,
      "time": 161,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6963310967"
    },
    {
      "job": 77358808628,
      "time": 124,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6963421034"
    },
    {
      "job": 77358808723,
      "time": 117,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6963499388"
    },
    {
      "job": 77358808212,
      "time": 181,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6963268480"
    },
    {
      "job": 77358808214,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157994045"
    },
    {
      "job": 77358808939,
      "time": 117,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6963298576"
    },
    {
      "job": 77358808562,
      "time": 79,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6963289376"
    },
    {
      "job": 77358808713,
      "time": 84,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6963290377"
    }
  ],
  "_buildurl": "https://github.com/r-universe/byzheng/actions/runs/25782784357",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/byzheng/rapsimng",
  "_commit": {
    "id": "3b6631390222e95abe5b187a91a54e6c3f8d67c6",
    "author": "Bangyou Zheng (laptop) <zheng.bangyou@gmail.com>",
    "committer": "Bangyou Zheng (laptop) <zheng.bangyou@gmail.com>",
    "message": "Bump version to 0.5.1, update run_models function to allow specifying path to Models.exe, and enhance documentation.\n",
    "time": 1778653913
  },
  "_maintainer": {
    "name": "Bangyou Zheng",
    "email": "zheng.bangyou@gmail.com",
    "login": "byzheng",
    "uuid": 1657381
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "RSQLite",
      "role": "Imports"
    },
    {
      "package": "tidyweather",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    },
    {
      "package": "methods",
      "role": "Suggests"
    }
  ],
  "_owner": "byzheng",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-31",
      "n": 2
    },
    {
      "week": "2025-39",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 4
    },
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 2
    },
    {
      "week": "2026-07",
      "n": 3
    },
    {
      "week": "2026-10",
      "n": 5
    },
    {
      "week": "2026-19",
      "n": 3
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.4.5",
      "date": "2025-09-22"
    }
  ],
  "_topics": [
    "apsim",
    "apsimx"
  ],
  "_stars": 12,
  "_contributors": [
    {
      "user": "zhe00a",
      "count": 115,
      "uuid": 244883958
    },
    {
      "user": "byzheng",
      "count": 67,
      "uuid": 1657381
    },
    {
      "user": "clzuy",
      "count": 1,
      "uuid": 118035058
    }
  ],
  "_userbio": {
    "uuid": 1657381,
    "type": "user",
    "name": "Bangyou Zheng",
    "description": "Bangyou is a research scientist at CSIRO. His research interests include crop modelling, crop adaptation, high throughput phenotype, big data and R programming."
  },
  "_downloads": {
    "count": 345,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rapsimng"
  },
  "_devurl": "https://github.com/byzheng/rapsimng",
  "_pkgdown": "https://rapsimng.bangyou.me/",
  "_searchresults": 13,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/rapsimng.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/byzheng/rapsimng",
  "_realowner": "byzheng",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-10-13"
    },
    {
      "version": "0.2.0",
      "date": "2021-03-30"
    },
    {
      "version": "0.3.0",
      "date": "2021-09-09"
    },
    {
      "version": "0.4.2",
      "date": "2024-01-22"
    },
    {
      "version": "0.4.3",
      "date": "2024-01-29"
    },
    {
      "version": "0.4.4",
      "date": "2024-02-02"
    },
    {
      "version": "0.4.5",
      "date": "2025-09-23"
    },
    {
      "version": "0.4.6",
      "date": "2026-02-16"
    },
    {
      "version": "0.5.0",
      "date": "2026-05-06"
    }
  ],
  "_exports": [
    "append_model",
    "calc_cum_damage_frost_heat",
    "calc_daily_damage_frost_heat",
    "cum_damage_frost",
    "cum_damage_frost_heat",
    "cum_damage_heat",
    "daily_damage_frost",
    "daily_damage_frost_heat",
    "daily_damage_heat",
    "default_frost_heat_params",
    "disable_models",
    "get_cultivar",
    "get_experiment",
    "get_metfile",
    "get_parent",
    "get_pawc",
    "get_simulations",
    "insert_model",
    "insert_models",
    "install_apsimng",
    "keep_simulations",
    "list_report",
    "log_level",
    "minimum_apsimng",
    "new_cultivar",
    "new_model",
    "read_apsimx",
    "read_report",
    "remove_model",
    "replace_model",
    "run_models",
    "search_node",
    "search_path",
    "set_parameter_value",
    "split_apsimx",
    "stage_sens_frost",
    "stage_sens_heat",
    "temp_damage_frost",
    "temp_damage_heat",
    "update_cultivar",
    "with_apsimx",
    "write_apsimx"
  ],
  "_help": [
    {
      "page": "append_model",
      "title": "append a model into apsimx",
      "topics": [
        "append_model"
      ]
    },
    {
      "page": "disable_models",
      "title": "Disable models in apsimx",
      "topics": [
        "disable_models"
      ]
    },
    {
      "page": "frost_heat_damage",
      "title": "Frost and Heat Damage Functions",
      "topics": [
        "calc_cum_damage_frost_heat",
        "calc_daily_damage_frost_heat",
        "cum_damage_frost",
        "cum_damage_frost_heat",
        "cum_damage_heat",
        "daily_damage_frost",
        "daily_damage_frost_heat",
        "daily_damage_heat",
        "default_frost_heat_params",
        "frost_heat_damage",
        "stage_sens_frost",
        "stage_sens_heat",
        "temp_damage_frost",
        "temp_damage_heat"
      ]
    },
    {
      "page": "get_cultivar",
      "title": "Get all cultivar parameters in a model",
      "topics": [
        "get_cultivar"
      ]
    },
    {
      "page": "get_experiment",
      "title": "Get an experiment node by name",
      "topics": [
        "get_experiment"
      ]
    },
    {
      "page": "get_metfile",
      "title": "Get the met file name for an experiment",
      "topics": [
        "get_metfile"
      ]
    },
    {
      "page": "get_parent",
      "title": "Get the parent node from a path",
      "topics": [
        "get_parent"
      ]
    },
    {
      "page": "get_pawc",
      "title": "Estimate Plant Available Water Capacity (PAWC) from an apsimx file",
      "topics": [
        "get_pawc"
      ]
    },
    {
      "page": "get_simulations",
      "title": "Get simulations for a factorial experiment",
      "topics": [
        "get_simulations"
      ]
    },
    {
      "page": "insert_model",
      "title": "Insert a model into apsimx",
      "topics": [
        "insert_model"
      ]
    },
    {
      "page": "insert_models",
      "title": "Insert models into apsimx",
      "topics": [
        "insert_models"
      ]
    },
    {
      "page": "install_apsimng",
      "title": "Install ApsimNG Software",
      "topics": [
        "install_apsimng"
      ]
    },
    {
      "page": "keep_simulations",
      "title": "Keep simulations for a factorial experiment",
      "topics": [
        "keep_simulations"
      ]
    },
    {
      "page": "list_report",
      "title": "List all reports in the database",
      "topics": [
        "list_report"
      ]
    },
    {
      "page": "log_level",
      "title": "Set the log level of apsimx file",
      "topics": [
        "log_level"
      ]
    },
    {
      "page": "minimum_apsimng",
      "title": "Create the minimum requirements to run an APSIM Next Generation",
      "topics": [
        "minimum_apsimng"
      ]
    },
    {
      "page": "new_cultivar",
      "title": "Generate new cultivars with parameter which can be used in Replacements",
      "topics": [
        "new_cultivar"
      ]
    },
    {
      "page": "new_model",
      "title": "Create a new model",
      "topics": [
        "new_model"
      ]
    },
    {
      "page": "read_apsimx",
      "title": "Read APSIMX file",
      "topics": [
        "read_apsimx"
      ]
    },
    {
      "page": "read_report",
      "title": "Read apsimx database in db file format",
      "topics": [
        "read_report"
      ]
    },
    {
      "page": "remove_model",
      "title": "Remove a model with new values",
      "topics": [
        "remove_model"
      ]
    },
    {
      "page": "replace_model",
      "title": "Replace a model with new values",
      "topics": [
        "replace_model"
      ]
    },
    {
      "page": "run_models",
      "title": "Run apsimx file using Models.exe",
      "topics": [
        "run_models"
      ]
    },
    {
      "page": "search_node",
      "title": "Find element(s) in apsimx file",
      "topics": [
        "search_node"
      ]
    },
    {
      "page": "search_path",
      "title": "Find a model in the apsimx file using specified path",
      "topics": [
        "search_path"
      ]
    },
    {
      "page": "set_parameter_value",
      "title": "Set a parameter with a new value",
      "topics": [
        "set_parameter_value"
      ]
    },
    {
      "page": "split_apsimx",
      "title": "Split an APSIMX file into separate simulations except cultivar",
      "topics": [
        "split_apsimx"
      ]
    },
    {
      "page": "test_apsimx",
      "title": "Test whether all files under published folder of apsimx are required",
      "topics": [
        "test_apsimx"
      ]
    },
    {
      "page": "update_cultivar",
      "title": "Title Update the cultivar parameters",
      "topics": [
        "update_cultivar"
      ]
    },
    {
      "page": "with_apsimx",
      "title": "Run APSIM Next Generation Simulations in a Temporary Folder",
      "topics": [
        "with_apsimx"
      ]
    },
    {
      "page": "write_apsimx",
      "title": "Write APSIMX file",
      "topics": [
        "write_apsimx"
      ]
    }
  ],
  "_readme": "https://github.com/byzheng/rapsimng/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "blob",
    "cachem",
    "cli",
    "cpp11",
    "DBI",
    "dplyr",
    "fastmap",
    "generics",
    "glue",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "memoise",
    "optree",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "RSQLite",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "tidyweather",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "sensitivity.Rmd",
      "filename": "sensitivity.html",
      "title": "Generate apsimx file for sensitivity analysis",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2021-03-15 06:03:29",
      "modified": "2022-07-11 00:40:03",
      "commits": 3
    },
    {
      "source": "modify.Rmd",
      "filename": "modify.html",
      "title": "Modify apsimx file",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Read apsimx file",
        "Modify existing model",
        "Create new model",
        "Update cultivar parameter values"
      ],
      "created": "2020-10-01 11:20:23",
      "modified": "2026-05-06 10:16:46",
      "commits": 7
    }
  ],
  "_score": 6.4483971034577685,
  "_indexed": true,
  "_nocasepkg": "rapsimng",
  "_universes": [
    "byzheng"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.1",
      "date": "2026-05-13T06:42:39.000Z",
      "distro": "noble",
      "commit": "3b6631390222e95abe5b187a91a54e6c3f8d67c6",
      "fileid": "15e9b7288818a36d8c5199b571b6d2ee12e87d907c33c13b633cc263abd5c169",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/byzheng/actions/runs/25782784357"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.1",
      "date": "2026-05-13T06:42:53.000Z",
      "distro": "noble",
      "commit": "3b6631390222e95abe5b187a91a54e6c3f8d67c6",
      "fileid": "0db055334aaea06d2868976631f0684fd7030172d0211bf450c65428d9ebb581",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/byzheng/actions/runs/25782784357"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.1",
      "date": "2026-05-13T06:50:21.000Z",
      "commit": "3b6631390222e95abe5b187a91a54e6c3f8d67c6",
      "fileid": "a3a94e268e223b75ebd35982b2b5421e9c9a32b8caf2b3974f6c30e13f9184e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/byzheng/actions/runs/25782784357"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.1",
      "date": "2026-05-13T06:55:39.000Z",
      "commit": "3b6631390222e95abe5b187a91a54e6c3f8d67c6",
      "fileid": "6fc081df22bd8d1e89030fd6b457bba3a2f11ba9cbe8499b17e15f3770e9ea49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/byzheng/actions/runs/25782784357"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.1",
      "date": "2026-05-13T06:41:58.000Z",
      "commit": "3b6631390222e95abe5b187a91a54e6c3f8d67c6",
      "fileid": "de075464ac38e340aad0863b7bd7ba6d3477301f3dd95a9f81872b57fc2ff8a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/byzheng/actions/runs/25782784357"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.1",
      "date": "2026-05-13T06:41:26.000Z",
      "commit": "3b6631390222e95abe5b187a91a54e6c3f8d67c6",
      "fileid": "fab8efd77d18d14498b803624c5298f020da056423152f0985131de189e8047e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/byzheng/actions/runs/25782784357"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.1",
      "date": "2026-05-13T06:41:23.000Z",
      "commit": "3b6631390222e95abe5b187a91a54e6c3f8d67c6",
      "fileid": "69838f2491b52ff3bca61e5c0e95814c2bba0bd3f32098c5d58997a9744e7b09",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/byzheng/actions/runs/25782784357"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.1",
      "date": "2026-05-22T10:08:21.000Z",
      "commit": "3b6631390222e95abe5b187a91a54e6c3f8d67c6",
      "fileid": "536a436ead31b54eec88b152ae98db570042c057a25afc1db8ec97ba2d0c9c69",
      "status": "success",
      "buildurl": "https://github.com/r-universe/byzheng/actions/runs/25782784357"
    }
  ]
}