Giter Club home page Giter Club logo

Comments (6)

strengejacke avatar strengejacke commented on May 8, 2024

Importing other packages

  • No full import, only selective import of functions
  • Use base-R wherever possible (reduce dependencies)

Helper-functions

  • Own re-implementation of helper-functions, if it's not too much effort (e.g. I typically use own functions to check if a string starts / ends with a pattern, or if an object (list, data frame) contains an element with a given name (like tibble::has_name()), to reduce dependencies.

Function names

  • lower case, underscore separated if more than one verb

Argument names

  • lower case, underscore separated if more than one verb

from easystats.

DominiqueMakowski avatar DominiqueMakowski commented on May 8, 2024

I would opt for the underscore separation both for functions and arguments... Also working with other langs such as python or julia, this dot separator thing in R always felt a bit weird to me :)

For the rest, sounds perfect!

from easystats.

strengejacke avatar strengejacke commented on May 8, 2024

What about versioning? I almost never use different branches and have not much experience with this. I think this is something I should start learning and applying for the projects / packages we plan. Or should we work with pull requests, or both? What is better in which situation?

from easystats.

DominiqueMakowski avatar DominiqueMakowski commented on May 8, 2024

I had many tentatives working with branches, more or less successful ^^, including a feature-based workflow and a dev-branch workflow, and had better results with the second. Basically, the idea would be to have a maste, and a dev branch to which we upload our commits (the dev is our working branch), and from time to time we merge dev into master, updating the version number

from easystats.

strengejacke avatar strengejacke commented on May 8, 2024

Ok, let's try it with dev-branches.

from easystats.

strengejacke avatar strengejacke commented on May 8, 2024

I updated accoding to easystats/parameters#44

from easystats.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.