Giter Site home page Giter Site logo

Comments (3)

eduardszoecs avatar eduardszoecs commented on May 21, 2024

Yep, having the same trouble with the Sweave-file (since CRAN has no API-key and no custumisable Rprofile.site and/or R CMD CHECK doesnot take care of the Rprofile).

I've came around in the vignette with:

<<>>=
options(pmkey = '<insertyourcodehere>')
@
<<echo=FALSE, results=hide>>=
options(pmkey = 'xxx')    # xxx stands for my personal key
@

<<>>=
plants <- c("Myrcia lingua", "Myrcia bella", "Ocotea pulchella")
plantminer(plants)
@

So I'm showing the user a code (to fill with his own key) but internal I'm using my personal key.

So to explicitely define the key in options.
Do you have a API-key which can be used for this? I am not happy with the solution to use my personal key here...
If options() doesn't work with Cran supply the key as argument

from taxize.

sckott avatar sckott commented on May 21, 2024

If okay with you, I moved all tropicos functions out of taxize. In addition, I removed all the tests as even after removing tropicos tests I was still getting a lot of errors that didn't make sense. We can still run tests basically, just by running examples. Using testthat you can do run_examples('path_to_package', run=F), where the run=F will uncomment the \dontrun lines and run all the examples. I just ran them all and no errors on my end at least. Pushing changes soon

from taxize.

sckott avatar sckott commented on May 21, 2024

Closing this and opening new issue to fix tropicos functions

from taxize.

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.