{
  "_id": "6ac926eede46216d5edda331",
  "Package": "fanyi",
  "Title": "Translate Words or Sentences via Online Translators",
  "Version": "0.1.1",
  "Authors@R": "c(\nperson(\"Guangchuang\", \"Yu\",\nemail = \"guangchuangyu@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-6485-8781\")\n),\nperson(\"Guannan\", \"Chen\",\nemail = \"gnchen@hrbmu.edu.cn\",\nrole = \"ctb\"\n),\nperson(\"Difei\", \"Wang\",\nemail = \"2773997973@qq.com\",\nrole = \"ctb\"\n)\n)",
  "Description": "Useful functions to translate text for multiple languages\nusing online translators. For example, by translating error\nmessages and descriptive analysis results into a language\nfamiliar to the user, it enables a better understanding of the\ninformation, thereby reducing the barriers caused by language.\nIt offers several helper functions to query gene information to\nhelp interpretation of interested genes (e.g., marker genes,\ndifferential expression genes), and provides utilities to\ntranslate 'ggplot' graphics. This package is not affiliated\nwith any of the online translators. The developers do not take\nresponsibility for the invoice it incurs when using this\npackage, especially for exceeding the free quota.",
  "ByteCompile": "true",
  "License": "Artistic-2.0",
  "URL": "https://github.com/YuLab-SMU/fanyi,\nhttps://www.biorxiv.org/content/10.1101/2023.12.21.572729",
  "BugReports": "https://github.com/YuLab-SMU/fanyi/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libxml2-dev\nlibssl-dev",
  "Repository": "https://yulab-smu.r-universe.dev",
  "Date/Publication": "2026-02-14 17:35:52 UTC",
  "RemoteUrl": "https://github.com/yulab-smu/fanyi",
  "RemoteRef": "HEAD",
  "RemoteSha": "26d245491a229dc83585c9a84c80b12901cfb37f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-09 17:18:05 UTC",
    "User": "root"
  },
  "Author": "Guangchuang Yu [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-6485-8781>),\nGuannan Chen [ctb],\nDifei Wang [ctb]",
  "Maintainer": "Guangchuang Yu <guangchuangyu@gmail.com>",
  "_user": "yulab-smu",
  "_type": "src",
  "_file": "fanyi_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/8823ecc57816151d51178fee80bdd6ceeb256f2e7cd1f38255ef2d0067991275",
  "_filesize": 122888,
  "_sha256": "8823ecc57816151d51178fee80bdd6ceeb256f2e7cd1f38255ef2d0067991275",
  "_expires": "2027-01-17T17:39:56.000Z",
  "_created": "2026-10-09T17:18:05.000Z",
  "_published": "2026-10-09T17:39:58.048Z",
  "_buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/37964944958",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113938116004,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11634165050"
    },
    {
      "job": 113938116041,
      "time": 137,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11632914425"
    },
    {
      "job": 113938116043,
      "time": 118,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11633623224"
    },
    {
      "job": 113938116013,
      "time": 107,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11633938370"
    },
    {
      "job": 113936988662,
      "time": 166,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11633096163"
    },
    {
      "job": 113938116037,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11633146332"
    },
    {
      "job": 113938115872,
      "time": 89,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11632574996"
    },
    {
      "job": 113938115904,
      "time": 80,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11633495614"
    },
    {
      "job": 113938116056,
      "time": 92,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11632249738"
    }
  ],
  "_upstream": "https://github.com/yulab-smu/fanyi",
  "_commit": {
    "id": "26d245491a229dc83585c9a84c80b12901cfb37f",
    "author": "Guangchuang Yu <guangchuangyu@gmail.com>",
    "committer": "Guangchuang Yu <guangchuangyu@gmail.com>",
    "message": "chatglm\n",
    "time": 1771090552
  },
  "_maintainer": {
    "name": "Guangchuang Yu",
    "email": "guangchuangyu@gmail.com",
    "login": "guangchuangyu",
    "twitter": "@guangchuangyu",
    "description": "Professor of Bioinformatics at Southern Medical University.",
    "uuid": 626539,
    "orcid": "0000-0002-6485-8781"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "ggfun",
      "version": ">= 0.1.3",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "openssl",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rentrez",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "SSEparser",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "uuid",
      "role": "Imports"
    },
    {
      "package": "yulab.utils",
      "version": ">= 0.1.6",
      "role": "Imports"
    }
  ],
  "_owner": "yulab-smu",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-49",
      "n": 2
    },
    {
      "week": "2025-51",
      "n": 3
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 60,
  "_contributors": [
    {
      "user": "guangchuangyu",
      "count": 90,
      "uuid": 626539
    },
    {
      "user": "mitsuhamiyamizu",
      "count": 54,
      "uuid": 9009218
    },
    {
      "user": "fyenne",
      "count": 1,
      "uuid": 33649824
    }
  ],
  "_userbio": {
    "uuid": 40430016,
    "type": "organization",
    "name": "Bioinformatics Group @ SMU",
    "followers": 725,
    "description": "Research group led by Prof. Guangchuang Yu in School of Basic Medical Sciences, Southern Medical University"
  },
  "_downloads": {
    "count": 528,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/fanyi"
  },
  "_devurl": "https://github.com/yulab-smu/fanyi",
  "_searchresults": 99,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/fanyi.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/yulab-smu/fanyi",
  "_realowner": "yulab-smu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.4",
      "date": "2023-12-15"
    },
    {
      "version": "0.0.5",
      "date": "2023-12-16"
    },
    {
      "version": "0.0.6",
      "date": "2024-01-09"
    },
    {
      "version": "0.0.7",
      "date": "2024-04-14"
    },
    {
      "version": "0.0.8",
      "date": "2025-08-28"
    },
    {
      "version": "0.0.9",
      "date": "2025-12-17"
    },
    {
      "version": "0.1.0",
      "date": "2026-01-18"
    },
    {
      "version": "0.1.1",
      "date": "2026-02-04"
    }
  ],
  "_exports": [
    "baidu_translate",
    "bing_translate",
    "caiyun_translate",
    "chat_request",
    "chatglm_translate",
    "cn2en",
    "dsk_translate",
    "en2cn",
    "fanyi_has_appkey",
    "gene_summary",
    "get_translate_text",
    "name2sci",
    "qwen_translate",
    "search_gene",
    "set_translate_option",
    "set_translate_source",
    "symbol2entrez",
    "tencent_translate",
    "translate",
    "translate_ggplot",
    "volcengine_translate",
    "ydict",
    "youdao_translate"
  ],
  "_help": [
    {
      "page": "translate",
      "title": "translate",
      "topics": [
        "baidu_translate",
        "bing_translate",
        "caiyun_translate",
        "chatglm_translate",
        "cn2en",
        "dsk_translate",
        "en2cn",
        "qwen_translate",
        "tencent_translate",
        "translate",
        "volcengine_translate",
        "youdao_translate"
      ]
    },
    {
      "page": "chat_request",
      "title": "chat_request",
      "topics": [
        "chat_request"
      ]
    },
    {
      "page": "fanyi_has_appkey",
      "title": "fanyi_has_appkey",
      "topics": [
        "fanyi_has_appkey"
      ]
    },
    {
      "page": "gene-summary",
      "title": "gene_summary",
      "topics": [
        "gene_summary"
      ]
    },
    {
      "page": "get-translate-text",
      "title": "get_translate_text",
      "topics": [
        "get_translate_text"
      ]
    },
    {
      "page": "name2sci",
      "title": "name2sci",
      "topics": [
        "name2sci"
      ]
    },
    {
      "page": "set-translate-option",
      "title": "set_translate_option",
      "topics": [
        "set_translate_option"
      ]
    },
    {
      "page": "set-translate-source",
      "title": "set source of online translator service",
      "topics": [
        "set_translate_source"
      ]
    },
    {
      "page": "search-gene",
      "title": "search_gene",
      "topics": [
        "search_gene",
        "symbol2entrez"
      ]
    },
    {
      "page": "translate_ggplot",
      "title": "translate_ggplot",
      "topics": [
        "translate_ggplot"
      ]
    },
    {
      "page": "ydict",
      "title": "ydict",
      "topics": [
        "ydict"
      ]
    }
  ],
  "_readme": "https://github.com/yulab-smu/fanyi/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "cpp11",
    "curl",
    "digest",
    "dplyr",
    "farver",
    "fs",
    "generics",
    "ggfun",
    "ggplot2",
    "glue",
    "gtable",
    "httr",
    "httr2",
    "isoband",
    "jsonlite",
    "labeling",
    "lifecycle",
    "magrittr",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "rentrez",
    "rlang",
    "S7",
    "scales",
    "SSEparser",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyselect",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "withr",
    "XML",
    "yulab.utils"
  ],
  "_score": 6.551937695364837,
  "_indexed": true,
  "_nocasepkg": "fanyi",
  "_universes": [
    "yulab-smu",
    "guangchuangyu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-09T17:20:11.000Z",
      "distro": "resolute",
      "commit": "26d245491a229dc83585c9a84c80b12901cfb37f",
      "fileid": "https://r2.ropensci.org/83ef39b17c956c8f889a6e5947f657a9a4e29ff33b930e735d51eb009c07e59e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/37964944958"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-09T17:20:14.000Z",
      "distro": "resolute",
      "commit": "26d245491a229dc83585c9a84c80b12901cfb37f",
      "fileid": "https://r2.ropensci.org/95004b31b0f5b985b997d632f241702ccf463817eeb58203e74c4af6d043a403",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/37964944958"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-09T17:36:28.000Z",
      "commit": "26d245491a229dc83585c9a84c80b12901cfb37f",
      "fileid": "https://r2.ropensci.org/ea5affa1c0baa315283bdd1aba0609acca09e1e17a42f7e956444afad523cc9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/37964944958"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-09T17:39:10.000Z",
      "commit": "26d245491a229dc83585c9a84c80b12901cfb37f",
      "fileid": "https://r2.ropensci.org/02f545389de9ab26b5a6265656fbf8d905ec05c085275f175a68418a915fbb4a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/37964944958"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-10-09T17:19:54.000Z",
      "commit": "26d245491a229dc83585c9a84c80b12901cfb37f",
      "fileid": "https://r2.ropensci.org/13ae5dea2a01e0399e34f3624a321bb8911619441bd0b14a06e3fc6697153c87",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/37964944958"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-09T17:19:13.000Z",
      "commit": "26d245491a229dc83585c9a84c80b12901cfb37f",
      "fileid": "https://r2.ropensci.org/7dd73f390d24446ac4d044210facfbaddc05b9af8ad825155ff5ada4b74a8205",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/37964944958"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-09T17:19:10.000Z",
      "commit": "26d245491a229dc83585c9a84c80b12901cfb37f",
      "fileid": "https://r2.ropensci.org/7891690cf4e2085b8ce571404e637b3de66e3db60182b7e9d33a445524af4847",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/37964944958"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-09T17:19:20.000Z",
      "commit": "26d245491a229dc83585c9a84c80b12901cfb37f",
      "fileid": "https://r2.ropensci.org/0b82ec39e963347e5464073369f6b81027facd6643425a0890e8371b8d28447a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yulab-smu/actions/runs/37964944958"
    }
  ]
}