Closed LucyMcGowan closed 7 years ago
I couldn't find a way to use devtools::use_data()
in two separate files (both emoji.R and fisher.R) with internal = TRUE
, since it would have to also include overwrite = TRUE
and it would overwrite the sysdata.rda
created by the other (which is why I do the saving/loading dance 💃). Do you know how to go about that? The .json file was recreated because I reran emoji.R and it turned out there were a few updates to the document it pulled from.
I actually did not know about overwrite=FALSE
before I look at this repo 🙊.
Alternatively maybe we could export it, it might make sense to view the alphabet anyway, so doing a use_data( fisher_lst, overwrite = TRUE )
👌 do you have a different name that you'd prefer other than fisher_lst
if we're exporting?
Can't think of anything that ✔️, we can always change it later.
perhaps we can just leave
fisher_lst
unexported, i.e. maybe it does not need its own file indata/
I don't think it would be a big deal to move the content of
data-raw/fisher.R
toemojis.R
so that we would spare the file indata/
and just use oneuse_data( internal = TRUE)
call without thesave
andload
dance.Also, not sure why it shows changes in the json file, as I don't think you use it for this PR.