demoR
demoR copied to clipboard
Unable to install demoR from GitHub
I'm having problems installing the packege from GitHub:
> devtools::install_github("kbodwin/demoR")
Downloading GitHub repo kbodwin/demoR@master
√ checking for file 'C:\Users\kkulma\AppData\Local\Temp\Rtmpa24Xua\remotes102c18d325f2\kbodwin-demoR-968292a/DESCRIPTION' ...
- preparing 'demoR':
√ checking DESCRIPTION meta-information ...
- checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
- building 'demoR_0.0.0.9000.tar.gz'
Installing package into ‘C:/Users/kkulma/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
* installing *source* package 'demoR' ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package 'demoR'
finding HTML links ... done
code_from_editor html
demo_chunk html
demo_code html
finding level-2 HTML links ... done
dot-onLoad html
highlight html
hlt_regexp.default html
hlt_regexp.demo_code html
knit_print.demo_code html
make_sandwiches html
mask html
pipe html
Rd warning: C:/Users/kkulma/AppData/Local/Temp/RtmpIHQIAv/R.INSTALL45f854d16782/demoR/man/pipe.Rd:10: file link '%>%' in package 'magrittr' does not exist and so has been treated as a topic
print.demo_code html
replay_html.demo_code html
scope_and_run html
scope_run_print html
split_sandwiches html
txt_style html
wrap_html html
wrap_source html
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
Error: package or namespace load failed for 'demoR' in namespaceExport(ns, exports):
undefined exports: replay_html.demo_code
Error: loading failed
Execution halted
*** arch - x64
Error: package or namespace load failed for 'demoR' in namespaceExport(ns, exports):
undefined exports: replay_html.demo_code
Error: loading failed
Execution halted
ERROR: loading failed for 'i386', 'x64'
* removing 'C:/Users/kkulma/Documents/R/win-library/3.6/demoR'
Error: Failed to install 'demoR' from GitHub:
(converted from warning) installation of package ‘C:/Users/kkulma/AppData/Local/Temp/Rtmpa24Xua/file102c2d5e6678/demoR_0.0.0.9000.tar.gz’ had non-zero exit status
I have all the dependencies up-to-date, not sure what else could be causing issues.
My session info:
> sessionInfo()
R version 3.6.0 (2019-04-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17763)
Matrix products: default
locale:
[1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252 LC_MONETARY=English_United Kingdom.1252
[4] LC_NUMERIC=C LC_TIME=English_United Kingdom.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] Rcpp_1.0.2 rstudioapi_0.10 magrittr_1.5 usethis_1.5.1 devtools_2.1.0 pkgload_1.0.2 R6_2.4.0
[8] rlang_0.4.0 tools_3.6.0 pkgbuild_1.0.3 packrat_0.5.0 sessioninfo_1.1.1 cli_1.1.0 withr_2.1.2
[15] remotes_2.1.0 assertthat_0.2.1 digest_0.6.20 rprojroot_1.3-2 crayon_1.3.4 processx_3.4.1 callr_3.3.0
[22] fs_1.3.1 ps_1.3.0 curl_3.3 testthat_2.1.1 memoise_1.1.0 glue_1.3.1 compiler_3.6.0
[29] desc_1.2.0 backports_1.1.4 prettyunits_1.0.2
We've done a quick patch, and it should be install-able now.
I'm leaving this issue open until we can chase down the source of the problem.
Thanks for calling our attention to this!
I'm gonna hijack a bit this issue (@KKulma I hope you don't mind). @kbodwin are PR's welcome? I have fixes for some of the more trivial issues.
PRs are very, very welcome @dragosmg!
I get a bunch of errors, warnings and notes when running devtools::check()
.
1 error ✖ | 6 warnings ✖ | 5 notes ✖
@kbodwin would you like me to create individual issues? Some are easier to tackle as they're just typos, other seem to be a bit more involving.
Some of the more complicated issues will definitely need your input and I think it's best if I create separate issues.