Git Product home page Git Product logo

pdsi's People

Contributors

cszang avatar oreotrephes avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pdsi's Issues

False "Unsupported OS error" when running on Mac

Running pdsi() on a mac returns "Error in pdsi(12, 50, muc.clim, 1960, 2000) : Unsupported OS"; the problem seems to be that the function expects Sys.info()["sysname"] to return "Mac" when it in fact returns "Darwin".

bootRes issue

Quits on a missing bootRes required package (on loading), which is easily resolved by installing it. Might want to add a proper warning. Had a ton of questions from people not knowing what to do with similar errors.

Otherwise, saved my day on calculating PDSI. Thanks a million!

Downloading github repo cszang/pdsi@master
Installing pdsi
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save --no-restore >CMD INSTALL
'/private/var/folders/ll/kg6krgsn6sb29k59ts8ntl080000gn/T/RtmpmOyEAp/devtools4b4319288ce7/cszang-pdsi-6b8d279'
--library='/Library/Frameworks/R.framework/Versions/3.1/Resources/library' --install-tests

  • installing source package ‘pdsi’ ...
    ** R
    ** exec
    ** inst
    ** preparing package for lazy loading
    Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
    there is no package called ‘bootRes’
    ERROR: lazy loading failed for package ‘pdsi’
  • removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/pdsi’
    Error: Command failed (1)

penman

Can add a penmen ET when calculate scPDSI?

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.