Closed mvuorre closed 4 years ago
I'll try to make progress on this today. I've deleted sinew
which is no longer used. We need httr to grab jspsych. I've added gtools, rlist, and ymlthis to the imports. The last three are all used in vertical::suggest_yml()
for minor tasks that I might be able to rewrite (gtools::split_path()
is also used in build_vertical()
). Currently the dev branch passes a check with no errors on my end.
Just making some notes here about what is currently being used that might be trimmed:
gtools::split_path()
This function splits a path by the path separator, used in suggest_yml()
, and build_vertical
.
unlist(strsplit(x, split = .Platform$file.sep))
rlist::list.append()
a helper function for appending to a list, used in suggest_yml()
c()
statement.ymlthis::as_yml()
prints a yml object to the console. used insuggest_yml()
I've made a few changes todev
addressing these issues.
suggest_yml
and build_vertical
no longer depend on gtools
, rlist
, or ymlthis
The current list of imports is:
Imports:
devtools,
usethis,
pkgdown,
httr,
papaja,
yaml,
posterdown,
rmarkdown,
git2r,
rstudioapi
Remotes:
github::crsh/papaja,
github::CrumpLab/jspsychr
Suggests:
knitr
closing this issue
Currently, we have
And if you run CHECK, there's more:
How many of these are actually required? When functions used from those packages change, vertical has to change correspondingly. Just trying to make the package as lightweight and easy to maintain as possible.
It seems that it should be possible to do just with usethis, devtools, pkgdown, and then the packages that are used in the modules (e.g. papaja).