r-spatial / r-spatial.org

r-spatial.org blog sources
http://r-spatial.org/
60 stars 28 forks source link

post on quantities - first prototype #22

Closed Enchufa2 closed 6 years ago

Enchufa2 commented 6 years ago

Here we go. Comments welcome.

BTW, what's the workflow to convert the Rmd into an md for Jekyll?

edzer commented 6 years ago

Trying to install quantities from master, but seeing (with units from master):

* installing to library ‘/home/edzer/R/x86_64-pc-linux-gnu-library/3.4’
* installing *source* package ‘quantities’ ...
** R
** byte-compile and prepare package for lazy loading
Warning: replacing previous import ‘errors::%*%’ by ‘units::%*%’ when loading ‘quantities’
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Warning: replacing previous import ‘errors::%*%’ by ‘units::%*%’ when loading ‘quantities’
Error: package or namespace load failed for ‘quantities’:
 object 'drop_errors' not found whilst loading namespace 'quantities'
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/edzer/R/x86_64-pc-linux-gnu-library/3.4/quantities’
* restoring previous ‘/home/edzer/R/x86_64-pc-linux-gnu-library/3.4/quantities’

The workflow (obviously!) is here. Change the first line.

Enchufa2 commented 6 years ago

Ah, ok, I didn't see the makefile.

Regarding the installation of quantities, it requires both the master version of units and errors.

Enchufa2 commented 6 years ago

Converted. Preview (more or less) here.

edzer commented 6 years ago

It runs now, thanks. I'm full with meetings Today; should be able to comment by Tomorrow.

Enchufa2 commented 6 years ago

Great, thanks!

edzer commented 6 years ago

(merged manually)

Enchufa2 commented 6 years ago

Thanks! What happened to the plot?

edzer commented 6 years ago

Thanks - it's there now.