Closed eitsupi closed 1 year ago
Now that the tests are working properly, I think you can merge this.
Ok, I think I can rewrite it in a way that does not rely on the cargo license
and RcppTOML using the cargo metadata
command, so I will do that tomorrow.
I have updated the function. It is no longer dependent on RcppTOML
or cargo-license
. All it needs is cargo
.
There was a small difference in the snapshot due to not using cargo-license
, but I don't think it is a major issue.
Sorry, I didn't exclude build dependencies. I will take a closer look.
Replacement by cargo metadata
failed, it seems that cargo license
is still necessary.
However, by using cargo metadata
, RcppTOML
dependency could be removed.
Will there be any benefit to storing license info in a tibble
and then mutating it rather than working over disconnected lists?
Thanks for the review. I updated.
Will there be any benefit to storing license info in a
tibble
and then mutating it rather than working over disconnected lists?
cargo-license
can also output data as tsv instead of json, but I think additional packages like readr
or data.table
would be needed to read it on the R side.
Here, I parse json and handle lists with the same structure as json, eliminating the need to depend on those packages.
Close #236