Giter Site home page Giter Site logo

Comments (8)

florianhartig avatar florianhartig commented on May 18, 2024

no, this is the wrong discussion, raw data should go in data-raw

from r-package.

florianhartig avatar florianhartig commented on May 18, 2024

sorry, no, probably better to put it in extdata http://r-pkgs.had.co.nz/data.html#data-extdata, I have to try this.

data-raw is also possible, but then we would probably have to build the vignette by hand and move it, as we do in https://github.com/COST-FP1304-PROFOUND/ProfoundData/tree/master/ProfoundData/data-raw

from r-package.

florianhartig avatar florianhartig commented on May 18, 2024

Yes, I think this works best, see also https://stackoverflow.com/questions/13463103/inst-and-extdata-folders-in-r-packaging?noredirect=1&lq=1

I can do this, but will wait for what you say about the vignette.

from r-package.

ohagen avatar ohagen commented on May 18, 2024

Please give it a shot. I am at the very start of the vignettes and having a robust order now will help a lot. I like this: https://stackoverflow.com/questions/13463103/inst-and-extdata-folders-in-r-packaging?noredirect=1&lq=1
Wecan call fpath <- system.file("extdata", "my_raw_data.csv", package="my_package") on the vignette! Go ahead and I will pull when you are ready.

from r-package.

ohagen avatar ohagen commented on May 18, 2024

Florian, I changed the file to the order on the forums that you pointed out. But now compiling vignette introduction is crashing. can you have a look at how I am calling the functions. Precisely at line 98 is the first error reading the config file. I tried to use the line that gets the absolute path within the package:
datapath <- system.file("extdata", "EXPERIMENT_X", package="gen3sis")

from r-package.

florianhartig avatar florianhartig commented on May 18, 2024

I'll have a look in the next days, swamped at the moment, sorry!

from r-package.

ohagen avatar ohagen commented on May 18, 2024

No worries. Thanks a lot!

from r-package.

ohagen avatar ohagen commented on May 18, 2024

I think I found a work around! Vignette works as intended. Thus closing the issue. Thank you

from r-package.

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.