ropensci-archive / bomrang

:warning: ARCHIVED :warning: Australian government Bureau of Meteorology (BOM) data client for R
Other
109 stars 26 forks source link

Warnings about links in documentation on installation #98

Closed adamhsparks closed 5 years ago

adamhsparks commented 5 years ago

Warnings appear on installation (at least on older versions of R, I've been unable to duplicated on my systems).

Joris provides an answer how to fix here: https://stackoverflow.com/questions/48430093/how-do-i-resolve-rd-warning-missing-file-link-when-building-packages-in-rstudi

> install.packages("bomrang")
Installing package into ‘C:/Users/ahepworth/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)

  There is a binary version available but the source version is later:
        binary source needs_compilation
bomrang  0.4.0  0.5.0             FALSE

installing the source package ‘bomrang’

trying URL 'https://cran.rstudio.com/src/contrib/bomrang_0.5.0.tar.gz'
Content type 'application/x-gzip' length 1611125 bytes (1.5 MB)
downloaded 1.5 MB

* installing *source* package 'bomrang' ...
** package 'bomrang' successfully unpacked and MD5 sums checked
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'bomrang'
    finding HTML links ... done
    bomrang                                 html 
    get_ag_bulletin                         html 
    get_available_imagery                   html 
    get_available_radar                     html 
    get_coastal_forecast                    html 
    get_current_weather                     html 
    get_historical                          html 
Rd warning: C:/Users/user/AppData/Local/Temp/RtmpYVWDQI/R.INSTALLaccd1819e6/bomrang/man/get_historical.Rd:82: missing file link 'dplyr'
Rd warning: C:/Users/user/AppData/Local/Temp/RtmpYVWDQI/R.INSTALLaccd1819e6/bomrang/man/get_historical.Rd:86: missing file link 'rename'
    get_precis_forecast                     html 
    get_radar_imagery                       html 
    get_satellite_imagery                   html 
    get_weather_bulletin                    html 
    manage_cache                            html 
    pipe                                    html 
Rd warning: C:/Users/user/AppData/Local/Temp/RtmpYVWDQI/R.INSTALLaccd1819e6/bomrang/man/pipe.Rd:10: missing file link '%>%'
    reexports                               html 
Rd warning: C:/Users/user/AppData/Local/Temp/RtmpYVWDQI/R.INSTALLaccd1819e6/bomrang/man/reexports.Rd:20: missing file link 'rename'
    sweep_for_stations                      html 
    update_forecast_towns                   html 
    update_station_locations                html 
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded
*** arch - i386
*** arch - x64
* DONE (bomrang)
In R CMD INSTALL
adamhsparks commented 5 years ago

This commit should fix this issue. https://github.com/ropensci/bomrang/commit/f45b8fcbe2bd6f0bd76799d2b34e7cab9fad842b