Aloha Simon, Spacemacs has this problem, too. The solution there is to byte-recompile org-plus-contrib after an update.
hth, Tom Simon Guest writes: > Hi Nicolas, > > My problem with org-plus-contrib exhibited itself when using a .emacs.d > based on Steve Purcell's, https://github.com/purcell/emacs.d. Specfically, > when loading ob-R, I got this error: > > Invalid function: org-babel-header-args-safe-fn > > In response to your email, just now I stripped that config right back to > basics, and found that my problem went away, and I was able to load ob-R > after all. Sorry, I should have done that before. > > Having realised that, I think I should report this against Steve Purcell's > .emacs.d, and leave you guys alone. > > Thanks for your help. > > cheers, > Simon > > On 8 August 2017 at 19:50, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > >> Hello, >> >> Simon Guest <s...@cantab.net> writes: >> >> > Well, almost as soon as I started on that, I see some issues around >> mixing >> > old/new org-mode functionality, so this seems like a not-so-good idea >> after >> > all. >> > >> > In particular, ox-taskjuggler is using the very new org-duration >> > library. >> >> You could use "ox-taskjuggler" from maint. >> >> > I'll think of another approach, not using MELPA. >> >> I suggest to use GNU ELPA instead. >> >> > At least until the underlying problem with org-plus-contrib is >> > resolved. >> >> What exactly is the underlying problem? >> >> Regards, >> >> -- >> Nicolas Goaziou >> >> -- Thomas S. Dye http://www.tsdye.com