R Observatory
Search

Seamless Access to IMF World Economic Outlook (WEO) Data

install.packages("imfweo")
CRAN 30-day downloads, method
274−36.4% down on the 30 days before, the worse direction
Test coverage, method
100%of lines run by tests

Provides tools to download, process, and analyze data from the International Monetary Fund's World Economic Outlook (WEO) <https://www.imf.org/en/publications/weo>. Functions support downloading complete WEO releases, accessing specific economic indicators for selected countries, and listing available data.

Maintainer
Teal Emery
Latest release
24 Aug 2026
First release
22 Aug 2025

Compare with another package

More details
Releases
2
Needs compilation
No
Needs R
>= 4.1.0
Config/testthat/edition
3
RoxygenNote
7.3.3
Collections (1) Method, Collections
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("imfweo")
APA
Emery, T., Teal Insights, & Scheuch, C. (2026). imfweo: Seamless Access to IMF World Economic Outlook (WEO) Data (Version 0.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.imfweo
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for imfweo version 0.2.0 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    0.2.0
    Time taken
    54 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.2.0
    Time taken
    41 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.2.0
    Time taken
    46 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.2.0
    Time taken
    35 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.2.0
    Time taken
    73 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.2.0
    Time taken
    19 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.2.0
    Time taken
    79 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.2.0
    Time taken
    82 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.2.0
    Time taken
    50 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.2.0
    Time taken
    49 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.2.0
    Time taken
    16 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.2.0
    Time taken
    50 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.2.0
    Time taken
    73 s
  • 13 OK

Over time

No change since 5 Aug 2026

As a list (3)
ChangedWorst statusOKNotesWarningsErrors
5 Aug 2026OK13000
1 Aug 2026Note12100
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
280−38.7% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

15,736 of 26,530

CRAN

274 downloads in the last 30 days

Rank
15,736 of 26,530
Change
−36.4% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

3 downloads in the last 30 days

Rank
11,992 of 30,526
Change
−81.3% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

3 downloads in the last 30 days

Rank
17,776 of 29,212
Change
−70% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
8
Dependent packages
2
Suggested by
0
Needs (8)
Installing it adds
38 packages, 24.1 MB of source
Of those, need compilation
22
Optional extras (3)
Dependent packages (2)
PackageTitleDownloads in 30 days
econdataverseEasily Load and Install the 'EconDataverse'309
econtoolsEnrich and Analyze Sovereign-Level Economic Data229
Functions
30
Public exports
5
Lines of R code
1,013
Median complexity
3
Functions (30)
Size and composition

Lines by kind (2,802)

KindLinesShare
R code1,01336%
Tests1,56356%
Documentation2268%

Lines by language

LanguageLinesShare
R2,57692%
Rd2268%

Languages are counted from file extensions.

Files
33
R functions
30
Complexity
Median
3
Mean
2.77
Highest
6
Median lines per function
19
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
30
Calls
32
Unconnected
2
Groups
1
Growth (2 releases)
Total lines by release
2,302 on 22 Aug 20252,802 on 24 Aug 2026
Release changes

The tests ran and coverage was measured.

Lines run by tests
100%
Expressions run by tests
100%
Test cases
80
Exports named in tests
100%
Coverage by file (8)
Coverage run
Lines counted
484
Lines the tests ran
484
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
80
Lines of tests
1,563
Test lines per line of code
1.54
Exports documented
100%
Arguments documented
100%
Return value documented
100%
Help pages with examples
66.7%
Examples run in checks
25%
Other documentation
README
Yes, 508 words
Release notes file
Yes
Help pages
6
Lines of documentation
226

Teal-Insights / r-imfweo on github.com

Stars
9no change on 30 days ago
Forks
0
Open issues
2
Last commit
19 Oct 2026
Activity
Commits
55
Open pull requests
1
Tagged releases
2
Latest tagged release
v0.2.0, 24 Aug 2026
In development
Default branch at 0.2.0.9000, ahead of CRAN 0.2.0 (checked 2026-10-25)
Issues closed in
6 days (median)
Pull requests closed in
1 day (median)
Pull requests merged
100%
Created
6 Dec 2024
Licence file reads as
–
Development practices (10)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Docs sourceREADME.Rmd, pkgdown
GitHub Pages site last deployed 2026-10-19
The repository has a site deploy workflow
pkgdown site last built 2026-10-19
CoverageCoverage reporting
CRAN release processcran-comments.md
Lint, format, editorlintr, Lint workflow

Method, repository practices

Across Teal-Insights

Claude Codeat least 4 crediting itClaude CodeFirst seen 15 Aug 2026at least 4 crediting it
Claude Opus 5.5Claude Opus 5.519 Oct 20261 commit
Claude Opus 4.8Claude Opus 4.816 Aug 20261 commit
Claude Opus 5Claude Opus 515 Aug 20262 commits

Tools

ToolFirst seenFoundCommits crediting it
Claude Code15 Aug 2026Pull request it wrote: opened by a project member4 at least
  • Pull request

Models

ModelCommitsFirst commitLast commitCredit lines of
Claude Opus 5.5119 Oct 202619 Oct 2026Claude Code
Claude Opus 4.8116 Aug 202616 Aug 2026Claude Code
Claude Opus 5215 Aug 202615 Aug 2026Claude Code

Across Teal-Insights

R releases
  • On CRAN
  • Release
VersionReleasedR
0.2.0 current24 Aug 20264.6.1
0.1.022 Aug 20254.5.1
Release notes (0.2.0)

Breaking changes

  • Removed weo_get_latest_publication(). With the move of the WEO database to the IMF Data portal, each vintage sits behind an opaque per-vintage identifier, so the latest publication can no longer be detected from the IMF website. The known releases are now kept in a lookup table inside the package, whose newest entry is the default publication for weo_get(), weo_get_entities() and weo_get_series(). New releases become available after a package update — see the maintainer note at the top of R/weo_releases.R for how to add one.
  • Removed the check_latest argument of weo_list_publications(), which relied on the online check. The function now returns the known releases from the lookup table and no longer depends on the current date. Its end_year now defaults to the year of the most recent known publication.

New features

  • Added support for the 2025 Fall and 2026 Spring publications, which are distributed as a single multi-sheet Excel workbook on the IMF Data portal instead of the two tab-delimited files used up to 2025 Spring. Country group codes of these releases are mapped back to their pre-portal codes (e.g. G001 to 001) using the crosswalk shipped in the workbook, so that entity IDs stay comparable across publications.

Bug fixes

  • Fixed the download of the 2021 to 2023 publications. The IMF retired the .ashx URLs these vintages were served under; the same files are still available as .xls.
  • A download that answers with an error page under an HTTP 200 status is now reported as a failed download instead of being parsed as data.
  • Add support for all publications until 2025 Spring in weo_get().