安装包装的柯西和冯·米斯分发

时间:2019-11-20 09:34:43

标签: r sta

我使用代码:

axios.all([doStuff()]).then(axios.spread((resp) => {
  var promises = []
  var resp = resp.data.content;
  var items = resp.items.slice(0, 1);
  items.forEach(item => {
      var dataUrl = item.url.split('/v2/').slice(1).join('');
      var promise = doOtherStuff();
      promises.push(promise);
  });

  Promise.all(promises).then(finalCallback).then(resp => {
    fillTemplate(resp.data.content[0].xml);                   
  });
}));

function doStuff() {
  return axios.get('https://foo..', {
    headers: { 'Content-Type': 'application/json' },
    data: { 'endpoint': 'v2/bar..' },
  });
}

function doOtherStuff() {
  return axios.get('https://foo..', {
    headers: { 'Content-Type': 'application/json' },
    data: { 'endpoint': 'v2/' + dataUrl + 'bar..' }
  }
}

function finalCallback(results) {
  return axios.get('https://foo..' + pageNum.toString(), {
    headers: { 'Content-Type': 'application/json' },
    data: {}
  });
}

但该库不适用于install.package (c=("circular","wrapped")) library(wrapped)

我需要下载具有R 3.6.1library(wrapped)的R

0 个答案:

没有答案