Hi, thanks for nice package. Honestly, I think it's super cool.
As I understand, I can bring some R package as text file to isolated development environments.
I was checking out the Get started and Articlec and had a question, so I raised an issue.
In Curate File Collections , there's code below which I understand as
"You can select your R package's contents as you want to pkglite" not only the file_default
If so, shouldn't the last line have collate(file_r(), file_man()) with file_r() as a duplicate?
Because it's already included in line before.
So I was confused about last line is meant to be show collate function can take multiple parameters or typo.
If is intended, it may good to give comment like #collate can have multiple file_* functioins or remove file_r().
fc <- merge(
pkg %>% collate(file_root_core()),
pkg %>% collate(file_r()),
pkg %>% collate(file_r(), file_man()) # you can use multiple file collections in collate
)
fc <- merge(
pkg %>% collate(file_root_core()),
pkg %>% collate(file_r()),
pkg %>% collate(file_man())
)
Hi, thanks for nice package. Honestly, I think it's super cool.
As I understand, I can bring some R package as text file to isolated development environments.
I was checking out the Get started and Articlec and had a question, so I raised an issue.
In Curate File Collections , there's code below which I understand as "You can select your R package's contents as you want to pkglite" not only the
file_default
If so, shouldn't the last line have
collate(file_r(), file_man())
withfile_r()
as a duplicate? Because it's already included in line before.So I was confused about last line is meant to be show
collate
function can take multiple parameters or typo. If is intended, it may good to give comment like#collate can have multiple file_* functioins
or removefile_r()
.Thanks !