[R] Call `rlang::last_error()` to see a backtrace

Ana Marija @okov|c@@n@m@r|j@ @end|ng |rom gm@||@com
Wed Jul 10 19:40:46 CEST 2019


Hello,

I am trying to use this program:
https://github.com/kenhanscombe/ukbtools

> my_ukb_data[1:3,1:3]
      eid sex_f31_0_0 year_of_birth_f34_0_0
1 1000017      Female                  1938
2 1000025      Female                  1951
3 1000038        Male                  1961

> ukb_icd_diagnosis(my_ukb_data, id = "1000017", icd.version = 10)
Error: Column 1 must be named.
Use .name_repair to specify repair.
Call `rlang::last_error()` to see a backtrace

Function is described here:
https://kenhanscombe.github.io/ukbtools/reference/ukb_icd_diagnosis.html

I run it on:

$platform
[1] "x86_64-pc-linux-gnu"
$arch
[1] "x86_64"
$version.string
[1] "R version 3.5.0 (2018-04-23)"

Would anyone know why this is happening?

Thanks!

	[[alternative HTML version deleted]]



More information about the R-help mailing list