[R: New Features on mindr] v.1.2.0 released: universal function and directory tree

in #utopian-io6 years ago (edited)

Repo

https://github.com/pzhaonet/mindr

Brief Intro and curriculum

'mindr' is an R package that can convert files between (R)markdown, R scripts, and mind maps. A brief introduction can be found in one of my previous posts:

New Features

Commit: v.1.2.0 'mm()', 'tree()', 'pandoc'.

The new version 1.2.0 mainly brings four exciting features.

  1. Suggested by @yihui, an argument of 'method' was added to each main functions. Users can choose the method of regular expression or pandoc to pick out the outline of a markdown file.
  2. Suggested by the issue from the users, now mindr can save the mind map as an HTML widget file and share the mind map on web.
  3. A new function tree() can create a mind map from a directory on your computer. See the following image as a demo.
  4. A universal function mm() can convert the file formats automatically according to the suffix of the input file. This is a big step of mindr, because mm() wraps (almost) all the previous features into one function. Users do not have to memorize other functions.

2019-01-27-002.png

GitHub Account

https://github.com/pzhaonet

Sort:  

Thank you for your contribution @dapeng .

  1. typo. file name extension not extention
  2. Are you sure this is not typo return('NULLLL') as well?
  3. dir2, dir4 could be better named
  4. functions may be decomposed into smaller ones.
  5. Most functions could be unit tested and also you could configure your project on Travis-CI.com

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

Thank you for the helpful comments! NULLLL is deliberately misspelt for tracing (see the function count_space(). Although I agree that dir2 and dir4 could be better named, such names are quite popular in R community. For examples, read.csv2()is a built-in function.

Many thanks!

Thank you for your review, @justyy! Keep up the good work!

Hi @dapeng!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @dapeng!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!