Code Monkey home page Code Monkey logo

expfactoryr's Issues

testhat library is missing to run tests

This should likely be a part of the expfactoryr library itself, since it's core functionality is also to test.

Error: ‘testthat’ >= 1.0.2 must be installed for this functionality.

@earcanal the library has other purpose as well, like to parse data? We should have a Docker entrypoint with different commands - I'll make "test" coincide with testing a package folder (and if there are other command line stuffs we can add/talk about after)

container needs to pass on return code

Currently, failed tests (from another CI environment) aren't getting through.

test_breath_counting.R:20: error: (unknown)
there is no package called ‘expfactoryr’
1: process_breath_counting(path, p = 1) at /data/expfactory.breathcounting/tests/testthat/test_breath_counting.R:20
2: expfactoryr::process_expfactory_experiment at /data/expfactory.breathcounting/R/expfactory.breathcounting.R:45
3: getExportedValue(pkg, name)
4: asNamespace(ns)
5: getNamespace(ns)
6: tryCatch(loadNamespace(name), error = function(e) stop(e))
7: tryCatchList(expr, classes, parentenv, handlers)
8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
9: value[[3L]](cond)
────────────────────────────────────────────────────────────────────────────────

══ Results ═════════════════════════════════════════════════════════════════════
Duration: 0.4 s

OK:       1
Failed:   3
Warnings: 0
Skipped:  0
> 
> 
4. Grabbing man pages from container!

So dense!

Packaging?

hey @earcanal ! I'm developing some infrastructure for rOpenSci, and was wondering if I could use expfactoryr as a test package. It would mean adding it as a submodule to a repository, and then doing some trivial pushes / updates. Would that be okay with you?

Why is package name not expfactoryr?

hey @earcanal !

I'm testing a build, and I'd expect to be able to do:

R -e "library(expfactoryr); sessionInfo()"

but that doesn't work! Instead I have to do:

R -e "library(expfactory); sessionInfo()"

Is this intentional / the standard for most packages? if so, how do I reliably get the package name to load?

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.