Today, give a try to Techtonique web app, a tool designed to help you make informed, data-driven decisions using Mathematics, Statistics, Machine Learning, and Data Visualization
I’m using VS Code on macOS for Python, R, Javascript (etc.) development. I needed a quick/automated workflow for my R package development at the command line, so I created this Makefile (if necessary install Python):
https://gist.github.com/thierrymoudiki/3bd7cfa099aef0c64eb5f91138d8cedb
All you need to do is: store the Makefile at the root of the package folder.
Type make
or make help
at the command line to see all the commands available. You can start with make initialize
, that will install devtools
and rmarkdown
, if they’re not available yet. Here’s what you can do so far (as of 2024-08-27):
make clean
: remove all R artifactsmake start
: start or restart R sessionmake setwd
: set working directory to current directorymake docs
: generate package documentationmake check
: check package for potential errorsmake install
: install packagemake initialize
: initialize environment (install packages)make load
: load all (when developing the package)make render
: run R markdown file in/vignettes
(you’ll be prompted to give the file name, without extension)
Of course, work in progress (no package creation, or running tests, etc.). And also, nothing malicious about the script (ask an LLM to break it down for you if necessary :) ). Feel free to comment the GitHub Gist if you have a suggestion.
Comments powered by Talkyard.