statworx / helfrlein Goto Github PK
View Code? Open in Web Editor NEWThis package contains a collection of R helper functions.
License: Other
This package contains a collection of R helper functions.
License: Other
adding unit-tests for dive
Wir sollten versuchen möglichst viele Dependencies loszuwerden. Bei manchen geht es schwer, aber darin liegt dann die Herrausforderung ;)
Ist aber nicht für die erste Version nötig!
Adding unit-tests for all functions:
Also adding new functions to this list!
es stimmt noch was nicht mit der library igraph.
hier kommt bei mir selbst beim normalen install.packages("igraph")
folgender Fehler:
> library(igraph) Error: package or namespace load failed for ‘igraph’ in get(Info[i, 1], envir = env): lazy-load database '/Library/Frameworks/R.framework/Versions/3.4/Resources/library/igraph/R/igraph.rdb' is corrupt In addition: Warning messages: 1: package ‘igraph’ was built under R version 3.4.4 2: In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1
add unit-tests for get_network
This is not yet implemented, since wihtin the function we use perl = TRUE
and fixed = TRUE
overrides this.
When a function is defined twice with different content, in differently named files, it seems, that
Lines 401 to 409 in 7a5e587
ideas:
Dear STATWORX-team,
unfortunately in the newer releases the percent.max parameter is missing in the statusbar() function. It is replaced by width.
In terms of downward compatibility of scripts it would be nice to leave percent.max as redundant parameter inside the function.
thanks
Stephan
update the roxygen comments for the following functions:
Here are the TODOs before / while going from private to public:
I have a function called glob_search that searches for a string in all files in a directory and returns those filenames
add unit-tests for multiplot
Hex-Vektor an continous STATWORX Farben
colourCount <- 20
getPalette <- colorRampPalette(as.vector(sci_palette(9))[c(1,2,3,5)])
# within ggplot
ggplot(data.frame(x = 1:colourCount, y = 1), aes(x = x, y = y)) +
geom_point(aes(size = 5, color = as.factor(x))) +
scale_color_manual(values = getPalette(colourCount)[sample((colourCount))])
add unit-tests for burglr
@MartAlbers
within the functions sci_palette
the format needs to be adjustetd, so that the following error will not occour:
Found the following files with non-ASCII characters:
sci_palette.R
show_sci_palette.R
show_sci_palette
function and implement a print
method instead. @andrebleier can help here I think.In the process of manually reinstalling packages (igraph
) for ubuntu, the R version changes.
Before also stringi
caused problems, but got removed with this commit.
might be good to check this one out:
https://github.com/sonatype-nexus-community/oysteR
First of all, THANKS for your time and efforts in producing such a nice package.
If you want to install helfRlein on Windows OS you often run into an install error.
On some installation instances the installation worked with a warning.
Warning: unable to re-encode 'char_replace.R' lines 79, 80
But on others it resulted in an error and I was not able to install it, not with binaries and not by using install_github.
Editing char_replace.R and remove line 79, 80 for installation on windows solved that issue.
Do you have a better workaround?
please add tests for the following cases:
is_found
is empty (can that happen?) or NA
, integer(0)
, ...get_files
and the output.Some other questions I had:
print_fs
with dir = "."
::
notation to the functions, so that it is easier to see where it comes from. (erum Workshop 😉 )full.names = TRUE
? Is the ralative path from dir not enough?DESCRIPTION
fileA declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.