CRAN Package Check Results for Maintainer ‘Pawel Cwiek <prc.altodato at gmail.com>’

Last updated on 2025-07-14 05:49:03 CEST.

Package ERROR OK
pmetar 1 12

Package pmetar

Current CRAN status: ERROR: 1, OK: 12

Version: 0.5.1
Check: examples
Result: ERROR 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 > > ### ** Examples > > metar_get("EPWA") Getting airport informaiton from the file downloaded from http://ourairports.com/data/airports.csv Getting information from Aviation Weather Center aviationweather.gov/data/metar/ No encoding supplied: defaulting to UTF-8. <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>Microsoft-Azure-Application-Gateway/v2</center> </body> </html> > metar_get("CYUL") Getting airport informaiton from the file downloaded from http://ourairports.com/data/airports.csv Getting information from Aviation Weather Center aviationweather.gov/data/metar/ Error in UseMethod("status_code") : no applicable method for 'status_code' applied to an object of class "character" Calls: metar_get -> <Anonymous> Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.5.1
Check: re-building of vignette outputs
Result: ERROR 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_error> Error in `UseMethod()`: ! no applicable method for 'status_code' applied to an object of class "character" --- Backtrace: ▆ 1. └─pmetar::metar_get("EPWA") 2. └─httr::status_code(myfile) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'pmetar.Rmd' failed with diagnostics: no applicable method for 'status_code' applied to an object of class "character" --- failed re-building ‘pmetar.Rmd’ SUMMARY: processing the following file failed: ‘pmetar.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc