Skip to content

Conversation

@crsh
Copy link
Contributor

@crsh crsh commented Aug 8, 2018

Running roxygenize() with desc 1.1.0 throws the following error:

Error in .f(.x[[i]], ...) : attempt to apply non-function

This is caused by read.description() trying to access the non-existent function get_field() in the output of desc() (see here). get_field() was only added to the output with version 1.2.0 of desc.

Running `roxygenize()` with `desc` 1.1.0 throws the following error:

~~~
Error in .f(.x[[i]], ...) : attempt to apply non-function
~~~

This is caused by `read.description()` trying to access the non-existent function `get_field()` in the output of `desc()` (see [here](https://github.com/klutometis/roxygen/blob/master/R/utils.R)). `get_field()` was only added to the output with [version 1.2.0](https://github.com/r-lib/desc/blob/4f60833fdb6d1aae4cbf09b7eb293c5fa0770e5c/inst/NEWS.md#120) of `desc`.
@hadley
Copy link
Member

hadley commented Aug 21, 2018

Can you please add a bullet to NEWS? It should briefly describe the change and end with (@yourname, #issuenumber).

@crsh
Copy link
Contributor Author

crsh commented Aug 21, 2018

Sure, I just added the commit.

@hadley hadley merged commit 7032ed1 into r-lib:master Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants