Hi Mara,
Thanks to you, I looked for the 'CF.mb' file. It does not exist. To be honest, I have no idea where it came from. Typo?
Nonetheless, neither the 'CF.mb' nor 'CF.md' files exist. Regardless, I made some discoveries, one good; one bad.
- GOOD. I added 'CF.mb', an empty file, to my 'CF' package. The following animation works again as well as other functions. Example:
zipper()
Warning: Ignoring unknown aesthetics: frame
Executing:
convert -loop 0 -delay 100 Rplot1.png Rplot2.png Rplot3.png Rplot4.png Rplot5.png
Rplot6.png Rplot7.png Rplot8.png Rplot9.png Rplot10.png Rplot11.png Rplot12.png
Rplot13.png Rplot14.png Rplot15.png Rplot16.png Rplot17.png Rplot18.png Rplot19.png
Rplot20.png Rplot21.png Rplot22.png Rplot23.png Rplot24.png Rplot25.png Rplot26.png
Rplot27.png Rplot28.png Rplot29.png Rplot30.png 'file1782f6fa9a091.gif'
Output at: file1782f6fa9a091.gif
-
BAD. knit does not work.
.../vignettes/CFmarkdown.Rmd
Error: object 'CF.mb' not found
Execution halted
-
I get the following errors and warnings from
==> devtools::check(cleanup = FALSE)
- checking top-level files ... NOTE
Non-standard files/directories found at top level:
‘CF.mb’ ‘TZ.txt’ ‘render_blogdown.txt’
...
- checking R code for possible problems ... NOTE
cfanim: no visible global function definition for ‘ggplot’
cfanim: no visible global function definition for ‘geom_point’, ...
Undefined global functions or variables:
aes geom_line geom_point gganimate ggplot theme_bw theme_set x
...
cfanim(60, 3, 30, 0.25)
Error in ggplot(df, xlim = xlim, ylim = ylim, col = gray(0.5)) :
could not find function "ggplot".
Calls: cfanim
Execution halted
ggplot is part of the 'ggplot2' package and it is in the session:
ggplot2 * 2.2.1 2016-12-30 CRAN (R 3.4.0)
Second, 'ggplot' is not a package.
Finally,
Status: 1 ERROR, 2 NOTEs
checking examples ... ERROR
Running examples in ‘CF-Ex.R’ failed
The error most likely occurred in:
base::assign(".ptime", proc.time(), pos = "CheckExEnv")
Name: cfanim
cfanim(60, 3, 30, 0.25) works despite the check errors.
Warning: Ignoring unknown aesthetics: frame
Executing:
convert -loop 0 -delay 100 Rplot1.png Rplot2.png Rplot3.png Rplot4.png Rplot5.png ...
Conclusion
knit is looking for 'CF.mb' and cannot find it. There are other mysterious things going on that I must address. Right now, my major concern is diagnosing the knit problem.
Does this help you? I hope so.
Thanks,
Paul