Closed Robinlovelace closed 6 years ago
Thanks Robin! Glad you are “check”ing it.
I think you fixed this? So won’t do anything.
No it's still failing. Please test regularly, worth testing before each change. CI will do that automagically but for now it's worth doing manually.
On it.
The output was not helpful, I might raise a ticket to the devtools guys, default colour for error but orange for warnings?
I found the issue, the example would not run in the code, but I only give a warning and on purpose do not throw an error. Dont know why check
was not happy with that.
https://github.com/ATFutures/geoplumber/commit/487fbffc252e600dca61b497692bfadc93662471#diff-31f2bff49f40b92420ed555e78d80561L17
https://github.com/ATFutures/geoplumber/blob/master/R/gp_install_npm_package.R#L16
If you are happy, we can close the ticket.
Let me double 'check' it first. Agree re output colour raising an issue +1
Still getting errors, in the tests now.
Thanks @Robinlovelace, had to have a weekend so didn't reply.
It was due to the change in meta
data and also me leaving failed test in there.
Should be good in the next commit.
Yep fixed, great work!
devtools::check("/home/robin/repos/geoplumber/")
#> Updating geoplumber documentation
#> Loading geoplumber
#> Warning: @export [/home/robin/repos/geoplumber/R/
#> gp_endpoint_from_clip.R#8]: may only span a single line
#> Writing NAMESPACE
#> Writing NAMESPACE
#> Setting env vars ---------------------------------------------------------
#> CFLAGS : -Wall -pedantic
#> CXXFLAGS: -Wall -pedantic
#> Building geoplumber ------------------------------------------------------
#> '/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore \
#> --quiet CMD build '/home/robin/repos/geoplumber' --no-resave-data \
#> --no-manual
#>
#> Setting env vars ---------------------------------------------------------
#> _R_CHECK_CRAN_INCOMING_USE_ASPELL_: TRUE
#> _R_CHECK_CRAN_INCOMING_ : FALSE
#> _R_CHECK_FORCE_SUGGESTS_ : FALSE
#> Checking geoplumber ------------------------------------------------------
#> '/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore \
#> --quiet CMD check '/tmp/Rtmp3zFdXg/geoplumber_0.0.0.9000.tar.gz' \
#> --as-cran --timings --no-manual
#>
#> R CMD check results
#> 0 errors | 0 warnings | 3 notes
#> checking DESCRIPTION meta-information ... NOTE
#> Malformed Title field: should not end in a period.
#>
#> checking top-level files ... NOTE
#> File
#> LICENSE
#> is not mentioned in the DESCRIPTION file.
#> Non-standard file/directory found at top level:
#> ‘README.Rmd’
#>
#> checking Rd line widths ... NOTE
#> Rd file 'meta.Rd':
#> \examples lines wider than 100 characters:
#> u = "https://data.cdrc.ac.uk/dataset/c90eee49-6f92-4508-ac36-6df56853f817/resource/d39d9d89-0478-4f75-a166-1a445bf42f9c/download/metada ... [TRUNCATED]
#>
#> These lines will be truncated in the PDF manual.
Created on 2018-09-03 by the reprex package (v0.2.0).
I suggest we open source this package soon. Will open an issue.
Ctl-Shift-E checks if the package is set-up according to best practices. Currently it fails:
Created on 2018-08-31 by the reprex package (v0.2.0).