Giter Club home page Giter Club logo

changer's People

Contributors

helske avatar mahshaaban avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

changer's Issues

Fails if the path to the package contains a `(`

The path to my package contains a (. When I run changer I get the following error (anonymized):

sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `'mv' /Users/orgadish/Dropbox (Work)/R packages/my_package /Users/orgadish/Dropbox (Work)/R packages/my_new_package'

What I've done so far is to move it to a different folder, run changer and then move it back.

Modify `yml` files

Hi @helske
Thanks for this handy package. I wonder if you plan on including yml/yaml in the files to be modified when changing the package names. These files are now very prevalent in R packages and it would be great if it could be included.

overwriting

Would like to be able to use without overwriting the existing source tree by first copying to a new source tree. Thus if package is called A and is in source tree A and if we want to change it to B then it would create a new directory B by copying A to B and then operate in B.

Also the original version A could either be a directory tree or a .tar.gz file in which case it would be de-tar'd into B.

Unrecognised build type

When trying to run R_CMD_Check following name change I got the following message in build pane.

Doesn't allow me to rebuild the package locally after that

Unexpected urban dictionary prompt

After submitting the changer::changer() command the following prompt appears without any context. Would be useful to know why this is being asked this as part of a package rename function. Thanks.

Urban Dictionary can contain potentially offensive results,
  should they be included? [Y]es / [N]o:

Give a warning when a package contains `.rda` files

Hi @helske
Data saved in a package can cause problems when changing the package names. I am not sure if there is a way to deal with this in changer, other than reading the files after changing the name.
I ran into this problem recently and the error message was not very informative. It would be nice if changer produced an error when .rda files are detected.
What do you think?

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.