So, I moved all of the relevant functions over from utility.r to nms4r. It all mostly seems to work, with one exception. the nms4r version of md_caption doesn't work for some reason that I can't understand. My main problem is that md_caption contains some super-long pipes that I am having trouble pulling apart, so I am not sure where the trouble is exactly.
I can say that the function breaks at this line, but the problem may actually be upstream of that.
So, here is some output:
nms4r::md_caption("Figure Ux.Ocean.SST.ERD.map.")
Error in UseMethod("filter_") :
no applicable method for 'filter_' applied to an object of class "function"
So, I moved all of the relevant functions over from utility.r to nms4r. It all mostly seems to work, with one exception. the nms4r version of md_caption doesn't work for some reason that I can't understand. My main problem is that md_caption contains some super-long pipes that I am having trouble pulling apart, so I am not sure where the trouble is exactly.
I can say that the function breaks at this line, but the problem may actually be upstream of that.
So, here is some output: