Description
Allows to download current and historical METAR weather reports extract and parse basic parameters and present main weather information. Current reports are downloaded from Aviation Weather Center <https://aviationweather.gov/data/metar/> and historical reports from Iowa Environmental Mesonet web page of Iowa State University ASOS-AWOS-METAR <http://mesonet.agron.iastate.edu/AWOS/>.
Downloads
496
Last 30 days
8130th
1.7K
Last 90 days
6.5K
Last year
Trend: -6.8% (30d vs prior 30d)
3
Last 30 days
29
Last 90 days
137
Last year
Trend: -70% (30d vs prior 30d)
4
Last 7 days
13
Last 30 days
1
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 18, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Jun 11, 2026
re-building of vignette outputs
Error(s) in re-building vignettes: ... --- re-building ‘pmetar.Rmd’ using rmarkdown Quitting from pmetar.Rmd:40-44 [get a METAR report with ICAO code] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_er ...[truncated]... ng vignette 'pmetar.Rmd' failed with diagnostics: httr2_failure: Error during request performing! --- failed re-building ‘pmetar.Rmd’ SUMMARY: processing the following file failed: ‘pmetar.Rmd’ Error: Vignette re-building failed. Execution halted
examples
Running examples in ‘pmetar-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: metar_get
> ### Title: Get a current METAR report for an airport.
> ### Aliases: metar_get
>
> ### **
...[truncated]...
from the file downloaded from
http://ourairports.com/data/airports.csv
created by David Megginson
Getting information from Aviation Weather Center aviationweather.gov/data/metar/
Error: httr2_failure: Error during request performing!
Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Jun 8, 2026
whether package can be installed
Installation failed. See ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/pmetar.Rcheck/00install.out’ for details.
examples
Running examples in 'pmetar-Ex.R' failed
The error most likely occurred in:
> ### Name: metar_get
> ### Title: Get a current METAR report for an airport.
> ### Aliases: metar_get
>
> ### ** Examples
>
> metar_get("EPWA")
Getting airport informaito
...[truncated]...
from the file downloaded from
http://ourairports.com/data/airports.csv
created by David Megginson
Getting information from Aviation Weather Center aviationweather.gov/data/metar/
Error: httr2_failure: Error during request performing!
Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 29, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 28, 2026
re-building of vignette outputs
Error(s) in re-building vignettes: ... --- re-building ‘pmetar.Rmd’ using rmarkdown Quitting from pmetar.Rmd:40-44 [get a METAR report with ICAO code] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_er ...[truncated]... ng vignette 'pmetar.Rmd' failed with diagnostics: httr2_failure: Error during request performing! --- failed re-building ‘pmetar.Rmd’ SUMMARY: processing the following file failed: ‘pmetar.Rmd’ Error: Vignette re-building failed. Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 20, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 15, 2026
examples
Running examples in 'pmetar-Ex.R' failed
The error most likely occurred in:
> ### Name: metar_get
> ### Title: Get a current METAR report for an airport.
> ### Aliases: metar_get
>
> ### ** Examples
>
> metar_get("EPWA")
Getting airport informaito
...[truncated]...
from the file downloaded from
http://ourairports.com/data/airports.csv
created by David Megginson
Getting information from Aviation Weather Center aviationweather.gov/data/metar/
Error: httr2_failure: Error during request performing!
Execution halted
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 26, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 25, 2026
examples
Running examples in ‘pmetar-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: metar_get
> ### Title: Get a current METAR report for an airport.
> ### Aliases: metar_get
>
> ### **
...[truncated]...
from the file downloaded from
http://ourairports.com/data/airports.csv
created by David Megginson
Getting information from Aviation Weather Center aviationweather.gov/data/metar/
Error: httr2_failure: Error during request performing!
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 20, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
examples
Running examples in 'pmetar-Ex.R' failed
The error most likely occurred in:
> ### Name: metar_get
> ### Title: Get a current METAR report for an airport.
> ### Aliases: metar_get
>
> ### ** Examples
>
> metar_get("EPWA")
Getting airport informaito
...[truncated]...
from the file downloaded from
http://ourairports.com/data/airports.csv
created by David Megginson
Getting information from Aviation Weather Center aviationweather.gov/data/metar/
Error: httr2_failure: Error during request performing!
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 16, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 15, 2026
examples
Running examples in ‘pmetar-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: metar_get
> ### Title: Get a current METAR report for an airport.
> ### Aliases: metar_get
>
> ### **
...[truncated]...
from the file downloaded from
http://ourairports.com/data/airports.csv
created by David Megginson
Getting information from Aviation Weather Center aviationweather.gov/data/metar/
Error: httr2_failure: Error during request performing!
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 4, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 3, 2026
examples
Running examples in ‘pmetar-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: metar_get
> ### Title: Get a current METAR report for an airport.
> ### Aliases: metar_get
>
> ### **
...[truncated]...
from the file downloaded from
http://ourairports.com/data/airports.csv
created by David Megginson
Getting information from Aviation Weather Center aviationweather.gov/data/metar/
Error: httr2_failure: Error during request performing!
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 2, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 31, 2026
examples
Running examples in 'pmetar-Ex.R' failed
The error most likely occurred in:
> ### Name: metar_get
> ### Title: Get a current METAR report for an airport.
> ### Aliases: metar_get
>
> ### ** Examples
>
> metar_get("EPWA")
Getting airport informaito
...[truncated]...
from the file downloaded from
http://ourairports.com/data/airports.csv
created by David Megginson
Getting information from Aviation Weather Center aviationweather.gov/data/metar/
Error: httr2_failure: Error during request performing!
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Code
Structure
Lines of code
5,057
Files
83
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
22
Internal functions
0
Testing & CI
Has tests
Yes
Test-to-code ratio
0.71
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
95.5%
\dontrun example ratio
4.5%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
No
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
0%
Unsafe pattern score
0
Dep constraint coverage
0%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
4.1
System requirements
–
C++ standard
–
License
GPL (>= 3)
License flags
SPDX valid, OSI approved
History
Versions
12
First release
2020-09-09
Latest release
2026-06-14
Avg cadence
171 days
Cold removal rate
–
Dep drift
4
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.