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

Ana Marija @okov|c@@n@m@r|j@ @end|ng |rom gm@||@com
Thu Jul 11 01:03:51 CEST 2019


do I have to update maybe any of the libraries show in attach?

On Wed, Jul 10, 2019 at 6:01 PM Ana Marija <sokovic.anamarija using gmail.com>
wrote:

> Hi Patrick,
>
> do you refer to this?
> https://github.com/kenhanscombe/ukbtools/issues/20
>
> I did it:
>
> > devtools::install_github("kenhanscombe/ukbtools", build_vignettes =
> TRUE, dependencies = TRUE,force=TRUE)
>
> but still the same error:
> > library(ukbtools)
> > my_ukb_data <- ukb_df("ukb31212")
> > 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
>
> On Wed, Jul 10, 2019 at 5:49 PM Patrick (Malone Quantitative) <
> malone using malonequantitative.com> wrote:
>
>> On Wed, Jul 10, 2019 at 4:52 PM David Winsemius <dwinsemius using comcast.net>
>> wrote:
>> >
>> > Did you read the bug report from three weeks ago and the suggested fix
>> documented on the webpage you cited?
>> >
>> > —
>> > David
>> >
>> >
>> > Sent from my iPhone
>> >
>> > > On Jul 10, 2019, at 1:09 PM, Patrick (Malone Quantitative) <
>> malone using malonequantitative.com> wrote:
>> > >
>> > > First response: The ID column in your data is labeled "eid" but your
>> > > function call refers to "id".
>> > >
>> > >
>> > >> On Wed, Jul 10, 2019 at 1:38 PM Ana Marija <
>> sokovic.anamarija using gmail.com> wrote:
>> > >>
>> > >> 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]]
>> > >>
>> > >> ______________________________________________
>> > >> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> > >> https://stat.ethz.ch/mailman/listinfo/r-help
>> > >> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> > >> and provide commented, minimal, self-contained, reproducible code.
>> > >
>> > > ______________________________________________
>> > > R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> > > https://stat.ethz.ch/mailman/listinfo/r-help
>> > > PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> > > and provide commented, minimal, self-contained, reproducible code.
>> >
>>
>> ______________________________________________
>> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2019-07-10 at 6.02.42 PM.png
Type: image/png
Size: 128043 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20190710/008f91a2/attachment.png>


More information about the R-help mailing list