ropensci-archive / alm Goto Github PK
View Code? Open in Web Editor NEW:no_entry: ARCHIVED :no_entry: R Client for the Lagotto Altmetrics Platform
License: Other
:no_entry: ARCHIVED :no_entry: R Client for the Lagotto Altmetrics Platform
License: Other
For the ../status endpoint
fix, send fix to CRAN next week
source
-> sourceid
publisher
-> publisherid
Right now, alm_events()
gives back lots of sources with no data potentially. Perhpas parameter to toggle giving back these empty sets or not. I guess with no data, just give back NA?
has wrong information about api keys
From kurt hornik
These have README.md files which when converted to (X)HTML using a
current version of pandoc show problems when validated using W3C Markup
Validator, see below.Most of these problems are caused by using images without giving a name
(so the required alt attribute for<img>
is not provided), or using<br>
instead of<br/>
.Pls fix these problems in your README.md files for your next release: in
all cases I inspected, the fixes were obvious and confirmation using
pandoc and W3C markup validator seemed unnecessary.Please also visit your package check web page at http://cran.r-project.org/web/checks/check_results_PACKAGENAME.html to see if other problems need to be addressed as well.
API key generation has been integrated into the ALM application in release 2.8. For PLOS it means going to http://alm.plos.org, and signing in via your PLOS accounts.
Other installations of the ALM application might use Mozilla Persona or Github OAuth as signin options.
From Kurt Hornik
These seem to include packages not in the mainstream repositories in
their Suggests or Enhances. For such cases, the CRAN Repository Policy
now saysPackages on which a CRAN package depends should be available from a
mainstream repository: if any mentioned in Suggests or Enhances fields
are not from such a repository, where to obtain them should be
mentioned in the Description field of the DESCRIPTION file.Pls check that your package meets this requirement, and if not provide
the necessary updates.$
alm ([email protected])
[1] "rCharts"
need for speed 🚤
Now source
only takes one type as an input.
Change docs and throw warning for this
These packages contain README.md files with invalid HTML output created
by pandoc 1.12.4.2 according to W3C-validator.
I attach the HTML errors and warnings found below, and will put copies
of the corresponding HTML files up at
http://www.r-project.org/nosvn/pandoc.
Please investigate the problems and fix as needed.
Afaics, many of the problems are caused by adding "raw" HTML elements in
the README.md files and not realizing that the default output format
"html" is XHTML 1 (and not HTML 5). E.g., a raw
results in an
end tag for "br" omitted, but OMITTAG NO was specified
error.
Best
-k
alm.html:
Valid: FALSE (errors: 1, warnings: 0)
Errors:
line col message
430 98 required attribute "alt" not specified
see also #22
Crossref seems to work out of the box: https://gist.github.com/sckott/9192541
Make sure things are all working as expected, Add some tests for crossref specifically, etc.
Something like events on this page http://alm.plos.org/sources
ggplot2 now imports and exports
unit()
andarrow()
from grid, and
alpha()
from scales. Many packages seem to have unused unqualified import
statements which now generates a warning on package install. (You could argue
that this is a false positive since the conflicting names both point to the
same object.). This affects:
but only since Lagotto version 3.12.7
, check for it being implemented in other instances, and make change once it's at least in crossref http://articlemetrics.github.io/status/
There's no longer a signposts slot in data output from Lagotto applicatino, update fxn
and report from cran central...
fixign now.
Changes:
days
, months
, year
parametergroup
name with sources
viewed
, cited
, saved
, discussed
, recommended
data
object, there is an error
object with every responsee.g, call with new format:
http://almhack.crowdometer.org/api/v5/articles?api_key=cBYJpjzC5fNwmvVJPJeE&source=mendeley&order=mendeley
/data/Repositories/CRAN/web/packages/alm/README.html:
Valid: FALSE (errors: 1, warnings: 0)
Errors:
line col message
431 98 required attribute "alt" not specified
Because the order of elements input to the query are not preserved in the returned response. This could lead to huge problems if users assume that the order is the same.
...
Add rows parameter, call it per_page
. And add page
parameter, called page
.
Only used i think when only source
parameter used so that the user is essentially querying ALM data based on the type of source alm data, in which case paging takes effect (50 max), and then per_page
param comes in.
May want to create a separate fxn for this, hmmm
...not sure when this is coming...
Directory 'vignettes' has been the preferred location for vignette sources since 2.14.0 (long before non-Sweave vignettes were supported) and will shortly become obligatory. They will not be recognized as having vignettes in future, so need to be updated now to use a 'vignettes' directory.
gone in v6
base url http://alm.plos.org/api_requests
alm(mdid="35791700-6d00-11df-a2b2-0026b95e3eb7")[,-c(6:8)]
Error : client error: (404) Not Found
NULL
martin says a new version is upcoming, to go live at least with plos service at end of april
api docs http://labs.lagotto.io/api
running on labs.lagotto.io and software.lagotto.io so far
Passes its tests for me as well, but I see
Suggests or Enhances not in mainstream repositories:
rCharts
and
* checking R code for possible problems ... NOTE
plot_signposts: no visible global function definition for ‘nPlot’
Can you pls fix the latter as necessary. For the former, the Policy has
Packages on which a CRAN package depends should be available from a
mainstream repository: if any mentioned in Suggests or Enhances fields
are not from such a repository, where to obtain them should be
specified in the Additional_repositories field of the DESCRIPTION file
as a comma-separated list of repository URLs.
So pls fix accordingly.
Right now they just return the raw data as a list.
These have Suggests or Enhances in non-mainstream repositories as listed
below. The CRAN Policy has
Packages on which a CRAN package depends should be available from a
mainstream repository: if any mentioned in ‘Suggests’ or ‘Enhances’
fields are not from such a repository, where to obtain them at a
repository should be specified in an ‘Additional_repositories’ field
of the DESCRIPTION file (as a comma-separated list of repository URLs)
or for other means of access, described in the ‘Description’ field.
(where in any case, the packages mentioned should be available for
installation using the standard R package management tools).
Can you pls update your packages accordingly?
Ideally, all Suggests or Enhances in non-mainstream repositories would
be available from repositories in Additional_repositories fields. In
most cases, the mentioned packages seem to be available from either
R-Forge or Omegahat, so updating is straightforward.
Fix it
Seems not to return that right now, weird
A 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.